‎2011 Mar 24 1:19 AM
Hi,
Is it possible to create a variant in a module pool? i have screen created for it and my requirement is that it can save a variant. I have found FM's but it works on a report program. Anyone does this before? please help.
Thanks!
‎2011 Mar 24 2:47 AM
Hi Akira,
Variants can be created for programs with selection screens.
For a module pool you can use FM'S
RS_CREATE_VARIANT
RS_CHANGE_CREATED_VARIANT
RS_RWSET_CREATE_VARIANT
Steps:
1. ABAP editor -> Enter program name
2. GOTO -> Variants
3. Choose Create
4.If the program has more than one selection screen, a dialog box appears in which you can assign the variant to one or more screens.
5.The dialog box does not appear if the program only has one selection screen. In this case, the selection screen of the program appears straight away.
You can also refer to link: http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/frameset.htm
Regards,
Kishore