Application Development and Automation 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: 
Read only

Variable that carries tcode in exit

MaryM
Participant
0 Likes
430

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
Read only

Former Member
0 Likes
402

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

Regards,

2 REPLIES 2
Read only

Former Member
0 Likes
403

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

Regards,

Read only

0 Likes
402

Thanks!

Problem solved!