09-04-2008 2:58 PM
Hello,
i have option chose variant on selection screen (REUSE_ALV_VARIANT_F4) and i need to get which fields (columns) are included in this variant - i need to get this restricted fieldcatalog according variant using FM. I need to save file only with columns included in particular variant.
Thx.
09-05-2008 3:53 PM
Hi Zdenek,
You can get the list of user variant by FM
call function 'LVC_VARIANT_F4'
You can get the details of the selected variant using FM
call function 'LVC_VARIANT_SELECT'
Please check the SAP example BCALV_GRID_11 program for the code.
Hope this helps.
Franc