12-11-2013 11:41 AM
hi everyone,
I've an ALV grid (built using cl_gui_custom_container and cl_gui_custom_container) which display the PR for changing certain fields values of a particular PR which is selected, I'm able to get the row selected using the method ' get_selected_rows' but i'm not able to find the method which gets the changed value???
Regards,
Adarsh
12-11-2013 11:45 AM
Hello Adarsh
Use method CHECK_CHANGED_DATA of the class cl_gui_alv_grid. This will definitely help you.
Reagrds
Divye Aggarwal
12-11-2013 11:45 AM
Hello Adarsh
Use method CHECK_CHANGED_DATA of the class cl_gui_alv_grid. This will definitely help you.
Reagrds
Divye Aggarwal
12-11-2013 11:49 AM
Hi,
i think the changes are in the internal table wich you use in ALV.
Set a break-Point after changing and have a look in your internal table,
Hope it helps.
Regards, Dieter
12-11-2013 11:49 AM
Hi Adarsh,
check the method and internal table will automatically capture the changed values.
CALL METHOD REF_GRID->CHECK_CHANGED_DATA .
DATA: REF_GRID TYPE REF TO CL_GUI_ALV_GRID.
IF REF_GRID IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = REF_GRID.
ENDIF.
IF NOT REF_GRID IS INITIAL.
CALL METHOD REF_GRID->CHECK_CHANGED_DATA .
ENDIF.
12-11-2013 11:56 AM
thanks everyone,
CHECK_CHANGED_DATA works as per my need...........
regards,
Adarsh