2007 Feb 14 9:41 AM
How can I programmatically default a column to be hidden in ALV? But user can choose the field to be shown when he/she changes the layout of grid display.
Thanks!
2007 Feb 14 9:44 AM
hi
check for the hide field in the field cat.
U would have to set
wa_fieldcat-no_out = 'X'.
This will help achieve your requirement.
Deepak
2007 Feb 14 9:44 AM
hi
check for the hide field in the field cat.
U would have to set
wa_fieldcat-no_out = 'X'.
This will help achieve your requirement.
Deepak
2007 Feb 14 9:44 AM
2007 Feb 14 9:56 AM
in the fieldcatalog structure there is one field NO_OUT pass 'X' to that field.
wa_fcat-row = 1.
wa_fcat-....
wa_fcat-....
<b>wa_fcat-no_out = 'X'.</b>
append wa_fcat to it_fcat.
Ramesh.
2007 Feb 14 10:02 AM
hi gundam,
what happened to my answer , i gave the answer before Deepak, he gave the wrong answer first???