Symptom
When replicating a Business Partner from S/4HANA to SAP Sales Cloud (C4C) via interface BusinessPartnerReplicationIn, the following error is raised: "No entry with the default script code exists".
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to the Administrator work center.
- Go to the General Setting work center view.
- Open the Web Service Message Monitoring under System Administration.
- Select query Erroneous.
The error: "No entry with the default script code exists" will be shown.
Cause
The error says "No entry with the default script code exists" which indicates that the AddressRepresentationCode is missing under PostalAddress node in the incoming S/4HANA payload.
There has to be a postal address in the default script always.
Resolution
The C4C AddressRepresentationCode 0 should be mapped to the remote code ' ' (= space) using the Code List Mapping on the C4C side.
The following below steps should be performed:
- Go to Business Configuration Work center;
- Click on Overview;
- Search for Code List Mapping;
- Open the "Code List Mapping for Integration with External Applications and Solutions" Activity;
- Click on Maintain Code List Mapping;
- Filter for "AddressRepresentationCode" Local Data Type Name;
- Add the 0 as Local Code and ' ' as External Code;
- Save and Close.
Keywords
AddressRepresentationCode, script, C4C, Cloud for Customer, Code List Mapping, PostalAddress. , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , Problem