Skip to Content
0
Former Member
May 13, 2010 at 03:16 AM

Trigger user exit from custom t-code which is copy of std t-code

113 Views

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.