Skip to Content

Need help to determine display columns from WDA alv settings


We need help in determining the display columns from personalization settings of webdynpro abap alv programmatically based on this custom export to excel will be build on.

Is there any method to get the hidden or displayed columns of the webdynpro Abap ALV settings.



Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Sep 21, 2010 at 05:19 AM


    In the alv configuration model class i.e. cl_salv_wd_config_table class you have column settings interface (if_wd_column_settings).

    Refernce to CL_SALV_WD_CONFIG TABLE can be got using GET_MODEL method of SALV_WD_TABLE interface controller.

    Using the column settings interface get the columns using GET_COLUMNS method.

    Now loop at the columns and check whether the column is cisbile or not using GET_VISIBLE method. If visible add the column name to the visible columns list and use this for custom export to excel code.



    Add comment
    10|10000 characters needed characters exceeded