Skip to Content
K S

ALV Editable issue with Duplicate & Delete Rows

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 31, 2011 at 08:28 AM

    Hi Kandaswamy,

    Did you use refresh_table_display after data_changed event.

    Try to use that.

    Thanks,

    Rakesh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.