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

RS_CREATE_VARIANT

Former Member
0 Likes
1,512

Hi Experts ,

Please help in explaining how to use the FM RS_CREATE_VARIANT . What all values should be passed in this FM.My parameters name are of length more than 8 characters.

Thanks in advance.

Best regards,

Shital.

3 REPLIES 3
Read only

Former Member
0 Likes
855

Hi:

have a look

[Link|;

Regards

Shashi

Read only

Former Member
0 Likes
855

Check the FM documentation.

In case of importing parameters u need to pass all.. and 8 characters wont be a problem for program name coz its 40. for varaint name its 14 chars.

The tables parameters 'VARI_CONTENTS' wil have to be filled with the varinat contents.

Read only

Former Member
0 Likes
855

Hi,

This function module creates a variant using information from:

VARI_DESC (variuant description with the structure VARID)

VARI_TEXT (variant text: internal table with the structure VARIT)

You must specify the technical name and contents of the selection

fields in the table

VARI_CONTENTS (structure RSPARAMS).

Try using this:

Goto SE37

Type in the FM

Click "where used" icon

Look through SAP code yourself.

Edited by: Neenu Jose on Apr 15, 2009 10:20 AM