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

Save and get variant using dialog program

Former Member
0 Likes
2,615

Hi All,

Kindly need your advise regarding save variant and load variant in dialog program. I have searched for the procedure to create variant, unfortunately, found that to create variant in module pool still need the selection screen which differ from my program requirement. I have a modal pool program as below:

and i want to save variants for check box and file path, is that possible to create it in modal pool program?

Your advise is really appreciated,

Regards,

Liyana

5 REPLIES 5
Read only

Chintu6august
Contributor
0 Likes
1,828

Hi,

you can use Function Module RS_VARIANT_ADD to save variant.

then get variant name from VARID table and then use RS_VARIANT_CONTENTS to get variant contents.

thanks!!

Read only

0 Likes
1,828

USE BELOW FM

RS_VARIANT_SAVE_FROM_SELSCREEN

RS_VARIANT_SCREEN

RS_VARIANT_LIST

Read only

former_member241258
Active Participant
0 Likes
1,828

for more details

got function group  SVAR

Read only

Former Member
0 Likes
1,828

This message was moderated.

Read only

0 Likes
1,828

Thanks Joshua,

I've go through the link, but that one still need to create a selction screen for the main screen, it different from my requirement.