Symptom
When you are replicating multiple Sales Office from S4Hana to Sales Cloud Version 2, where it contains multiple different languages, the sales office name of only one language is considered.
Environment
Sales Cloud Version 2
S4Hana
Reproducing the Issue
- Log in to s/4
- Open the tcode drfout
- select Sales Office replication
- add multiple sales offices or replicate everything, which will include the Sales Office with different languages set.
The message processing in Sales Cloud Version 2 will consider only one of the languages. Usually the default one, EN.
Cause
In S4Hana, you have maintained multiple names for different languages, whereby in Sales Cloud the name is language-independent.
e.g. incoming palyload:
<SalesOfficeName languageCode="EN">example of an English Name</SalesOfficeName>
<SalesOfficeName languageCode="FR">example of a French Name</SalesOfficeName>
Therefore, you have to provide the language you want to consider in the iFlow configuration for Replicate Sales Office from SAP S4HANA (Configure "Replicate Sales Office from SAP S4HANA") .
Resolution
You have to set the corresponding language code in iflow parameter.
- Go to CPI
- Open the edit mode of Replicate Sales Office from SAP S4HANA configuration
- In the Configure screen, go to More tab
- Fill out the parameter: Language Code
Keywords
salesofficename; languagecode;language;cns;sales office;sales cloud version 2 , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , How To