Skip to Content
0
Former Member
Jun 03, 2009 at 07:48 PM

layout selection in ALV grid.

40 Views

Hi All,

I have one requirement to change the existing program. Currently it is displaying all the fields in the ALV grid. Now i need to make the selection screen with two options for Header data selection and Item data selection. So now if I select the Header data only to be displayed (in the coding I made the changes in the field catalog and hidded some fields using

WHEN 'FKART'

if p_header = 'X'.

<fc>-no_out = 'X'.

endif.

so now it should not display the FKART field in the output. My question is, If I select some different layout in the ALV GRID even this hidden header fields are also getting displayed. Please help me and give me the solution for this.

Regards,

AL.