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: 

ALV Editable issue with Duplicate & Delete Rows

former_member188724
Contributor
0 Kudos

Hi All ,

I am working on an BOM alv report with editable fields.

In my requirement I have to delete a row and later insert a row.

When I do a delete it works fine and updates the internal.

next time when I duplicate a row , the internal table has one record less .

ex.

I have 10 rows.

I delete 1 row. ITAB is updated with 9 rows .

Now when I do a copy (duplicate a row) it should be 10 but the ITAB is having only 8 the row which I used to duplicate is also deleted .

I am not sure where I am going wrong. Will be great if anyone can guide me in the right direction .

I am using on_data_changed event and write .

Thank You.

Regards,

S.K.

2 REPLIES 2

Former Member
0 Kudos

Hi Kandaswamy,

Did you use refresh_table_display after data_changed event.

Try to use that.

Thanks,

Rakesh

0 Kudos

Hi Rakesh,

Sorry for responding late. I used the data_changed_finished event and resolved the issue .

Thanks for your time .

Thank You.

S.K.