Symptom
When creating a Sales Order, the field <ObjectTypeCode> gets automatically created and is assigned only with value 441. Due to missing 1432 value in the payload, some addresses are not replicated to S4HANA system.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Navigate to the Sales work center.
- Go to the Sales Order work center view.
- Create a Sales Order without changing the address information.
- Transfer it to the External System.
- Go to the Administrator work center.
- Go to the General Settings work center view.
- Open the Web Service Message Monitoring and check for the related outgoing Message for Sales Order.
- Select the web service message.
- Click on View and open the payload.
- Verify that ObjectTypeCode 1432 is missing.
Cause
The control field <ObjectTypeCode> corresponds to the determination process of the address information for the Account. It decides whether the address will be transferred to S4 or not:
- ObjectTypeCode 441 → address information is pulled directly from Account master data, which would be the same in C4C Account and S4.
- ObjectTypeCode 1432 → address has been updated differently to that of the account master data.
- ObjectTypeCode 1405 → address information is pulled from Account / Business Partner relationship data.
This happens in CPI - the address will be transferred if the ObjectTypeCode is 1432 (address information is entered manually or altered) and ignore if it is 441 (address information is pulled directly from Business Partner / Account master data) or 1405 (address information is pulled from Account / Business Partner relationship data).
The Address records with 441 and 1405 are ignored because the determinations happen from master data, which happens the same way and is persisted in S4HANA system. When it is entered manually (ObjectTypeCode 1432) the C4C sends the address because it doesn't exist in S4HANA.
Resolution
The replication with <ObjectTypeCode> value 1432 only occurs if the address information has been manually changed.
Keywords
C4C; ObjectTypeCode; code 1432; Sales Order; Integration; 1432; 441; , KBA , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To