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
- Replicate the Organization Unit from ERP
- In CNS, Go to Settings
- Go to Message Monitoring
- 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