‎2016 Jul 27 8:22 AM
Dear Sir,
We created a Transaction Variant ZMB1c for the standard SAP tcode MB1c . The Tcode assigned to this Transaction variant is ZMB1c .
In the user_exit , sy-tcode is showing the tcode as MB1c instead of ZMB1c . However , our requirement is to verify in User_Exit that whether the transaction used is ZMB1c . Kindly guide us , as how can we capture the actual tcode (in this case ZMB1c) in a user_exit .
With Regards
B Mittal
‎2016 Jul 27 9:13 AM
‎2016 Jul 27 8:42 AM
Hi Mittal,
Create data type in exit SHDTV-TCODE.
Data : LV_TCODE type SHDTV-TCODE.
IF LV_TCODE = 'ZMB1c'.
ENDIF.
now check this LV_TCODE it will read the Transaction variant ZXXX T-Code.
Regards,
E.Ananthachari.
‎2016 Jul 27 9:13 AM