When we are processing a series of inbound order iDocs, the first one processes fine, but then when attempting to process the second one, we get the error:
'EDI: error during database insert in table EDIDS'. This occurs in one of our PI->ECC environments, but not in another.
>>>'EDI: error during database insert in table EDIDS'.
have you check the locks in IDOC status record table in SM12 ?
is this your custom order IDOC or a standard ORDERS IDOC for creating sales orders with a standard process code? do you have any user exists in this IDOC processing ? maybe the custom code does something to the status records ?