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

ALVGRID saving changes

Former Member
0 Likes
372

Hi,

I found a thread that looked like it might help but didn't work for me.

My problem is, I have an editable ALVgrid and I noticed when I hit the save button directly, after a change to the grid, the internal table is not updated.

For example, in my grid I will delete several lines using the Cut or Delete line function on the grid. Then, I hit the Save button which takes me to PAI processing. I check my internal table gt_outtab and it does not reflect the deletions I had done.

Now, if I had deleted the lines and hit Enter, it would have applied the deletions captured in er_data_changed to my gt_outtab. Then if I go to Save, my internal table will have the changes I made. I can then process the internal table.

Not sure if I did anything wrong or am missing something. As I said the above thread appears to address this, but when I create a new instance of er_data_changed, it doesn't have the changes I made.

So, how can I save the changes I've made without having to first hit Enter?

I would appreciate anyone's thoughts on this.

Filler

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
351

Hello Filler

Perhaps my answers in thread

Regards,

Uwe

2 REPLIES 2
Read only

uwe_schieferstein
Active Contributor
0 Likes
352

Hello Filler

Perhaps my answers in thread

Regards,

Uwe

Read only

0 Likes
351

Thanks Uwe!

That's exactly what I wanted. I was looking for something like this but just didn't know the syntax or object to use. I tried something similar but it didn't work, nor did the solution in the first thread I mentioned.

Thanks for your help.

regards,

Filler