2006 Feb 23 5:04 PM
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.
2006 Feb 23 10:54 PM
Hi,
Make the required settings to trigger an idoc during the creation of a PO in Me21N with multiple line items, check how the idoc is being created, This should be starting point to know how to create idoc with multiple line items.
Hope this works for you.
Rajeev