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: 

Variants Creation for Dynamic Selection

Former Member
0 Kudos

Hi all,

I need to create a variant from the program . i know that we can use FM RS_CREATE_VARIANT to create  a variant. but my problem is i am unable to create variant with free selections/Dynamic Selection .

can any one help me out how to create a variant with free selections via ABAP Report.

Thankz in Advance...

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

Take a look at RS_VARIANT_VALUE_SAVE.

Regards,

Raymond

0 Kudos

Hi Raymond,

Can you give sample program for same FM, as i tried but was not able to achieve desired result.

Thanks for your response..

Regards,

Chintan

renandacosta
Explorer
0 Kudos

Hello,

The FM 'RS_REFRESH_FROM_SELECTOPTIONS' returns the selections from a program screen.

Pass the internal table returned to vari_contents parameter from RS_CREATE_VARIANT.

Regards,

Renan Costa.

0 Kudos

Hi Renan Costa,

    Thanks for your Response.

   As per your suggested FM it gives only selection screen parameters,but i need Dynamic/free selection parameters also which i am not getting.

Regards,
Chintan