Application Development and Automation 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: 
Read only

Issue in Editable ALV

Former Member
0 Likes
1,032

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

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
1,002

You may need to check

http://wiki.sdn.sap.com/wiki/display/Snippets/UpdatingtheInternalTable-AfterEditinALVusingFunctionModules

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,002

Hi,

I think you should go for OO ALV there are mainy methods which can help you in editable ALV

regards

vivek

Read only

Former Member
0 Likes
1,002

use the DATA_CHANGED event... search for sample codes

Read only

former_member194669
Active Contributor
0 Likes
1,003

You may need to check

http://wiki.sdn.sap.com/wiki/display/Snippets/UpdatingtheInternalTable-AfterEditinALVusingFunctionModules

Read only

anup_deshmukh4
Active Contributor
0 Likes
1,002

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

Read only

Former Member
0 Likes
1,002

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

Read only

Former Member
0 Likes
1,002

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