cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi_po_create1 using poitems

Former Member
0 Kudos

I forgot, I am using webdynpro.

has anybody used this bapi for creating purchase orders ?

I have been trying to use this but find it difficult to attach items to the order header.

any help is appreciated

Trond Norderhaug

Message was edited by: Trond Norderhaug

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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