Skip to Content

Custom export outputs for ALV using CL_GUI_ALV_GRID

Dec 12, 2017 at 03:07 PM


avatar image


I have a requirement where I would like to hide certain columns only in the ALV (created using CL_GUI_ALV_GRID) export file (like Excel or CSV). These certain columns would need to be visible in ALV output but only hidden in the export file so setting the field catalog flag NO_OUT will not work. Also, for one of the columns, I need to custom encode the value so it appears different than original value.

How can this be done?

I am not sure if there is any setting within field catalog or ALV class method itself to do this. Is there any ALV event to capture the export button click and trigger manual file download?

Appreciate your suggestions on how this can be handled.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers