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: 

insert, update, modify and delete records from an ALV list.

Former Member
0 Kudos

I have a requirement to display records in ALV list and these records

should get updated in a table and I should also be able to insert, update, modify and delete records from an ALV list.

Thanks,

Rajasekhar

3 REPLIES 3

Former Member
0 Kudos

You can use Object Oriented ALV concept in order to fulfill your requirements. You have to populate all of your data in internal table and then call set_table_for_first_display method.

Please find below this link for editable OO ALV.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ec31e990-0201-0010-f4b6-c02d876ce...

Former Member
0 Kudos

Hi R,

You should do these jobs related to ALV in ALV GRID, it will be much easier than do it on ALV LIST. For step and how to do it, search forums for answer. I think there are alot of tutorials for that.

Regards,

Former Member
0 Kudos

Hi,

ALV is used for displaying ur report output.U can make it interactive too.U can use it for database updation too.

You need to call the method check_changed_data in the PAI of the screen. Changed data will be updated to your final table.

Check out below WIKI for sample code.

http://wiki.sdn.sap.com/wiki/display/ABAP/MakingALVtoreacttoChangedata+automatically

http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=61243570

May it helps you.

Regards.

DS.