SAP Knowledge Base Article - Public

2630993 - Updates of Opportunities Whose Assigned Account is Inactive are not Replicated to the Target Backend System

Symptom

Whenever a change is performed in an Opportunity whose Account is Inactive, it is not synced via Webservice to the target external system.

Environment

SAP HYBRIS CLOUD FOR CUSTOMER

Reproducing the Issue

  1. Go to the Sales workcenter.
  2. Go to the Opportunity view.
  3. Open OppXYZ (OppXYZ represents any Opportunity whose assigned Account is Blocked or Inactive).
  4. Update any editable data.
  5. Hit save despite the error message: 'You can't use business partner 12345 because its status is 'Not Active' (12345 represents the Partner ID).

Result: You notice that the changes are not replicated: there is no corresponding Webservice call.

Cause

The Opportunity object is designed to be error tolerant.

The objective is that user is able to do as much data entry as possible and save it in an inconsistent state even with errors.

However, when it is replicated to a backend system, it is expected to be consistent to avoid failures in that system.

Hence, by default, the replication will not be triggered for blocked/inactive Accounts as there is an error on saving the Opportunity in C4C.

Resolution

You may add a custom validation to prevent the save of Opportunities in such case.

Once the saved Opportunity becomes consistent, the replication will be triggered.

Keywords

Account, Inactive account, Replication, Webservice Message Monitor, You cannot use Business Partner because its Status is 'Not Active',. web-service , KBA , LOD-CRM-OPP , Opportunity Management , Problem

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions