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: 

variant.

Former Member
0 Kudos

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

former_member181962
Active Contributor
0 Kudos

Check some helpful function modules that start with

RS_VARIANT* in se37 and press F4.

Regards,

ravi

4 REPLIES 4

former_member181962
Active Contributor
0 Kudos

Check some helpful function modules that start with

RS_VARIANT* in se37 and press F4.

Regards,

ravi

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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 .