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

Variant calling in the report program.

Neslinn
Participant
0 Likes
622

Hi,

I got a report program to be called using the submit statement mentioned below.

SUBMIT... [USING SELECTION-SET <var>].

The Variant is saved in the Tcode. How can i get the Variant programatically rather than harcoding the variant name?.i mean any table it will be stored or any Function module available?.

The variants are stored in the TVARV table, but still i need to pass the variant name to get the entries from the table.Any other alternative.

Thanks,

Neslin.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
576

Check the table VARID, query on the table and find the variant related to the program.

3 REPLIES 3
Read only

Former Member
0 Likes
577

Check the table VARID, query on the table and find the variant related to the program.

Read only

0 Likes
576

Hi Vijay,

In the table i find a possibility of getting multiple variants for a single report pgm name. any way to get a unique variant..

Thanks,

Neslin

Read only

Former Member
0 Likes
576

You can also use the RS_VARIANT* FM's like 'RS_VARIANT_DISPLAY' 'RS_VARIANT_LIST'