Skip to Content
0
Former Member
Nov 20, 2007 at 10:58 AM

Refresh ALV with new layout variant from initial screen

135 Views

I have an option to choose my required layout from initial screen to display the ALV on next screen. Till here, its executing fine.

Issue:

But when I come back from screen 2 to screen 1 and change the layout variant to some other value and try to execute, I ALV is displayed with the first layout variant only.

When I come back, I am refreshing the container, ALV Grid and variant variable also.

Thus when I see my passing parameters values to method set_table_for_first_display, I can see that latest (changed) variant is being passed. But why is it still executing with the first variant.

Any clues?

Thanks

Kiran