on 09-20-2010 4:13 PM
Hi,
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.
Thanks
Sathish
HI,
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.
Regards,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.