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

Transaction Variants

Former Member
0 Likes
339

Hi ,

I have a Q in transaction variants. I have created one transaction variant for VA01

and this is attached to one transaction code.

I have used this tcode to run the transaction variant.I would like to capture this tcode in some user exit (of VA01) to check some condition. But when i check sy-tcode, it has the value VA01, not the tcode, which i have run.

Please let me know how to get the value of the tcode, which i have used to run the transaction variant.

Hi ,

I have a Q in transaction variants. I have created one transaction variant for VA01

and this is attached to one transaction code.

I have used this tcode to run the transaction variant.I would like to capture this tcode in some user exit (of VA01) to check some condition. But when i check sy-tcode, it has the value VA01, not the tcode, which i have run.

Please let me know how to get the value of the tcode, which i have used to run the transaction variant.

1 REPLY 1
Read only

Former Member
0 Likes
316

hi Jyothi,

It is not possible to track the customized tcode.

As the cust. tcode is just accessing the org. tcode and assigning of new screen variants.

If you check when u come back of cust. tcode it will go to the main tcode (ex: VA01) only .