If you are an ABAP developer, I am sure that you experienced this problem on some point or another. You call the function REUSE_ALV_GRID_DISPLAY and make it editable to have some user input. However; after the user makes some modifications and hits a button, the modifications aren’t reflected to your internal table.
This (so-called) bug doesn’t appear in ALV LIST, only GRID. The reason is; ALV Grid expects you to pass an additional parameter to reflect changes to your internal table. Here is a sample:
DATA:
is_grid TYPE lvc_s_glay.
(…)
is_grid-edt_cll_cb = ‘X’.
(…)
CALL FUNCTION ‘REUSE_ALV_GRID_DISPLAY’
EXPORTING
i_grid_settings = is_grid
(…)
I thank Doğan Tacikayan for this tip =)
Leave a Reply