SAP Knowledge Base Article - Public

2492816 - Error in message header mapping; agent class is CL_EMPLOYEE_REPL_IPA Error Occurs When Replicating Employees to Cloud for Customer

Symptom

You replicate employees to Hybris Cloud for Customer from an external source for example SOAP UI.
You receive the following error:
'Exception: Error in message header mapping; agent class is CL_EMPLOYEE_REPL_IPA'
You use the communication arrangement: 'EMPLOYEE REPLICATION FROM EXTERNAL SYSTEM'.

Reproducing the Issue

  1. In Cloud for Customer (C4C) create the communication arrangement 'EMPLOYEE REPLICATION FROM EXTERNAL SYSTEM'.
  2. Download the WSDL (Web Service Description Language) for the inbound service in the communication arrangement.
  3. Create a sample payload using the template information contained in the WSDL.
  4. Send this payload to C4C.
  5. In C4C open the Administrator work center.
  6. Open the Web Service Message Monitor view.
  7. Locate the failed web service which has just been received, which uses the EmployeeReplicationIn interface.
  8. Observe the error message for this web service request.

Cause

This communication arrangement does not support the EmployeeReplicationIn when sent from an external source such as SOAP UI.

Resolution

  1. Go to the Administrator work center.
  2. Go to Communication Arrangements view.
  3. Create a new communication arrangement of type Employee Replication from SAP Business Suite.
  4. Fill the appropriate details for the communication arrangement.
  5. Download the inbound WSDL.
  6. Create a new employee replication request from the WSDL template *.
  7. Send the request to C4C.
  8. Observe the employee in the Data Integration work center inside the Complete Employee Master Data Replication view.

* Note for the payload which you send to C4C, please, use the following values in the message header:

<SenderBusinessSystemID>NAME OF YOUR COMMUNICATION SYSTEM ATTACHED USED BY COMMUNICATION ARRANGEMENT</SenderBusinessSystemID>
<RecipientBusinessSystemID>_LOCAL_SYSTEM_ALIAS_SAP_INTERNAL_CONSTANT_VALUE_</RecipientBusinessSystemID>

Keywords

KBA , LOD-CRM-EMP , Employee , How To

Product

SAP HYBRIS C4C ADDINS 1705