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
- Run Employee Central History Processor to import Employee History for variable pay template.
- Failure notification is received with message "This scheduled job failed to complete".
Steps for Support Engineer:
- Login to provisioning and verify that job has failed due to an Unknown Error Code.
- Search for Splunk logs based on Job ID.
- Look for error - RuntimeException caught while executing service com.successfactors.hris.service.integration.GetEligibleRecordsForUsersByDateRange
- 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
- Verify the data
- Correct the effective dates
- 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