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: 

Edit an alv grid

adel_adel
Participant
0 Kudos

Hi All,

I have designed an editable alv grid (lets say with 2 columns: Article number and price.

the column price is editable).

I have now the following requirement/questions:

1. When the user edit the price of an article :

By pressing SAVE : the data had to get stored on table A in the database.

Is there any method to know wich rows are changed ?

2. After editing : the difference between the new price and the new price wil be booked

on a table B in the database.

Is there any method to capture the initial/edited values ?

What is the easyst way to add a new button to a report using alv grid?

so that i have not only the save button but also a "Customer button".

Thanks in advance.

1 REPLY 1

former_member188685
Active Contributor
0 Kudos

>I have designed an editable alv grid (lets say with 2 columns: Article number and price.

>the column price is editable).

try to code then you will understand how to proceed. if you want to use the Editable grid then Just refer the programs BCALV_EDIT_01 to BCALV_EDIT_08 .

The programs covers various functionalities of ALV Editable Grid.