How to add or delete rows in tablecontrol?
I am using a tablecontrol to enter data records.
I want to use 2 buttons, one to insert a row into a tablecontrol and another to delete a selected row of a tablecontrol.
How do I insert or delete rows of a tablecontrol?
You will have to insert or delete the row into the internal table that is linked to your table control. So on click of the "insert" button you can call a MODULE that will update the internal table from table control. In PBO as it is you must have written loop statment to link internal table to table control.
And as mentioned above. You can always keep a blank record at the end of your internal table. So in your linked table control that will come as a blank line.
Similarly for delete update the internal table on click of "Delete" button. I am not sure how is the selection captured in table control though.