SAP Knowledge Base Article - Public

2619357 - The order to create an Employee using OData APIs

Symptom

This note explains the order to create an Employee using OData APIs.

If you facing an issue to insert / upsert data into PerPerson, EmpEmployment, EmpJob or perPersonal.

Environment

SuccessFactors Employee Central OData API

Cause

Order to insert or upsert data into the entities is not correct.

Resolution

The order should be as follows:

  1. PerPerson (required fields:  userId, personIdExternal)
  2. EmpEmployment (required fields:  userId, personIdExternal, startDate)
  3. EmpJob (required fields:  userId, jobCode, startDate, eventReason, company, businessUnit, managerId)
  4. PerPersonal (required fields: personIdExternal, gernder, firstname, lastName)

Note: In case of a Rehire, perform a Job Information (EmpJob) import before Employment Information Import (EmpEmployment).

See Also

How to create an Employee using OData APIs

2080146 - What is the Correct Import Order When Creating Users? - Employee Central - SAP for Me

 

Keywords

How to create an Employee, OData, PerPerson, EmpJob, PerPersonal, Add, new, Employee,EmpEmployment   , KBA , LOD-SF-INT-ODATA , OData API Framework , How To

Product

SAP SuccessFactors HCM Suite all versions