ABAP - Keyword Documentation →  ABAP - Reference →  Calling and leaving program units →  Calling Programs →  Calling Transactions →  CALL TRANSACTION →  CALL TRANSACTION - standard → 

CALL TRANSACTION - AUTHORITY-CHECK

Quick Reference

Syntax

... WITH|WITHOUT AUTHORITY-CHECK ...

Extras:

1. ... WITH AUTHORITY-CHECK

2. ... WITHOUT AUTHORITY-CHECK

Effect

These additions control the authorization checks when the statement CALL TRANSACTION is executed.

Note

The use of the statement CALL TRANSACTION without one of the additions WITH AUTHORITY-CHECK or WITHOUT AUTHORITY-CHECK is now obsolete.

Addition 1

... WITH AUTHORITY-CHECK

Effect

If this addition is specified, the authorization of the current user to execute the called transaction is checked using the following authorization objects before the transaction is called:

If no authorization is found, a handleable exception of the class CX_SY_AUTHORIZATION_ERROR is raised.

Note

The addition WITH AUTHORITY-CHECK is the recommended method of checking the authorizations of the current user. It replaces checks using the statement AUTHORITY-CHECK, the function module AUTHORITY_CHECK_TCODE, and checks associated with the content of the database table TCDCOUPLES.

Addition 2

... WITHOUT AUTHORITY-CHECK

Effect

If this addition is specified, the authorization of the current user is not checked when the called transaction is executed.

Notes