Symptom
Inbound messages for the BusinessPartnerERPAddressReplicationIn interface failed in C4C due to an error: "The ASSERT condition was violated.".
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to the Administrator work center.
- Go to the General Setting work center view.
- Open the Web Service Message Monitoring under System Administration
- Filter for service interface "BusinessPartnerERPAddressReplicationIn".
- Search for the error messages "The ASSERT condition was violated".
Cause
This error can occur due to various inconsistencies in the inbound payload. One such inconsistency could be the payload containing two postal addresses (one in Latin script and another in Arabic script, for example) without setting an address representation code 'A' for the Arabic script. C4C expects the address representation code to be sent; otherwise, it won't know which postal address to use.
Resolution
Even though support for international address scripts is not included in this tenant's scope, we still require the international address representation code to correctly process the message and to determine which default postal address (in Latin script) to use.
The customer needs to verify whether the iflow/PI message mapping is up-to-date and correctly passes the address representation code from the IDOC.
Keywords
C4C; Cloud for Customer; Assert condition; violated; BusinessPartnerERPAddressReplicationIn; address representation; latin; script. , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To