‎2007 Jun 06 1:10 AM
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
‎2007 Jun 06 3:43 AM
I think this is not possible. selection variable are created at runtime if we are using FREE_SELECTIONS.
aRs
‎2007 Jun 06 4:36 AM
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.
‎2007 Jun 06 4:45 AM
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^
‎2007 Jun 06 3:47 PM
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....
‎2007 Jun 11 7:04 PM