SAP Knowledge Base Article - Public

2587643 - Employee Time Import Fails when Import File Contains LOA and non-LOA Records

Symptom

  • Employee Time import for Leave of Absence and non-Leave of Absence shows as 'Failed' on Admin Center > Monitor Jobs
  • Employee Time import is successful only when LOA absences are removed in the import file

Environment

  • SAP SuccessFactors Employee Central 2.0
  • SAP SuccessFactors Employee Central Time Off
  • v12 / People Profile (PP3)

Reproducing the Issue

1. Go to Admin Center > Import and Export Data.

2. Import Employee Time then check the status in Admin Center > Monitor Jobs. Status shows as 'Failed' with no further information on why the import failed. If LOA absence records are removed from the import file and then reimported nto the system, import is successful and Job Status shows as Completed.

Product Support: See Internal Memo for log details

Cause

This is an expected system behavior due to system validation for leave requests import. Employee Time Imports does not allow combination of LOA and non-LOA records in a single file as LOA employee times influences the accrual calculation and the non-LOA employee times use the accrual balances.

Resolution

Import the leave requests separately using two different import files, one which should contain LOA records only and the other for the non-LOA records only

Keywords

Employee Time, Import, Absence, Time Off, LOA, Leave Request, Leave of Absence, Import Failed, NullPointerException: while trying to invoke the method
com.successfactors.absence.bean.timetype.TimeType.isLoaRelevant() of a null object returned
from com.successfactors.absence.bean.employeetime.EmployeeTime.getTimeType() , KBA , scheduledjobexecutionexception , nullpointerexception , runtimeexception , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central all versions