Skip to Content
0
Former Member
Feb 23, 2006 at 05:04 PM

IDOC for multiple line item in PO creation

425 Views

Hi,

I need help in here. I need to create a PO by using the FM BAPI_PO_CREATE1. My output should be 2 POs. 1 with multiple line item, and the other one with single item. When any of these PO creation fails, I need to transfer all the data and post an IDOC. I should be using the basic type PORDCR1 in my IDOC. My problem is, when I have multiple line items, I cannot post an IDOC. It shouldn't be a successful IDOC because there were errors on my data, but the main goal is for us to know where in the data we encountered the error. Is there any way where I can post an IDOC with multiple items, schedule, account, delivery, etc.. Thanks.