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: 

RS_VARIANT_CONTENTS - Message Error : "Obsolete variants".

joo_gaia
Explorer
0 Kudos

Hi

I need to obtain the content of all the variants of a program.

I am using the FM RS_VARIANT_CONTENTS, but it is returning a message error ==> "Obsolete variants".

It is because the program was changed.

Please, advise how can I obtain the content of the variants? Is there another FM? The field CLUSTD of VARI table has the RAW type, thus I can not read it using SE11 or SE16 transactions.

Thanks in advance.

Joao Gaia

2 REPLIES 2

gilmarluiz_puntel
Active Participant
0 Kudos

Hi João:

To rescue the obsolete variants, use the program RSVARDOC_610 (ECC 6.0) and RSVARDOC (4.6C) - both by transaction SE38.

The best way to get the values is using the FM.

SAP uses a dynamic wat to find the values.

Hope this be helpful.

Regards.

0 Kudos

Hi,

Just pay attention to the fact that this FM only returns 45 first characters of parameters/select-options... (which leads to problem especially with filepath)

Best regards,

Guillaume