简体   繁体   English

如何仅刷新 ALV 网格中修改过的行?

[英]How to refresh only modified rows in ALV grid?

I have task to refresh only modified rows in ALV grid.我有任务只刷新 ALV 网格中修改过的行。 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.我有同样的问题,但在我的场景中,我使用的是功能模块 REUSE_ALV_GRID_DISPLAY。 If i pass refresh command on FM it refresh whole grid display.如果我在 FM 上传递刷新命令,它会刷新整个网格显示。 So i solved it using user command "@REFRESH".所以我使用用户命令“@REFRESH”解决了它。 after making changes in internal table i called @refresh.在内部表中进行更改后,我调用了@refresh。 This help me solve issue of refreshing whole grid.这有助于我解决刷新整个网格的问题。 it refresh with only row which made changes.它只刷新进行了更改的行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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