Step 1: add below region of code
data: lc_alv TYPE REF TO cl_gui_alv_grid.
CALL FUNCTION ‘GET_GLOBALS_FROM_SLVC_FULLSCR’
IMPORTING
e_grid = lc_alv.
CALL METHOD lc_alv->check_changed_data.
Step 2:
here you can loop at ALV internal table and get new data