Skip to Content

Custom export outputs for ALV using CL_GUI_ALV_GRID

Hi,

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.

Thanks,

Shrinivas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers