04-26-2006 1:05 PM
Dear All,
Pls. let me know how to create DYNAMIC VARIANTS.
If you provide step by step procedure, it will be very helpfull to me...
Thanks a lot,
CR
04-26-2006 1:08 PM
Hi,
Use these functions according to your needs.
RRS_MAINTAIN_ALL_VARIANTS
RRS_VARIANT_CREATE
RRS_VARIANT_DELETE
RRS_VARIANT_DISPLAY
RRS_VARIANT_F4
RRS_VARIANT_LIST
RRS_VARIANT_MAINTAIN
You can also look at function group SVAR where there are quite few functions for the same.
Regards,
Ravi
Note :Please mark the helpful answers
Message was edited by: Ravikumar Allampallam
04-26-2006 1:08 PM
Hi,
Use these functions according to your needs.
RRS_MAINTAIN_ALL_VARIANTS
RRS_VARIANT_CREATE
RRS_VARIANT_DELETE
RRS_VARIANT_DISPLAY
RRS_VARIANT_F4
RRS_VARIANT_LIST
RRS_VARIANT_MAINTAIN
You can also look at function group SVAR where there are quite few functions for the same.
Regards,
Ravi
Note :Please mark the helpful answers
Message was edited by: Ravikumar Allampallam
04-26-2006 1:10 PM
Hi
Dynamic varaints possible in 2 ways.
- Dynamic declaration by System defined variables
- Dynamic declaration by custom defined variables
the first one is defined by the variant management screen. The second one is defined using STVARV and STVARC tcode.
In STVARV you define a variable which will be available as drop down in the varaint management screen.
Hope this helps
Cheers
04-26-2006 1:46 PM
Hi ALL,
Still I didn't get the information on Dynamic Variants..
If any one known about this pls. let me know.
Thanks,
Ranjan
04-26-2006 1:32 PM
Hello KC,
I am assuming u are asking abt how to populate the variants dynamicall!!.
There are probalably two ways..
1. When u are creating variants in any program u can save them. Enter name and description. If the variable is date field then select checkbox under L(selection variable) and then click on D it will u to select varaibles which are automatically populated.
2. U can assign variable to the screen field and then update the variable through another program.
04-26-2006 1:50 PM
hi,
Please follow these steps:
1. Enter the values in the selection screen
2. Save the variant using the SAVE button
3. In the next screen for the date variable select the 'Selection variable' checkbox (L) and click on the button 'Selection variable' in the toolbar.
4. Now you will see this variable in the next screen with 3 types of buttons. Click on the middle button (ie. D - Dynamic date calculation).
5. Click on the down arrow button and select the option 'Current Date'.
6. Save the variant.
Regards,
Sailaja.
12-19-2006 9:57 AM
04-26-2006 1:57 PM
Hi,
If you want to create a variant from a program dynamically, you can use the FM RS_CREATE_VARIANT. To this FM, you need to pass CURR_REPORT with Sy-repid, CURR_VARIANT with variant name , VARI_DESC with description and VARI_CONTENTS with selection field details.
hope this is helpful to solve ur problem.
Best Regards,
vijay