SAP CALL TRANSACTION AUTHORITY ABAP Statements

Get Example source ABAP code based on a different SAP table
  



CALL TRANSACTION - AUTHORITY-CHECK

Short Reference


ABAP Syntax ... WITH|WITHOUT AUTHORITY-CHECK ...


ABAP Addition
1 ... WITH AUTHORITY-CHECK
2 ... WITHOUT AUTHORITY-CHECK

What does it do? These additions control the authorization checks when the statement CALL TRANSACTION is executed.



Latest notes:The statement CALL TRANSACTION when used without
specifying one of the additions WITH AUTHORITY-CHECK or WITHOUT AUTHORITY-CHECK is obsolete.
• WITH AUTHORITY-CHECK CALL TRANSACTION

ABAP Addition

What does it do? 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).

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



Latest notes: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 .
• WITHOUT AUTHORITY-CHECK CALL TRANSACTION

ABAP Addition

What does it do? If this addition is specified, the authorization of the current user is not checked when the called transaction is executed.

Latest 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.

Return to menu