Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPCALL_TRANSACTION_AUTHORITY - CALL TRANSACTION AUTHORITY

ABAPCALL_TRANSACTION_AUTHORITY - CALL TRANSACTION AUTHORITY

CPI1466 during Backup   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

CALL TRANSACTION, AUTHORITY-CHECK

Short Reference



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

Additions

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 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 call is executed:

  • The authorization object S_TCODE.
  • Any authorization object specified 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 exists, a catchable exception of the class CX_SY_AUTHORIZATION_ERROR is raised.

Note

The use of the addition WITH AUTHORITY-CHECK is the recommended method of checking the authorizations of the current user. It replaces the preceding checks using the statement AUTHORITY-CHECK, the function module AUTHORITY_CHECK_TCODE, and checks that depend on the content of the DDIC database table TCDCOUPLES.

Addition 2

... WITHOUT AUTHORITY-CHECK

Effect

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

Notes

  • The addition WITHOUT AUTHORITY-CHECK indicates explicitly that no authorization check is necessary for the transaction call. It prevents 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 DDIC database table TCDCOUPLES is ignored.





SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.

Length: 3561 Date: 20221203 Time: 170747     sap01-206 ( 50 ms )