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: 

How to pass changes made in ALV_GRID to

Former Member
0 Kudos

Hi ,

please, there is an easy way to save in my Z db table the changes (insert row, modification and deleted row) made to an ALV_GRID (OO techique) . I'm using the "call method r_grid->check_changed_data" in PAI (in order to have my internal table changed with the modification). The next step is to pass these changes to DB table ! But How ??

Thanks in advance

Andrew

1 REPLY 1

uwe_schieferstein
Active Contributor
0 Kudos

Hello Andrew

A simple approach would be to store a PBO image of your data and compare it with the PAI image.

For a possible solution you may have a look at the Wiki:

[Comparing Two Internal Tables - A Generic Approach |http://wiki.sdn.sap.com/wiki/display/Snippets/ComparingTwoInternalTables-AGeneric+Approach]

Regards

Uwe