2006 Jul 05 4:51 AM
Hi All,
Can we get the name of the vairant used while executing the report???
Thanks
2006 Jul 05 5:03 AM
2006 Jul 05 4:59 AM
use table ..
<b>VARI</b> - ABAP/4: Variant storage (similar to INDX)
2006 Jul 05 5:03 AM
2006 Jul 05 5:10 AM
You can get the name of variant using this code.
data : begin of i_variant occurs 0,
variant type variant,
end of i_variant.
select variant
from VARI
into table i_variant
where report = sy-repid.
2006 Jul 05 5:15 AM
Hi,
Refer the table VARI,
Pass the program name and get the variant from this table.
The field CLUSTD will also give you the variant contents.
Regs,
Venkat Ramanan N