Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how can I create one inbound delivery for multiple purchasing documents

Former Member
0 Kudos

Hi,

how can I create one inbound delivery for multiple purchasing documents by using bapi BAPI_IBDLV_CREATE_FROM_OBDLV?

there is no problem for 1 PO an when i try for 2 different POs i get this error:

"You cannot create several dlv.headers in case of external no. assignment"

İs there an indicator for Bapi to show whether it is used for multiple PO or something else?

Thank you.

Burc.

2 REPLIES 2

Former Member
0 Kudos

loop at header data.

read the item details and other details in itab such to pass it in bapi....

baPI_IBDLV_CREATE_FROM_OBDLV.

endloop.

0 Kudos

thanks for the answer but my problem is different.

let me tell u as simpler as i can.

for instance i have 2 PO one has 2 items the other has 3 items.

what i want to do is,getting the second item from PO1 and the third item from PO2 and create 1 IBD for these two items.

So in my bapi items i have 2 different PO numbers.When i execute the bapi i got this error:

"You cannot create several dlv.headers in case of external no. assignment"