ABAP Keyword Documentation → ABAP − Reference → Calling and leaving program units → Calling Programs → Calling Transactions → CALL TRANSACTION → CALL TRANSACTION - standard
CALL TRANSACTION - AUTHORITY-CHECK
Other versions:
7.31 | 7.40 | 7.54
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:
- The authorization object S_TCODE
-
Any authorization object entered in the definition of the transaction code (transaction SE93). Fields of the authorization object for which no value is specified here are not checked.
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
-
The addition
WITHOUT AUTHORITY-CHECK
indicates explicitly that no authorization checks are required when the transaction is called. It suppresses the corresponding error message from the security test in the extended program checks. -
If the addition
WITHOUT AUTHORITY-CHECK
is specified, the content of the database table TCDCOUPLES is ignored.