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: 

How to refresh ALV- Grid in OO

Former Member
0 Kudos

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?

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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