SAP Knowledge Base Article - Public

3479672 - Error “The ASSERT Condition Was Violated.” Under Service Interface BusinessPartnerERPAddressReplicationIn

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

  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. Filter for service interface "BusinessPartnerERPAddressReplicationIn".
  5. 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

Product

SAP Cloud for Customer core applications 2405