SAP Knowledge Base Article - Public

2515971 - Import or OData upsert of Job History Fails Due to Country Specific Validation Error

Symptom

You would receive an application error when trying to import Job History or OData API EmpJob upsert.

The application error id would be accompanied by: Failed to perform country specific validation. Please ensure that this record is associated with a valid Company record for given dates.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment


  • Employee Central Import Employee Data
  • SuccessFactors HXM Suite OData API

Reproducing the Issue

  1. log in into system
  2. Update User Information
  3. Import Employee Data
  4. Download csv file for Job History
  5. Fill in the fields and validate/import
  6. Error showed as:Failed to perform country specific validation. Please ensure this record is associated with a valid Company record for given dates.

Cause

Event Reason and Legal Entity are both a must when importing job history.

Resolution

  1. log in into system
  2. Update User Information
  3. Import Employee Data
  4. Download csv file for Job History
  5. Fill in the fields(Please fill in Event Reason and Legal Entity's externalCode value in template). The same is applicable for the OData request payload.
  6. Validate this file again, if still same error, please contact Customer Success Support team.

See Also

Keywords

Country Specific Validation Error, Failed to perform country/region specific validation. Please ensure this record is associated with a valid company, job history, import, Failed to perform country/region specific validation, Failed to perform country/region specific validation. Please ensure this record is associated with a valid Company record for given dates. Failed record info: {EmpJob/userId=XXXX, EmpJob/startDate=yyyy-mm-ddT00:00:00.000Z, EmpJob/eventReason=XXX, EmpJob/seqNumber=1}. for Key with the index 0 , KBA , LOD-SF-EC-EDP , Import Employee Data (EC Core only) , LOD-SF-EC , Employee Central , LOD-SF-INT , Integrations , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , How To

Product

SAP SuccessFactors Employee Central all versions