Skip to Content
0
Former Member
Sep 15, 2005 at 10:00 AM

ALV - Hiding Field

45 Views

Hi All,

I have a simple report in which several fields are in internal table from which the first field i dont want to display. I am setting the value for NO_OUT = 'X'. Still it is displaying the field.

Code I used:

DATA : int_fcat TYPE slis_t_fieldcat_alv,

wa_fcat type slis_fieldcat_alv.

loop at int_fcat into wa_fcat.

CASE wa_fcat-col_pos.

when 1.

wa_fcat-no_out = 'X'.

endcase.

modify int_fcat from wa_fcat.

endloop.

Can anyone suggest me?? It would be very much helpful.

Thanks,

Jignesh