03-01-2007 9:51 AM
Hai I am workig with ALV Grid..
I prepared the fieldcatlog...it has 10 entries..
when the list is displayed in the grid..Is it possible to hide a perticuler column...
like i need to hide 5th position col header...
Is is possible...if so how ...Please give me the solution
Thanks,
Srikanth.J
03-01-2007 9:52 AM
try
ifieldcat-no_out = 'X'.
for the perticular column.
regards
shiba dutta
03-01-2007 9:53 AM
Hello,
Make the <b>FIELDCAT-NO_OUT = 'X'</b>
If useful reward.
Vasanth
03-01-2007 9:54 AM
Hi
Use
ifieldcat-no_out = 'X'.
for that perticular column.
Regards,
kumar
03-01-2007 9:55 AM
You can also delete field in fieldcatalog.
DELETE fieldcatalog where fieldname eq 'FIELD'.
03-01-2007 9:57 AM
hi,
WA_FIELDCAT-FIELDNAME = 'FIELD1'.
WA_FIELDCAT-NO_OUT = 'X'.
APPEND WA_FIELDCAT TO IT_FIELDCAT1.
CLEAR WA_FIELDCAT.
regards,
priya.
03-01-2007 9:58 AM
hi
please follow the below piece of code and prepare ur code:
w_fieldcat-col_pos = '1'. "Column no.
w_fieldcat-fieldname = 'KUNNR'. "Customer
w_fieldcat-seltext_m = 'Customer'. "Fieldcat description
w_fieldcat-no_out = 'X'. "Column 1 will not be displayed
append w_fieldcat to t_fieldcat.
clear w_fieldcat.
this solves the issue.
regards,
shamim