SAP Knowledge Base Article - Public

3509375 - Error Message “With ID Contains Multiple References to With ID” for Incoming Web Service Messages

Symptom

You are replicating sales documents to C4C and you are facing the error message "with ID contains multiple references to with ID." for incoming web service messages. 

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Administrator work center.
  2. Go to the General Setting work center view.
  3. Open the Web Service Message Monitoring under System Administration
  4. Select query All
  5. Search for message ID with the following errors:
    • Error Text:
      Error while processing inbound third party communication
    • Details Error Text:
      with ID contains multiple references to with ID .

Cause

When opening the Web Service Message Error log, you will have the following error:

 

<ERROR_TEXT>Sales Quote with ID ABC contains multiple references to Opportunity (or other sales document) with ID 123.</ERROR_TEXT>

 

When opening the incoming payload, we can see:

<BusinessTransactionDocumentReference>
<BusinessTransactionDocumentReference>
<ID>N/A</ID>
<TypeCode>72</TypeCode>
</BusinessTransactionDocumentReference>
<BusinessTransactionDocumentRelationshipRoleCode>1</BusinessTransactionDocumentRelationshipRoleCode>
<BusinessTransactionDocumentReferenceRecipientID>123</BusinessTransactionDocumentReferenceRecipientID>
</BusinessTransactionDocumentReference>
 
<BusinessTransactionDocumentReference>
<BusinessTransactionDocumentReference>
<ID>N/A</ID>
<TypeCode>72</TypeCode>
</BusinessTransactionDocumentReference>
<BusinessTransactionDocumentRelationshipRoleCode>1</BusinessTransactionDocumentRelationshipRoleCode>
<BusinessTransactionDocumentReferenceRecipientID>123</BusinessTransactionDocumentReferenceRecipientID>
</BusinessTransactionDocumentReference>
 
 
So, you are passing 2 Business Document Reference for the same Business Object.
It is not supported via standard design.

 

Resolution

In order to resolve the issue, please ensure you are passing only one reference for Sales Document.

Keywords

BusinessTransactionDocumentReferenceRecipientID, BusinessTransactionDocumentReference, C4C, multiple, references, Sales Documents, Sales Quotes, Sales Orders, Opportunities, Web Service Message, Replicatoin, Incoming. , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To

Product

SAP Cloud for Customer core applications all versions