Skip to Content
avatar image
-2
Former Member

How to Insert row between two rows of table control ?

Hi Expert,

I need a help on insert row between two rows of table control.

I am facing problem, while inserting a row between two rows, last row getting disappear from table control.

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Jun 22, 2017 at 05:40 AM

    Did you maintain the number of lines in the table control in the PBO (or after each statement like INSERT or DELETE on the displayed internal table that may change its value)

    DESCRIBE TABLE my_itab LINES my_tableview-lines.
    Add comment
    10|10000 characters needed characters exceeded

  • Jun 21, 2017 at 03:11 PM
    -1

    Insert the row into your internal table. Handle teh table control using the table control wizard.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 22, 2017 at 07:00 AM
    -1

    Thanks a lot for answering my query.

    It has been resolved. I was not dynamically increasing the table control lines based on my row insert.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 21, 2017 at 08:43 PM

    Could you explain more, there are many possibilities! Maybe you think the last line has disappeared because you did only look at the dynpro statement "LOOP AT" in the PBO or PAI. It's normal that the loop is limited to only the lines displayed.

    Add comment
    10|10000 characters needed characters exceeded