Symptom
Error message "No overlapping of validities allowed" while replicating employee to C4C via EmployeeReplicationIn
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to the Administrator work center.
- Go to the General Setting work center view.
- Open the Web Service Message Monitoring under System Administration.
- Select query Erroneous.
- Search for Service Interface EmployeeReplicationIn.
- Look for the message with Detailed Error Text: "No overlapping of validities allowed".
Cause
The error "No overlapping of validities allowed" is due to the fact there is an overlapping of ValidityPeriod for EmployeeType, such as the following part of the incoming payload:
<EmployeeType actionCode="04">
<ValidityPeriod>
<StartDate>2023-09-29</StartDate>
<EndDate>2023-11-11</EndDate>
</ValidityPeriod>
</EmployeeType>
<EmployeeType actionCode="04">
<ValidityPeriod>
<StartDate>2023-11-01</StartDate>
<EndDate>2023-11-11</EndDate>
</ValidityPeriod>
</EmployeeType>
Here, you need to have only one valid date or even have the start date being the end date of the first node for EmployeeType.
Resolution
Please maintain the Validity Period of employees accordingly where the older EndDate must be the new StartDate.
See Also
Keywords
EmployeeReplicationIn; "No overlapping of validities allowed"; EmployeeType; ValidityPeriod; StartDate; EndDate; Employee Replication, C4C, Employee Central, EC, SF. , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-EC , Integration of C4C with Employee Central , How To