Symptom
When trying to replicate employees to Business ByDesign using the Master Data Replication work center, the replication run raises the following error message:
"Not allowed to delete last WorkAgreement for Employee X" (where X is the ID of the employee in ByD)
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Master Data Replication work center.
- Enter the Employees view.
- Search for the employee request to be executed and click on Edit.
- Click on the Replicate Button.
- Once the replication is processed, the error message appears.
Cause
When replicating data, the system will try to overwrite the existing data in ByD by deleting it and creating a new record, even if there are no changes performed.
In the case of employment data (such as work agreement information) this cannot be done, so the replication raises an error.
Resolution
Inside the Replication Request edit screen, there is a section named Data Without Changes, which should be used to indicate sections of the employee that were not changed, hence there is no need to be replicated again.
In case there are no changes being performed in the employment data, this checkbox can be used to avoid the error.
Keywords
Concur, EC, Employee Center, HCM , KBA , AP-HMD-RPL , HCM-Master Data Replication , How To