Symptom
When using SOAP API workforcepersonmasterdatarepli to create/update a batch of workers to SAP S/4HANA Cloud Public Edition, it is ended with error "Workforce person is locked and is being processed." (Message no. WFD_BL_MSG068)
If CPI is used in this scenario, when no response was received for a batch within the 10-minute timeout window, the artifact also timed out.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Attempt to process workforce integration via SOAP API workforcepersonmasterdatarepli.
- Checking from Message Monitoring Application with the interface /WFD/WFD_WORKER-1.
- Observe that the system returns the error message: "Workforce person is locked and is being processed."
- Attempt to restart the message; the error persists.
Cause
The locking error occurs when the same workforce person payload is sent repeatedly from the source system in a single processing call. If multiple updates are present for the same workforce person, the system expects only the latest payload to be sent with all updated details.
Resolution
- Verify the source system's payloads to ensure that the same workforce person is not being processed multiple times within the same payload envelope.
- Remove duplicate entries for the same workforce person in the payload.
- Confirm that the latest replication for the workforce person is successful by checking the Message Monitoring Application.
- Validate in the Manage Workforce app to ensure that all details are accurate and up-to-date.
Keywords
workforce integration, locked workforce person, processing status, /WFD/WFD_WORKER-1, SAP S/4HANA Cloud, internal queue lock, Message Class WFD_BL_MSG, Message Number 068, AIF log, Manage Workforce app, duplicate payload, replication error. , KBA , CA-WFD-INT , S/4HANA Cloud Workforce Domain Integration , Problem
SAP Knowledge Base Article - Public