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

how can i capture the variant name of the program

Former Member
0 Kudos
681

hi

how ca i capture the current variant name of program while in run time ,i want to display the variant name in the current program out put

like this program executed with variant 'test123'

i want run the program with variant test123 and want display in the out put of this program only

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
356

Try with System variable SY-SLSET

3 REPLIES 3
Read only

Former Member
0 Kudos
357

Try with System variable SY-SLSET

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Kudos
356

Hi,

Use system variable SY-SLSET from strucutre SYST.

Hope this helps you.

Regards,

Tarun

Read only

GauthamV
Active Contributor
0 Kudos
356

System variable SY-SLSET gives you variant name in runtime.

In general you can get those details from VARID table.