SAP Knowledge Base Article - Public

2498400 - Employee History Import Failure - Variable Pay

Symptom

  • The Import Employee History for Variable Pay template fails.
  • Corresponding Job Employee Central History processor Job Fails with an Unknown Error Code.

Environment

  • SAP SuccessFactos HXM Suite
  • SAP SuccessFactors Variable Pay

Reproducing the Issue

  1. Run Employee Central History Processor to import Employee History for variable pay template.
  2. Failure notification is received with message "This scheduled job failed to complete".

Steps for Support Engineer:

  1. Login to provisioning and verify that job has failed due to an Unknown Error Code.
  2. Search for Splunk logs based on Job ID.
  3. Look for error - RuntimeException caught while executing service com.successfactors.hris.service.integration.GetEligibleRecordsForUsersByDateRange
  4. If you see exact same error then go ahead with solution suggested in this article otherwise please create a development request for further investigation.

Cause

This is being caused while fetching eligible records for Variable pay and if any user records has effective start date is greater than effective end date which is invalid.

Note for Support Engineer: GetEligibleRecordsForUsersByDateRange is the method which fetches eligible records and if any user records has effective start date is greater than effective end date job will fail.

Resolution

  1. Verify the data
  2. Correct the effective dates
  3. Run the job again

Note to Support Engineer: If the customer is unable to locate records, request engineering to fetch the records by running a query.

Enhancement

  • Currently job fails without further processing the records however a better fault handling method is being worked in an enhancement request ECT-76002.
  • With this enhancement Job will complete fine and will send list of faulty records in the email to admin so that they can correct them and run the job again.

Keywords

sf, success factors, VRP,  ECT-76002, GetEligibleRecordsForUsersByDateRange, history import error, RuntimeException, This scheduled job failed to complete , KBA , LOD-SF-VRP-EC , Employee Central data, configuration , LOD-SF-VRP , Variable Pay Programs , Problem

Product

SAP SuccessFactors Compensation all versions ; SAP SuccessFactors HCM Core all versions