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

Variants Creation for Dynamic Selection

Former Member
0 Likes
891

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...

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
Read only

RaymondGiuseppi
Active Contributor
0 Likes
758

Take a look at RS_VARIANT_VALUE_SAVE.

Regards,

Raymond

Read only

0 Likes
758

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

Read only

renandacosta
Explorer
0 Likes
758

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.

Read only

0 Likes
758

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