SAP Knowledge Base Article - Public

2863231 - Error Message "Work Order details are mandatory, should match with active Work Agreement Job Dates" Displayed While Using SOAP API

Symptom

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

<LogItem>

   <TypeID>000(010)</TypeID>

   <SeverityCode>E</SeverityCode>

   <Note>Worker: XXXX - Work Order is mandatory.</Note>

</LogItem>

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Configure the communication arrangement SAP_COM_0301. For more information about creating communication arrangements, refer to  Communication Arrangement.
  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.

Cause

The work order details were not entered.

Resolution

The work order details are mandatory for a service performer. Add the missing WorkOrder node, specifying the parameters ValidityPeriod and Supplier and post the API again.

See Also

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

1FD - Employee Integration - SAP S/4HANA Enablement

SAP Help Portal - Replicate Basic Master Data for Workforce from External HR Systems > WorkOrder

Keywords

API, Service Performer, Work Order is mandatory, work order, workorder, WORKFORCEPERSONMASTERDATAREPLI, Replicate Basic Master Data for Workforce from External HR Systems, SAP_COM_0301 , KBA , CA-WFD-INT , S/4HANA Cloud Workforce Domain Integration , How To

Product

SAP S/4HANA Cloud 1908