2010 May 13 4:16 AM
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.
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.
2010 May 13 5:01 AM
You can set a flag if the transaction is ZPD91 and export it to memory id. Import the same flag inside the userexit and depending upon the flag setting execute the code inside user exit.
Hope this will solve the problem.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |