07-26-2010 7:09 PM
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
07-26-2010 7:18 PM
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.
07-27-2010 3:56 AM
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,
07-27-2010 5:30 AM
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.