Hi,
I have a custom t-code ZDP91 which is a copy of SAP Std t-code DP91.
There is a user exit AD010007 which is called in DP91.
Now ZDP91 internally calls DP91 so the variable SY-TCODE always contains value DP91.
But the problem is I have to trigger this user exit only in t-code ZDP91.
Can somebody please help me in finding a way to differentiate between the above two t-codes?
Regards,
Swapnil.