‎2007 Jul 24 4:39 PM
Hi,
I am displaying few fields as output using ALV grid display but once i hide few fields on the selection screen no_out and tech field of the field catalogue is not getting updated as 'X'...
what can be the reason..
points for sure..
Regards
Gunjan
‎2007 Jul 24 5:49 PM
‎2007 Jul 24 5:56 PM
Your field catalog will not get updated when you change the layout online. You have to explicitly use REUSE_ALV_LIST_LAYOUT_INFO_GET to get the current layout information and then use REUSE_ALV_LIST_LAYOUT_INFO_SET to set it.
‎2007 Jul 24 5:58 PM
If you want to hide a particular column from display, then just mention no_out = 'X' for that particular fieldcatalog record. e.g if your fieldcatalog is i_fieldcat, then
just add the following line to the column which you want to hide:
i_fieldcat-no_out = 'X'.
Please reward the helpful entries.
Regards,
Raman.