How to refresh only modified rows in ALV grid?

9.3k views Asked by At

I have task to refresh only modified rows in ALV grid. I know that the grid is refreshed via method

 CALL METHOD l_grid->refresh_table_display
  EXPORTING
    is_stable      = ls_stbl
  EXCEPTIONS
    finished       = 1
    OTHERS         = 2.

But it refreshes the whole grid only.

Is there any method which allows to refresh certain grid lines?

2

There are 2 answers

1
vwegert On BEST ANSWER

Outside of the DATA_CHANGED event in edit mode, that is not supported.

0
user8680979 On

I have same problem but in my scenario, i was using function module REUSE_ALV_GRID_DISPLAY. If i pass refresh command on FM it refresh whole grid display. So i solved it using user command "@REFRESH". after making changes in internal table i called @refresh. This help me solve issue of refreshing whole grid. it refresh with only row which made changes.