Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

UNable to hide columns with CL_GUI_ALV_GRID

$
0
0

Hi. I am using CL_GUI_ALV_GRID to create an OO ALV and want some columns to be hidden as standard but available to users to select by changing the layout.

 

I have used the structure IT_FIELDCATALOG to set some columns NO_OUT to X but the columns still display.

 

I have also changed some field names in IT_FIELDCATALOG, and they have updated fine, so it is using my field catalog for some things but not others.

 

If I use the function module REUSE_ALV_GRID_DISPLAY then setting NO_OUT to X works fine, does anyone know what I am doing wrong in OO?

 

Thanks a lot for your help,

Dave.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>