SAP Knowledge Base Article - Public

2863231 - Error "Work Order details are mandatory, should match with active Work Agreement Job Dates" using the API Workforce Person Master Data Replication

Symptom

When creating or updating some employee data using the API WORKFORCEPERSONMASTERDATAREPLI, the following error message appears in the response:

<LogItem>

   <TypeID>023(ECPAOX_IN_PUBLIC_API)</TypeID>

   <SeverityCode>E</SeverityCode>

   <Note>Person: XXXX - Work Order details are mandatory, should match with active Work Agreement Job Dates</Note>

</LogItem>

Environment

S/4 HANA Cloud

Reproducing the Issue

  1. Configure the Communication Arrangement SAP_COM_0301
  2. Use the API WORKFORCEPERSONMASTERDATAREPLI to upload the HR master data.
  3. In the WorkAgreementInformation section, specify the PersonWorkAgreementType as 3 (Service Performer).
  4. Post the API.
  5. See the response with the error message.

Cause

The WorkOrder details are mandatory for a service performer.

Resolution

Add the missing node WorkOrder, specifying the parameters ValidityPeriod and Supplier and post the API again.

See Also

2646803 - How to maintain employees data in an S/4HANA Cloud

1FD - Scope Item

Keywords

API, Serive Performer, BBP005, HCM030 , KBA , CA-HR-S4 , Cross-Application HCM Objects in S/4HANA , How To

Product

SAP S/4HANA Cloud 1908