Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Variable that carries tcode in exit

MaryM
Participant
0 Kudos

Hello,

i would like to know if there is a variable in user exit that carries information about the tcode from which that exit has been triggered.

If you want to use the same exit for different tcodes, how to make that difference in code?

Thanks in advance!

MaryM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Use SY-TCODE which gives u the tcode from where it is triggered.

Regards,

2 REPLIES 2

Former Member
0 Kudos

Use SY-TCODE which gives u the tcode from where it is triggered.

Regards,

0 Kudos

Thanks!

Problem solved!