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

Selection screen variant default value

premal_mistry2
Active Participant
0 Likes
692

Hi,

I have a hidden parameter defined of type sy-slset to store the current selected variant. Now how do i make sure that this parameter will contain the actual variant name now matter whether the program is executed in background or foreground.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
508

Hi Premal,

when you run the program in background using SM37 the dynamic varint will get created.

You might have storing the variant in the custom table.

First you maintain the entry for the particular vairant in the custom table.

Then you run the program in background using TCode- SM36 for the particular variant.

The particular fields for the variant will get maodified in th custom table.

Hope this will solve your issue.

2 REPLIES 2
Read only

Former Member
0 Likes
509

Hi Premal,

when you run the program in background using SM37 the dynamic varint will get created.

You might have storing the variant in the custom table.

First you maintain the entry for the particular vairant in the custom table.

Then you run the program in background using TCode- SM36 for the particular variant.

The particular fields for the variant will get maodified in th custom table.

Hope this will solve your issue.

Read only

0 Likes
508

Is there any function module which will return the actual variant name selected while running program in background mode... instead of &0000000006 .. that we see in SM37.