SAP Knowledge Base Article - Public

3578522 - Error While Replicating Unit Of Measures From SAP S4HANA Public Cloud to SAP Sales & Service Cloud V2

Symptom

Iflow "Replicate Unit of Measure from SAP S4HANA Cloud" fails in SAP Cloud Integration While Trying To Replicate Unit of Measures from SAP S4HANA Public Cloud

Environment

SAP Sales & Service Cloud V2 Integration with SAP S4HANA Public Cloud

Reproducing the Issue

  1. Go to SAP Cloud Integration (SAP CPI)
  2. Open the iflow "Replicate Unit of Measure from SAP S4HANA Cloud " from design view
  3. Choose the action "Deploy"
  4. Go to Message Monitor and see the error "The current character read is '<' with an int value of 60 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0"

Cause

This is because of mismatch in authentication methods in Iflow and the respective Communication Arrangement "SAP_COM_0531". If you check the whole error message in CPI , you can see the SAML enabled URL of your S4 API host. 

Resolution

Ensure the communication arrangement "SAP_COM_0531" and the iflow will have the same authentication method. Save & Deploy the Iflow which should replicate the UOMs again

Keywords

"The current character read is '<' with an int value of 60 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0" ; "SAP_COM_0531" ; "Replicate Unit of Measure from SAP S4HANA Cloud" , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Problem

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0