Showing results for 
Search instead for 
Did you mean: 

Saving Data in ALV

Former Member
0 Kudos


I have a requirement in which I have to display data in ALV . After the ALV has been displayed , the user ahould be able to change data in ALV on screen and after he presses Enter , those changes should be reflected in internal table of program.

Please tell how to do that.



Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos


See this program

BCALV_EDIT_04 This report illustrates how to add and remove lines to a table using the ALV Grid Control and <b>how to implement the saving of the new data</b>.

Thanks & Regards,


Active Contributor
0 Kudos

Hi Divyanshu,

have a look to that link:

regards Andreas

0 Kudos

Hi Divyanshu !

I have had the same problem. (I used CL_GUI_ALV_GRID)

Try to do this:

1. In fieldcatalog define the fields as input fields with the following statement:

fieldcatalog-edit = 'X'.

2. In PAI section, method :

call method alv->check_changed_data.

Update the internal table according to the data modifications in the frontend.

After doing that, when user presses ENTER the internal table is updated.

I hope that helps.

Best regards,

Manuel Bassani