Application Development 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: 

Interactive ALV

former_member650792
Participant
0 Kudos

HI,

i wrote code for interactive alv using classes. first time when i double click on particular entry in basic list i am getting secondary list properly. from second time if i double click on another record in basic list, i am getting pevious secondary list.how can i resolve it?

vr

4 REPLIES 4

uwe_schieferstein
Active Contributor
0 Kudos

Hello Venkey

You may have a look at my sample report ZUS_SDN_TWO_ALV_GRIDS_2SCR in thread

Most likely your problem is that you do not refresh the display of the second ALV list.

Regards

Uwe

Former Member
0 Kudos

Hi!

you need to use

refresh_table_display method

this method is to refresh the output table in the grid control.

This is necessary if you change the display of the data by means of methods or if you want to display new data selected in the same ALV Grid Control.

Former Member
0 Kudos

hi,

every time you are creating the instance ,put the condition before creating the instance,

if grid is intial only create the instance.

regards,

rakesh

Former Member
0 Kudos

hi,

use set_table_for_first_display method of class cl_gui_alv_grid for refreshing