Ansicht
Dokumentation
ABAPCALL_TRANSACTION_AUTH_CHECK - CALL TRANSACTION AUTH CHECK
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
Security note for CALL TRANSACTION
Notes
The authorization for starting a transaction initially checks if the caller is actually authorized to
start the transaction. So that the caller can start a transaction, the authorization object S_TCODE
must be entered in the user master. Afterwards the system checks the authorization assigned to the transaction called in transaction SE93.
If you use CALL TRANSACTION,
the calling transaction itself normally checks if the authorization to start the transaction exists. In this case, an authorization check for the transaction called does not make sense.
If the check is not performed by the transaction itself, you must program the check. To do this, insert
the following lines before the CALL TRANSACTION statement:
Example
DATA: tcod LIKE sy-tcode.
CALL FUNCTION 'AUTHORITY_CHECK_TCODE'
EXPORTING
TCODE = tcod
EXCEPTIONS
OK = 0
NOT_OK = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
MESSAGE E172(00) WITH tcod.
ENDIF.
Related
If you use LEAVE TO TRANSACTION, the authorization to start the transaction is checked.
CL_GUI_FRONTEND_SERVICES - Frontend Services Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 2060 Date: 20240508 Time: 013217 sap01-206 ( 33 ms )