SAP Knowledge Base Article - Public

3048096 - Error Message: "Not allowed to delete last WorkAgreement for Employee X" When Replicating Employees to ByD


 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)


SAP Business ByDesign

Reproducing the Issue

  1. Go to the Master Data Replication work center.
  2. Enter the Employees view.
  3. Search for the employee request to be executed and click on Edit.
  4. Click on the Replicate Button.
  5. Once the replication is processed, the error message appears.


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.


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.


Concur, EC, Employee Center, HCM , KBA , AP-HMD-RPL , HCM-Master Data Replication , How To


SAP Business ByDesign all versions