Skip to Content
0
Jul 10, 2023 at 07:45 AM

How to get the Columns of Webdynpro ALV custom variants selected by users

315 Views Last edit Jul 10, 2023 at 07:46 AM 2 rev

Hi All,

we have a Webdynpro report where we have a custom button to download the ALV output to excel, so one thing we need to consider for this is the 'View' or variant that a customer may setup for themselves. So if they have selected their own variant then while downloading we need to only consider the columns that they have selected. I have been able to identify the variant selected by them onscreen using the IWCI_SALV_WD_TABLE and method GET_CONFIG_DATA. But I have been unable to then get the columns which are included in this variant and thus being able to reduce the output file to only those columns. Any input on how to achieve this would be helpful. Thank you