on 2020 Mar 14 3:43 AM
Request clarification before answering.
Hi
You call the following function to refresh your grid - and then you can check for the chkbox value as X and quantity > 0 in the loop of that internal table
DATA: e_grid TYPE REF TO cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = e_grid.
CALL METHOD e_grid->check_changed_data.
"update_alv_tab
CALL METHOD e_grid->refresh_table_display.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Calling GET_GLOBALS_FROM_SLVC_FULLSCR is useless in the context of the question, because the OP says he's using CL_GUI_ALV_GRID already. This function module is useful only if you use REUSE_ALV_GRID_DISPLAY, CL_SALV_TABLE and so on.
The second part is correct (CHECK_CHANGED_DATA) because it transfers the edited values from the frontend to the internal table selected for display (SET_TABLE_FOR_FIRST_DISPLAY).
The third part is useless too (REFRESH_TABLE_DISPLAY) because it's just used to transfer changes (calls to various CL_GUI_ALV_GRID methods) to the frontend.
User | Count |
---|---|
54 | |
6 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.