SAP Knowledge Base Article - Public

3493245 - Error "Service references of CompiledScriptProvider for referenced script collection com.sap.s42cns.masterdatareplicationhelper are not available" in CPI when replicating code list values from S4HANA to Sales & Service Cloud V2

Symptom

Error "com.sap.gateway.ip.core.customdev.processor.ScriptCollectionException: Service references of CompiledScriptProvider for referenced script collection com.sap.s42cns.masterdatareplicationhelperare not available" when scheduled one of the code list replication iflows

Environment

SAP Sales & Service Cloud V2 Integration with SAP S4HANA

Cause

There are multiple causes

  1. The Iflow "Master Data Replication Script Collection" from the package "SAP Sales Cloud and SAP Service Cloud Version 2 Integration for Master Data with SAP S/4HANA or SAP S/4HANA Cloud" is not deployed. 
  2. You have deployed the iflow "Master Data Replication Script Collection" with an extension during deployed so it becomes "com.sap.s42cns.masterdatareplicationhelper.XYZ" where .XYZ is the extension which is set like all other iflows when you are working on single CPI tenant to integrate with multiple systems

Resolution

Solution below for above problems

  1. The iflow "Master Data Replication Script Collection" is a collection that contains helper functions which are needed in the scripts that are part of either of the iflows in the package "SAP Sales Cloud and SAP Service Cloud Version 2 Integration for Master Data with SAP S/4HANA or SAP S/4HANA Cloud".
  2. No matter you rename the iflows during deployment, but the master data script iflow should not be renamed.

Note : Check if you have the standard package renamed and copied - if done, the masterdata script iflow also will be renamed. Where as the standard iflows will refer to the masterdata script iflow in standard. All you need to ensure is when you copy and rename the folder - the masterdata script iflow will not be renamed.

Keywords

"Master Data Replication Script Collection" ; "masterdatareplicationhelper" ; "com.sap.s42cns.masterdatareplicationhelper" , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Problem

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0