2019 Mar 06 3:14 PM
Hello SAP Gurus,
Do you know of any way to get the value of EVENT field for EVEN TYPE "TRANSACTION" in ABAP and Screen Stack shown in debugging mode? Please refer to the photo below.

Is it possible to get that value?
By the way, the scenario is, I have a transaction code "ZALDO_TEST2" which is a tcode set to call transaction code "ZALDO_TEST1" using a specific variant. It looks like this in SE93.

If this is possible, the logic will be applied inside ZALDO_TEST1's program.
2019 Mar 06 3:55 PM
To test ZALDO_TEST1:
IF SY-TCODE = 'ZALDO_TEST1'.To get ZALDO_TEST2:
IF CL_ABAP_SYST=>get_transaction_code( ) = 'ZALDO_TEST2'.
Hello SAP Gurus,
Do you know of any way to get the value of EVENT field for EVEN TYPE "TRANSACTION" in ABAP and Screen Stack shown in debugging mode? Please refer to the photo below.

Is it possible to get that value?
By the way, the scenario is, I have a transaction code "ZALDO_TEST2" which is a tcode set to call transaction code "ZALDO_TEST1" using a specific variant. It looks like this in SE93.

If this is possible, the logic will be applied inside ZALDO_TEST1's program.
2019 Mar 06 3:55 PM
To test ZALDO_TEST1:
IF SY-TCODE = 'ZALDO_TEST1'.To get ZALDO_TEST2:
IF CL_ABAP_SYST=>get_transaction_code( ) = 'ZALDO_TEST2'.
2019 Mar 06 4:55 PM
Thanks Sandra! I didn't know that it is this simple. This worked!