‎2008 Oct 08 7:14 AM
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.
‎2008 Oct 08 7:17 AM
Check the table VARID, query on the table and find the variant related to the program.
‎2008 Oct 08 7:17 AM
Check the table VARID, query on the table and find the variant related to the program.
‎2008 Oct 08 10:41 AM
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
‎2008 Oct 08 7:23 AM
You can also use the RS_VARIANT* FM's like 'RS_VARIANT_DISPLAY' 'RS_VARIANT_LIST'