SAP Knowledge Base Article - Public

3366190 - Unable to fetch Work Order information for Contingent Workers

Symptom

You are querying Contigent Worker information, but it's Work Order is not getting retrieved by Compound Employee API.

Environment

SAP SuccessFactors Employee Central

Cause

This is an expected Compound Employee behavior. While querying Compound Employee and MDF objects related to users, it's required to allowlist these objects on Compound Employee.

Resolution

  1. Go to the Admin Center and choose the Manage Data admin tool.
  2. In the Create New field, choose Employee Central Compound Employee API Object Types.
  3. Under Object Type, choose the MDF object you want to register. You can choose only custom MDF objects or standard MDF objects from the allowlist. Currently the following standard objects are in the allowlist:
    • Work Order
    • Higher Duty Temp Assignment
    • Onboarding Info
  4. MDF custom object types must fulfill the following requirements to be selectable in Employee Central Compound Employee API Object Types:
    • The object is employment-specific. That is, the externalCode field is of data type User.
    • API visibility is set to Read Only or Editable.
    • The object isn’t a composite object.
    • MDF Version History is set to Complete History.
  5. Save your changes.

After you've set up the object Employee Central Compound Employee API Object Types, the DescribeEx is adjusted accordingly. Now, to extract data from the registered object type, you just have to include the registered MDF object as a select item in your query request.

Don’t change MDF Version History for an object definition after registration, or else the correctness of snapshot, delta, and period delta modes is compromised.

Don't change the assigned user for an MDF object after registration. If you need to change the user, delete the object instance and create a new object with the new user assignment. Else, delta transmission doesn't work as expected.

See Also

Keywords

work order, contigent worker, compound employee, CE, mdf, extend , KBA , LOD-SF-INT-CE , Compound Employee API , How To

Product

SAP SuccessFactors HCM suite all versions