11-25-2008 10:36 PM
Hello:
I would like to ask one favor, i am making a modul pool that with show information in a ALV container, i have already made that all the information appears on it, but now i would like to enter a new data (in the input field ) and show the new information i am not sure but i think i need to make a refresh to the ALV and GRID for erasing the previous information , i have been looking for but have not found how to do it?
Does anybody knows have to do this?
11-26-2008 1:11 AM
hi,
if you want to refresh your alv grid, you should try this method:
grid_object->refresh_table_display
but if you want to edit or add some data in the grid, and display it , in this case, you should first update your display internal table first.
Edited by: David,Liu on Nov 26, 2008 2:13 AM
11-26-2008 5:06 AM
Hi ,
use this method :
CALL METHOD g_alv_grid->refresh_table_display.
this refreshes the grid.
to display the latest updated value on the grid : insert the new record to the internal table and then
use this method. The new entry will appear on the grid
11-27-2008 3:39 AM
Hi,
data g_grid TYPE REF TO cl_gui_alv_grid.
CALL METHOD g_grid->refresh_table_display
* EXPORTING
* is_stable = i_stable.
* I_SOFT_REFRESH =
* EXCEPTIONS
* FINISHED = 1
* others = 2
.
Thanks,
Krishna