SAP Knowledge Base Article - Public

3528075 - Handling dependencies in Organizational Unit replication from SAP ERP in V2

Symptom

You are integrating SAP ERP with SAP Sales Cloud v2, and as part of the project's scope is replicating the organizational unit by using the iFlow 'Replicate Organizational Unit from SAP ERP' to replicate Sales organizational structures. 

However the messages of Company, Sales Organization, Sales Area and Sales Group fail due to codependency of parent object. 

Environment

ERP

Sales Cloud Version 2

Reproducing the Issue

  1. Replicate the Organization Unit from ERP
  2. In CNS, Go to Settings
  3. Go to Message Monitoring
  4. Check the messages in error state

Cause

You will notice that the iFlow splits the inbound IDoc into multiple messages and sends them to SCv2 in parallel using a Parallel Multicast. In case you replicate the Org Units in a wrong order or sequence, the error of missing object will occur in CNS.

Resolution

You must send the Org Unit objects in the following order: 

Company -> Sales Org -> Sales Area -> Sales Office -> Sales Group.

Otherwise, you have to manually reprocess the messages in error state, after you have push all Sales Org Unit objects to CNS.

Keywords

org unit;sales area;sales group , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Problem

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0