Skip to Content
0
Former Member
Jun 18, 2007 at 03:51 PM

BAPI_SALESORDER_CREATEFROMDAT2

15 Views

Hey guys,

I have a situation here... I tried searching the forum i could not really

find anything...

We have an incommin SALESORDER_CREATEFROMDAT2 IDOC which has 10 line items .

1 out of the 10 items fail, The sales order is created with the 9 line items.

Now when the error for the single line item is fixed, and the batch process reprocesses the IDOC we have a new SO with all 10 items and 9 items repeated. So we have double sales order for 9 items.

Now we handle the inbound IDOC using BAPI_IDOC_INPUT1, the standard process.

The IDOC status is 51 - but the document is still created.

I am not really sure what we are missing at this point of time, when the IDOC is reprocessed how do we know that it is a change to and existing sales order which had one line item failed.

any ideas... my words could be a little incoherrent here... please let me know if you guys need more information...