04-21-2009 10:47 AM
Hello,
we need to know name of the variant when we debug the report program selecting the variant from the list of the variants. please let us know any structure or field name storing the variant name.
Thanks in advance,
Amish.
04-21-2009 11:07 AM
hi
use the system field sy-slset.
Regards,
Jayarama kumar
Edited by: Jaya rama kumar V.V.S Rapeti on Apr 21, 2009 12:09 PM
04-21-2009 10:50 AM
Hello,
You can check the table TVARV (Table of variables in selection criteria). It containes the varaint values.
Also the system field 'SLSET' in the structure SYST stores the varaint name.
Edited by: SAP USER on Apr 21, 2009 11:51 AM
04-21-2009 10:51 AM
04-21-2009 10:55 AM
Hi
Use this one
PARAMETERS: VARIANT LIKE DISVARIANT-VARIANT.
using this parameter you can find it out which variant you are using.
04-21-2009 11:07 AM
hi
use the system field sy-slset.
Regards,
Jayarama kumar
Edited by: Jaya rama kumar V.V.S Rapeti on Apr 21, 2009 12:09 PM
04-21-2009 11:23 AM
Hi,
Table VARIS would give you the variants per program and the
following FM can be used to get the details of the variant.
RS_VARIANT_CONTENTS_RFC
Hope it helps
Regards
Mansi