Application Development 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: 

How to save a variant?

Former Member
0 Kudos
12,011

how can i save a variant using abap codes?

james

6 REPLIES 6

Former Member
0 Kudos
1,610

Hi,

Try using this FM:

RS_CHANGE_CREATED_VARIANT .

RS_VARIANT_CHANGE .

RS_CREATED_VARIANT .

Regards,

Former Member
0 Kudos
1,610

James,

Where you want to save ? do u want to save ur input in ur own table! ?

ABAP Variant does the same thing.May i know the scenario ?

Rgds,

Jothi.P

0 Kudos
1,610

i want to save the variant so that i can use it in my selection screen.

Former Member
0 Kudos
1,610

Former Member
0 Kudos
1,610

Hi James,

To save variant on the selection screen follow this steps:

1. enter the data on the selection screen for which you want to create a variant.

2 click on SAVE button. Enter the Variant Name and other details asked.

3. after saving you can see another button of Variant on the toolbar where you can find the variant you created.

Former Member
1,610

Hi,

for saving variants to the selection screen,

1. Enter the values in the selection screen.

2. Click on the button GOTO.

3. Goto VARIANTS and click SAVE AS VARIANTS.

4. Write the name of variant and the meaning. It may be whatever u want to write.

5. Click the SAVE button.

6. Variant is created.

You can see the sign near the execution butoon on selection screen.

Reward points if helpful.

thanks