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: 

ALV GRID track updated row

Former Member
0 Kudos
57

Hi ,

Please help me to solve this problem.

After ALV grid has been displayed(From internal table ITAB), i am going to switch in editable mode and than make some changes in any row.

My question is how to track those changes or how to find the rows which have been updated using OOPS concept.

Thanks,

Regards,

Mayatra

1 ACCEPTED SOLUTION

former_member223537
Active Contributor
0 Kudos
37

Hi,

The user needs to click a button, once the enters/modifies the ALV values.

Handle the event of the button & use

i_old = i_output. "Move previous data into another internal table.

CALL METHOD g_grid->check_changed_data.

now i_output will have new data.

compare i_output & i_old for the editable fields.

Best regards,

Prashant

2 REPLIES 2

former_member223537
Active Contributor
0 Kudos
38

Hi,

The user needs to click a button, once the enters/modifies the ALV values.

Handle the event of the button & use

i_old = i_output. "Move previous data into another internal table.

CALL METHOD g_grid->check_changed_data.

now i_output will have new data.

compare i_output & i_old for the editable fields.

Best regards,

Prashant

0 Kudos
37

HI PRASHANT,

Thanks for your answer, but my problem is not solved.

could you please explain whole code.

Thanks.

Regards,

Virat