2202914 - Getting Error 16367 EXECUTE AS OWNER procedures cannot be created by an alias or with the SETUSER command - SAP ASE | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2202914 - Getting Error 16367 EXECUTE AS OWNER procedures cannot be created by an alias or with the SETUSER command - SAP ASE

Symptom

Procedures created with the option "execute as owner" by a login with sa role and which reference objects in other databases give an error 16367 when executed by other users.

Msg 16367, Level 16, State 1:
Procedure 'XXXXXX':
EXECUTE AS OWNER procedures cannot be created by an alias or with the SETUSER command when the procedure has SQL statements that reference objects across databases. Create the procedure from a non-impersonated session.


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 15.7

Product

SAP Adaptive Server Enterprise 15.7

Keywords

16367 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , SAP Business Suite on Sybase ASE Database Platform , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.