‎2008 Jan 24 9:48 AM
Hi,
I have created an ALV report using the class CL_GUI_ALV_GRID. The report has a toolbar which allows the layout of the report to be changed. But, it doesn't have any provision to save layouts. How do I enable this functionality?
Any help would be appreciated.
Thanks,
Divyaman
‎2008 Jan 24 10:02 AM
Hi,
while calling method grid1->set_table_for_first_display
pass parameter i_save = 'A'.
**********
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'ZCA0FCSTFTOP'
is_layout = grid_layout
is_variant = s_variant
i_save = 'A'
CHANGING
it_outtab = t_zca0fcstftop
it_fieldcatalog = fieldcat.
***********
regards,
vikas.
plz reward if helpful...
‎2008 Jan 24 10:02 AM
Hi,
while calling method grid1->set_table_for_first_display
pass parameter i_save = 'A'.
**********
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'ZCA0FCSTFTOP'
is_layout = grid_layout
is_variant = s_variant
i_save = 'A'
CHANGING
it_outtab = t_zca0fcstftop
it_fieldcatalog = fieldcat.
***********
regards,
vikas.
plz reward if helpful...
‎2008 Jan 24 10:22 AM