SAP Knowledge Base Article - Public

2472177 - Error: CM_MBF_OPA_TRANSF_DEF:An exception occurred.External code for ExternalSalesPriceSpecificationElementTypeCode XXXX of Map Group ABC

Symptom

You have created Sales Order Y in C4C performing Request for Pricing and submitted it. But the same order does not get replicated to the target system. Later when you checked the outbound message found below error message:

CM_MBF_OPA_TRANSF_DEF:An exception occurred.External code for ExternalSalesPriceSpecificationElementTypeCode XXXX of Map Group ABC

Reproducing the Issue

  1. Go to the Administrator Workcenter.
  2. Go to Web Service Message Monitoring View.
  3. Choose Advanced Search.
  4. Enter Service Interface: CustomerQuoteProcessingSalesOrderRequestOut .
  5. Find the relevant Message ID and check the Payload to confirm the Business Document ID.
  6. Select the Message ID, here you find above mentioned error message.

Cause

Since there is no code list mappings maintained for external condition XXXX hence system throws error message.

If you check the Paylaod, you find many external conditions same as XXXX which you can identify from error message. Now check the code list mappings for ExternalSalesPriceSpecificationElementTypeCode and here no mappings are avaialble for local code XXXX Also. Secondly in fine tuning activity there is no External Condition Type is maintained as well.

Resolution

In order to resolve this issue, maintain below settings in fine tuning:

  1. Go to Business Configuration Workcenter.
  2. Go to Implementation Projects View and choose Open Activity List.
  3. Choose All Activities and find External Pricing.
  4. Choose External Condition Type and add condition type XXXX.
  5. Perform Save.
  6. Then search: Code List Mapping and maintain Code List Mapping for ExternalSalesPriceSpecificationElementTypeCode with Map Group ABC.
  7. Perform Save.
  8. Then reprocess the failed message and you can also trigger new replication messages.

 

Keywords

KBA , LOD-CRM , Cloud for Customer , How To

Product

SAP HYBRIS C4C ADDINS 1705 ; SAP Hybris Cloud for Customer 1608 ; SAP Hybris Cloud for Customer 1702 ; SAP Hybris Cloud for Customer 1708 ; SAP Hybris Cloud for Customer 1711