SAP Knowledge Base Article - Public

2966332 - Unable to update a Position that has no Parent Position - Employee Central

Symptom

  • When importing data to a Position that has no Parent Position (e.g. CEO) via import, it is not possible to load the file successfully.
  • When leaving the field 'parentPosition.code' blank, the error in the job response is "Object Position has a mandatory association Reports to Position. Please add at least one record for Reports to Position."
  • When filling the field with any other value, the error in the job response is "Cannot find corresponding referred object by keys: [parentPosition.code]"

Environment

  • SAP SuccessFactors HXM Suite
  • Employee Central
  • Position Management

Reproducing the Issue

  1. Go to Import and Export Data page;
  2. Select Generic Object > Position;
  3. Select the file and Import;
  4. Go to Monitor Job and see the error in the job response.

Cause

The parentPosition field is set as mandatory in the Position Object.

Resolution

  1. Go to Admin Center > Configure Object Definitions > Search for the object definition 'Position';
  2. Click Take Action > Make Correction;
  3. Under 'Associations' section, locate the parentPosition field and click Details;
  4. Set 'Required' to No and Save.
  5. Retry the import operation.

See Also

2305890 - Position Import Error message: Cannot Find Corresponding Referred Object by Keys

Keywords

higher level, parent, position, import, Object Position has a mandatory association Reports to Position, Cannot find corresponding referred object by keys: [parentPosition.code], CEO , KBA , LOD-SF-EC-POS , Position Management , LOD-SF-EC-EDP , Import Employee Data (EC Core only) , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HXM Suite 1911