02-17-2009 6:42 AM
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
02-17-2009 6:55 AM
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
02-17-2009 11:58 AM
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.
02-18-2009 9:09 AM
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
02-19-2009 5:03 AM
hi,
use set_table_for_first_display method of class cl_gui_alv_grid for refreshing