简体   繁体   中英

How to refresh only modified rows in ALV grid?

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?

在编辑模式下的DATA_CHANGED事件之外,不支持。

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM