Create an instance of the item (table),that u are using to display in the table (From model class).
Then attach that to bapi main instance with which you are executing the bapi.
it would be something like this.
Bapi_po_create1 input = new Bapi_po_create1();
BAPIMEPOITEM item = new BAPIMEPOITEM();
input.addPOITEM(item);
I have not developed this app. just check out.
Cheers,
Kumar
Add a comment