Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV report - SAving layout

former_member202335
Participant
0 Likes
477

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

1 ACCEPTED SOLUTION
Read only

VikasB
Active Participant
0 Likes
460

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...

2 REPLIES 2
Read only

VikasB
Active Participant
0 Likes
461

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...

Read only

0 Likes
460

Thanks Vikas,

that solved the problem!

Cheers,

Divyaman