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 variant issue with refresh_table_display method

SharathYaralkattimath
Contributor
0 Likes
987

I am calling several ALV's in a tabstrip with same data using a single instance of cl_gui_alv_grid, all the ALV's field catalog are different.

User has changed & saved a variant as default in one of the tabstrip & then he navigates to another tabstrip, when he returns to the previous tabstrip where he had saved a display variant, the ALV is not showing the default variant layout, but it is showing as per the field catalog.

I have tried using method like set_variant, set_layout, nothing is working. Anyone came across this problem?

Hi,

When user navigate from one tab to other every time refresh_table_display is call for data refresh , what I suggest use multiple instance of cl_gui_alv_grid so that different grid point to different memory which hold setting differently.

1 REPLY 1
Read only

SwadhinGhatuary
Active Contributor
0 Likes
693

Hi,

When user navigate from one tab to other every time refresh_table_display is call for data refresh , what I suggest use multiple instance of cl_gui_alv_grid so that different grid point to different memory which hold setting differently.