SAP Knowledge Base Article - Public

3589381 - Sales Quote Replication From SAP S4HANA To SAP Sales Cloud Version2 Fails In Message Monitoring

Symptom

You are replicating sales quote from SAP S4HANA to SAP Sales Cloud V2 and the message in V2 fails with error "Unsupported Enum type XYZ for class com.sap.crm.salesquotecorelib.entity.enumeration.ItemTypeCode$Code.\"

Environment

SAP Sales & Service Cloud V2

SAP Sales & Service Cloud V2 Integration SAP S4HANA

Reproducing the Issue

  1. Go to Message Monitoring
  2. Filter the failed messages of "sap.crm.salesquoteservice.entity.salesQuoteS4ReplicationMessageIn"
  3. Open the message and navigate to the error log

Cause

Sales Quote Item Type Code XYZ does not exist in the Sales Cloud. As the value mapping will be missing and if the mapping rule is set as "Pass Through" - the same code is passed to Sales Quote API and the error is triggered stating XYZ does not exist

Resolution

1) Create the new value under Sales Quote Item Types under Settings and map it to the code sent from S4 in the value mapping under "Sales Quote Item Type"
2) Or, you can map any existing local item type to the external code sent from S4HANA

Keywords

"sap.crm.salesquoteservice.entity.salesQuoteS4ReplicationMessageIn" ; "Unsupported Enum type"  "for class com.sap.crm.salesquotecorelib.entity.enumeration.ItemTypeCode$Code" , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Problem

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0