SAP Knowledge Base Article - Public

2838378 - Service Interface OpportunityBulkReplicationOut is Triggered Twice

Symptom

You have created an opportunity in the hierarchy facet of another opportunity and in web service message monitoring, you see that there are two outbound messages triggered for the same.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Sales work center
  2. Go to the Opportunity view
  3. Select 'Show all' and find ABC (where ABC is the name of the opportunity).
  4. Go to the Hierarchy facet.
  5. Select New.
  6. Fill in the mandatory details and select 'Save'. This creates a new opportunity XYZ (where XYZ is the name of the opportunity).
  7. Go to the Administrator workcenter.
  8. Go to the General settings view.
  9. Go to the section System Administration, find and open Web Service Message Monitoring.

Here you will see that there are two message from OpportunityBulkReplicationOut for the corresponding actions above.

Cause

OpportunityBulkReplicationOut is triggered whenever there is a change or update made to the opportunity

Resolution

When you create a new opportunity via the hierarchy facet, a new child opportunity is created. No data is copied but both opportunities are linked via BTDREF (Business Transaction Document Reference).
This means that there is an update of 2 opportunities (parent + child).

In contrast to that, when you create a related Opportunity, the data is just copied from the source to the target opportunity. However source and target are not linked via BTDREF, so in this case only one message related to XYZ is sent.

Keywords

Service Interface, OpportunityBulkReplicationOut, Opportunity, Related Opportunity, Hierarchy. , KBA , LOD-CRM-OPP , Opportunity Management , How To

Product

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