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

variant.

Former Member
0 Likes
612

i have know the name of the variant ,the filed that in the variant i also know,

but how to fill the values to the correspond filed of the variant ?

please help me?

thank you.

if you can't understand my meaning, you can add my msn:xiaomi84428@hotmail.com

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
584

Check some helpful function modules that start with

RS_VARIANT* in se37 and press F4.

Regards,

ravi

4 REPLIES 4
Read only

Former Member
0 Likes
585

Check some helpful function modules that start with

RS_VARIANT* in se37 and press F4.

Regards,

ravi

Read only

Former Member
0 Likes
584

Hello,

Make use of the FM



RS_VARIANT_DISPLAY

      CALL FUNCTION 'RS_VARIANT_DISPLAY'
           EXPORTING
                report  = con_sel_rep
                variant = g_vari.

If useful reward.

Vasanth

Read only

Former Member
0 Likes
584

Hi,

when u execute program whatever the values you want as a variant first take them in selection criteria and save it as variant.

Those values will be stored as variant whenever you execute the program.

thanks,

Madhuri

Pls reward me if it is useful.

Read only

0 Likes
584

you misunderstand my requirement. i need to code the variant in the programs.

use the abap to code the variant that fill the value to the filed of the variant .