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 Variant

Former Member
0 Likes
1,025

Hi All,

I am creating a dynamic selection screen using FM FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG. The screen created is a Subscreen.

I want to save varaint for tis screen .

Can anyone please help me to do tis.

It will be help full if some 1 provides a sample code ....

Thx a lot

Regards

Chetan...

Will reward points to help full ans.

Message was edited by:

chetan gavi

5 REPLIES 5
Read only

former_member194669
Active Contributor
0 Likes
774

I think this is not possible. selection variable are created at runtime if we are using FREE_SELECTIONS.

aRs

Read only

Former Member
0 Likes
774

Hi Chetan,

Please use the below mentioned function modules it might help you.

RS_VARIANT_CONTENTS

RS_VARIANT_CONVERT_TO_DYNAMIC

RS_VARIANT_COPY

RS_VARIANT_DELETE

RS_VARIANT_DEL_ALL_CLIENTS

RS_VARIANT_DISPLAY

RS_VARIANT_DISPLAY_FROM_SELSCR

RS_VARIANT_DISPLAY_SUBSCREENS

RS_VARIANT_EXISTS

RS_VARIANT_FETCH

RS_VARIANT_FOR_ONE_SCREEN

RS_VARIANT_IDELETE

RS_VARIANT_INCONSISTENT_SLIN

RS_VARIANT_INFO

RS_VARIANT_LIST

RS_VARIANT_LIST_TSTC

Regards,

Iff

Note: Please reward suitable answers.

Read only

Former Member
0 Likes
774

hi

good

your question is quite confising,if you dont want to save your variant for the dynamic selection screen,than it would be better if you wont save your selectioin screen value,variant creates when you save your selection screen value.

http://sap.ittoolbox.com/code/archives.asp?i=10&d=3038&a=s

thanks

mrutyun^

Read only

0 Likes
774

Hi ,

I need to save a single variant for the screen and subscreen created.......

mrutyun : Thanks for the code it was helpfull but

The example provide does nt provide any light on saving varaint..

Can any one pls help

Thks for ur help

regards

Chetan....

Read only

0 Likes
774

Hey Champs ....

Pls help