2009 Dec 22 7:16 PM
Hi Leads,
I am working on Editable ALV using REUSE_ALV_GRID_DISPLAY_LVC.
But, my requirement is I need to track the changes in Report.
After editing the ALV report, I need to update the data base with the changed records and Need to display them as One more Report.
Can you please suggest me any to resolve my issue?
Thanks,
Sandeep
2009 Dec 23 4:46 AM
You may need to check
http://wiki.sdn.sap.com/wiki/display/Snippets/UpdatingtheInternalTable-AfterEditinALVusingFunctionModules
a®
Hi Leads,
I am working on Editable ALV using REUSE_ALV_GRID_DISPLAY_LVC.
But, my requirement is I need to track the changes in Report.
After editing the ALV report, I need to update the data base with the changed records and Need to display them as One more Report.
Can you please suggest me any to resolve my issue?
Thanks,
Sandeep
2009 Dec 23 4:30 AM
Hi,
I think you should go for OO ALV there are mainy methods which can help you in editable ALV
regards
vivek
2009 Dec 23 4:39 AM
2009 Dec 23 4:46 AM
You may need to check
http://wiki.sdn.sap.com/wiki/display/Snippets/UpdatingtheInternalTable-AfterEditinALVusingFunctionModules
a®
2009 Dec 23 5:11 AM
You can use "CALL BACK USER_COMMAND ROUTING " YOU WILL GET ALL THE CHANGES IN YOUR INTERNAL TABLE AND THEN YOU CAN FURTER PROCESS THEM
2009 Dec 23 7:32 AM
probably what you can do is before you display the details make a temporary copy of the internal table.
Then when in user command you can compare the entries with the original data.
And whatever data is changed we can modify we need to capture in some other internal table
Regards,
Lalit MOhan Gupta
2009 Dec 23 8:10 AM
The other way you can do is use OOPS concept for editable ALV.
It will return you the edited data itself.
http://wiki.sdn.sap.com/wiki/display/ABAP/EditableALVthrough+OOPS
Regards,
Lalit Mohan Gupta
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |