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: 

Values of select-option in various variants

Former Member
0 Kudos

Hi all,

does anybody know a report to determine the values of a specific select-option in various variants of a program?

I know the function module RS_VARIANT_CONTENTS to get the values of select-options in one variant of a program (TABLES-parameter VALUTAB), but I need it for many variants (like a prgram which calls the function module for all variants of a program).

Does anybody know a possibility?

Thanks

Daniel

4 REPLIES 4

kesavadas_thekkillath
Active Contributor
0 Kudos

Pass the program name to table VARID field REPORT. This will list you all the variants. You can use this list with the function you mentioned.

0 Kudos

I don't want the variants to one report, I want to know the values of select-options in various variants of one report!?

0 Kudos

Get the list of variants from the table VARID. then pass each varinat to the function you mentioned. Then compare the select option field from the output.

ThomasZloch
Active Contributor
0 Kudos

You will probably have to write your own code for this. You could still check the where-used-list of RS_VARIANT_CONTENTS (or related function modules in the same function group) to see if there is any available standard program for your purpose.

If you find one, please let us know here in this thread.

Thomas