SAP Knowledge Base Article - Public

2898506 - "No SCWK record found for Work Order ID XXX" error when importing Job History to create Contingent Worker

Symptom

When creating Contingent Worker through import, Job History import gives error:

"No SCWK record found for Work Order ID XXX. Please import a record with a valid SCWK Event Reason., The system is unable to derive the Employee Status from the previous record. This could indicate an inconsistent/invalid data in the employee’s Job History or an incorrectly configured Event Reason."

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Go to Import Employee Data > Download the necessary formats to create Contingent Worker according to KBA 2777353 - How to Import Contingent Workers - EC
  2. Fill out the import files with the Contingent Worker's data and import it in correct order
  3. When you import the 5th step of the KBA "How to Import Contingent Workers - EC", Job History import throws an error
    "No SCWK record found for Work Order ID XXX. Please import a record with a valid SCWK Event Reason., The system is unable to derive the Employee Status from the previous record. This could indicate an inconsistent/invalid data in the employee’s Job History or an incorrectly configured Event Reason."

Cause

This error is usually caused by some "Event Reason" business rules getting triggered during import.

When a condition in the "Event Reason" business rule is met, it overrides the "Start CWK" event reason defined in the import file, setting the Event Reason value in the business rule to be the new Event Reason, thus, error throws.

Resolution

To identify which Business Rule is overriding the "Start CWK" event reason, kindly do the following:

  1. Setup a rule trace. Follow steps in KBA 2257064 - Employee Central - Business Rule Execution Log
  2. Re-import the Job History File again
  3. Download the rule trace and filter using the Action column and select Set to capture which rule is overriding the "Start CWK" event reason and which condition is being set.
  4. Modify the business rule to add a condition that would check if the the action is for a Contingent Worker.
  5. Once business rule is corrected, re-import the Job History file.

See Also

2571698 - Best practices setting up business rules for event reason derivation

Keywords

Contingent Worker, Import Employee Data, Job History, Job Information, Event Reason, SCWK Event Reason, Create Contingent Worker, Import , KBA , LOD-SF-EC-CWF , Contingent Workforce , LOD-SF-EC-EDP , Import Employee Data (EC Core only) , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM suite all versions