SAP Knowledge Base Article - Preview

2202914 - 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 the sa role and which reference objects in other databases.
  • Receiving Error 16367 when these procedures are 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

permission, security, access , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , SAP Business Suite on Sybase ASE Database Platform , Problem

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.