HI experts,
I am using cl_gui_alv_grid to display data in ALV.
My requirement is to group columns so that in the layout I can select the grouped columns based on my requirement.
For suppose I have 20 fields....
I need few fields in one group, and few other fields in one group and few other fields in another group.
Finally in the layout I must be able to select the grouped columns.
How can I achieve this ?
BR,
Eshwar
Hi Eshwar,
In Structure lvc_s_fcat you have field name sp_group (Group Key ) which will solve your probelm
Ex:
data: ls_field_catalog type lvc_s_fcat.
move '0001' to ls_field_catalog-sp_group.
Regards,
Pavan
Add a comment