SAP Knowledge Base Article - Public

2658808 - Error 'Exception: Endlees loop due BO Modify, one or more precondition unaccomplishable' is Displayed When Replicating a Sales Order

Symptom

You replicate sales order from ERP via SAP middleware to Cloud for Customer (C4C) but receive the error message: 'Exception: Endlees loop due BO Modify, one or more precondition unaccomplishable'.

Environment

  • SAP Hybris Cloud for Customer
  • SAP ERP

Reproducing the Issue

  • Service Interface: CustomerOrderReplicationIn
  • Communication Arrangement: Sales Order Replication from SAP Business Suite

You have configured replication of Sales Orders from ERP to C4C using the above communication arrangement.

  1. You replicate a sales order from ERP to C4C.
  2. Once the incoming payload reaches C4C the error 'Exception: Endlees loop due BO Modify, one or more precondition unaccomplishable' is displayed in the error log of the incoming message ID.

Cause

The error with 'Exception: Endlees loop due BO Modify, one or more precondition unaccomplishable' is caused by the fact that the message is trying to delete a sales order that does not exist in C4C.

This can be seen when actionCode="05" is set within the payload.

Resolution

Ensure that all data already exists in C4C , prior to attemping to remove it.

Keywords

ERP , ECC , C4C , CustomerOrderReplicationIn , Sales Order Replication from SAP Business Suite , Endlees loop due BO Modify, one or more , Exception: Endlees loop due BO Modify, one or more precondition unaccomplishable , Order, Sales Order , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To

Product

SAP Cloud for Customer add-ins all versions