Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

get the values changed in ALV grid??

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello Adarsh

Use method CHECK_CHANGED_DATA of the class cl_gui_alv_grid. This will definitely help you.

Reagrds

Divye Aggarwal

4 REPLIES 4

Former Member
0 Kudos

Hello Adarsh

Use method CHECK_CHANGED_DATA of the class cl_gui_alv_grid. This will definitely help you.

Reagrds

Divye Aggarwal

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

thanks everyone,

CHECK_CHANGED_DATA works as per my need...........



regards,

Adarsh