Skip to Content
0
Former Member
May 15, 2008 at 01:37 PM

Dynpro for Batch-Input: how to add lines in table control?

544 Views

Hi,

I created a Dynpro which will be used only to enter data via Batch-Input. I created a table control on this dynpro using the wizard.

The number of lines which will be entered to the table control is variable and can be up to 1000. I changed the generated ABAP code in the module "mytabcontrol_modify" from "MODIFY" to "INSERT" because otherwise the data I enter into the table control will be lost (my table control is empty when I start the dynpro).

I thought, I can now add new entries using the page down button, but this dosn't work. If I use the add line button I have to leave the last line empty before I press the add line button, because otherwise the order of the lines is changed. Furthermore, I have to send the OK-Code for adding a line after every additional which does not fit into the initial table control.

Is there a more comfortable to handle a table control in a Batch-Input Transaction?

Thanks for your help in advance!

Regards,

Martin