CALL TRANSACTION - AUTHORITY-CHECK
7.31 | 7.40 | 7.54
... WITH|WITHOUT AUTHORITY-CHECK ...
These additions control the authorization checks when the statement
CALL TRANSACTION is executed.
The use of the statement
CALL TRANSACTION without one of the additions
WITH AUTHORITY-CHECK or
WITHOUT AUTHORITY-CHECK is now
... WITH AUTHORITY-CHECK
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.
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
... WITHOUT AUTHORITY-CHECK
If this addition is specified, the authorization of the current user is not checked when the called transaction is executed.
WITHOUT AUTHORITY-CHECKindicates 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-CHECKis specified, the content of the database table TCDCOUPLES is ignored.