SAP Knowledge Base Article - Public

3503269 - Errors on unit of measure - material data in Sales Cloud V2

Symptom

You are replicating the UoM data from S4 to C4C V2 through the "Replicate Unit of Measure from SAP S4HANA' iflow.

The mapping value for Unit of Measure code list are maintained properly for the UoM code replicated.

However when you push certain material data (products) from S4 to C4C, you still receive errors for missing UoM, even if those missing UoM values are available in  the value mapping.

The UoM loading are failing due to the error:

"message": "{\"error\":{\"message\":\"Unit Of Measure ABC cannot be selected. Set it to Visible under Administration settings and try again.\",\"code\":\"sap.crm.md.service.productService.productMessage.productUnitOfMeasureInActive\",\"target\"

Where ABC is the UoM. 

Environment

SAP Cloud for Sales Version 2

S/4Hana

Reproducing the Issue

  1. Go to Settings
  2. Go to Message Monitoring
  3. Check the respective erroneous message for UoM replication.

Cause

Ensure you have maintained the Internal Code Values for Unit of Measure Code List Name.

In case it is properly set, you should make the UoM field visible in the product configuration.

Resolution

  1. Go to Settings
  2. Go to Products
  3. Go to Unit of Measure
  4. For the respective Code with error, check in the box for Visible column.
  5. Save the changes and reprocess the inbound message in the Message Monitoring

Keywords

UoM;code list , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , CEC-CRM-PRD , Product for SAP Sales/Service Cloud , Known Error

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0