SAP Knowledge Base Article - Public

2587454 - Time Account Creation Calendar Is Failing

Symptom

Time account creation calendar showing "Job Failed"

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

Environment

  • SAP SuccessFactors Employee Central
  • SAP SuccessFactors HXM Suite

Reproducing the Issue

  1. Navigate to Manage Time off Calendar.
  2. Run a Time Account Creation Calendar.
  3. The calendar fails.

1.jpg

Cause

This is mostly due to incorrect data in 1 or more employees.

Resolution

Customer:

In this case, please raise an case under the component LOD-SF-EC-TIM-CAL.

If you are from Implementation Partner, you can check the error details:

  1. Login to Provisioning(back end);
  2. Open the details of the failed job "Time Account Change Calendar";
  3. Check if you are getting the similar logs as below:

Full exception:com.successfactors.jobscheduler.ScheduledJobExecutionException: There is one or multiple sub tasks failed. Inside throwable is for last exception. at com.successfactors.jobscheduler.jobimpl.ConcurrentJobProcessor.waitToFinish(ConcurrentJobProcessor.java:89) at com.successfactors.jobscheduler.jobimpl.SimpleJob.submitMultiThreadTasks(SimpleJob.java:874) at com.successfactors.absence.service.scheduledjob.CalendarRunJob.executeJob(CalendarRunJob.java:108) at com.successfactors.jobscheduler.jobimpl.SimpleJob.execute(SimpleJob.java:399) at sun.reflect.GeneratedMethodAccessor489.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.successfactors.perflog.PerfLogProxy.invoke(PerfLogProxy.java:137) at com.sun.proxy.$Proxy308.execute(Unknown Source) at com.successfactors.schedulerservice.JobExecutionProxy.execute(JobExecutionProxy.java:232) at com.successfactors.schedulerservice.workermgmt.WorkerThread$ExecuteJob.execute(WorkerThread.java:219) at com.successfactors.schedulerservice.workermgmt.WorkerThread$ExecuteJob.access$2(WorkerThread.java:215) at com.successfactors.schedulerservice.workermgmt.WorkerThread.run(WorkerThread.java:83) Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Start Date [2017-04-14T00:00:00.000+02:00] must be before end date [2017-04-13T00:00:00.000+02:00] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at com.successfactors.jobscheduler.jobimpl.ConcurrentJobProcessor.waitToFinish(ConcurrentJobProcessor.java:78) ... 12 more Caused by: java.lang.IllegalArgumentException: Start Date [2017-04-14T00:00:00.000+02:00] must be before end date [2017-04-13T00:00:00.000+02:00] at

If yes, then export an ad hoc report of type "Person and Employment Export". Check if employees are having start date of Job Information record as 14-04-2017 and end date as 13-04-2017 (since the error log mentions the same). This is invalid as end date should be always after start date.

  1. If you have found employees with such inconsistency, then either delete the record and create again or perform a Job History import in incremental mode for the record which is having the inconsistency to correct the end date.

OR:

  1. Go to Admin Center > Check tool 
  2. Select Employee Central Core
  3. Select Job Information
  4. Run the check for "All Job Information records have consistent end dates" (JobInfoInconsistentEndDateCheck)
  5. Click at "Result" (the results list contains the user in question) and fix the issue with Quick Fix.
  6. Afterwards, you can rerun the calendars and they should not fail anymore.

Keywords

Start Date, must be before end date, must be before enddate, Time off,Time Account Creation,Calendar,Job Failed,ScheduledJobExecutionException, TIM-36602 , KBA , LOD-SF-EC-TIM-TA , Time Accounts (TAT, TA, TAD) , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-CHK , SuccessFactors Employee Central Check Tool , LOD-SF-EC-TIM-CAL , Calendar Jobs , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HXM Suite all versions