SAP Knowledge Base Article - Public

3794884 - Latest time slice of Time Account Configuration rule is not read while Hiring New Employee

Symptom

The Time Account Configuration rule is configured with two time slices, one with effective date 1/1/1900 and another with 1/2/1900.

The 1/1/1900 time slice logic sets an incorrect booking date (i.e., prior to the booking start date) whereas the 1/2/1900 time slice has the correct logic. 

During Add New Employee > Manage Pending Hire, on clicking the Submit button, the 1/1/1900 configuration rule slice is read instead of the latest time slice which results in an exception error, as an invalid booking start date is set. 

Environment

SAP SuccessFactors Employee Central - Add New Employee Wizard | Time Account Configuration Rule

Reproducing the Issue

  1. Go to Manage Pending Hires
  2. Select Drafts in the Select Pending Hires field
  3. Open the target user and proceed until the Submit button is available
  4. Click Submit
  5. Observe the error and review the rule trace showing an older rule slice being evaluated

Cause

Multiple time slices exist for the time account configuration rule assigned to the time account type. The system evaluates the 1/1/1900 time slice, while the latest slice (for example, 1/2/1900) contains the desired logic. 

Resolution

It is currently by design that for the "Time Account Configuration Rule" and "Initial Date Transfer Rule", the system considers the 1/1/1900 time slice.

As multiple time slices in the rule are typically maintained as an audit history of changes done, then if the old versions of the rule need to be stored, the Engineering team's recommendation is to do a copy of a rule, keep the old one unassigned but always update the 1/1/1900 record (with the latest logic) for the active rule assigned to the time account type.  

If another rule logic is required from a certain date, for e.g. start of next year, define the If/Else conditions depending on the validity date of the time account processed.

An enhancement (TIM-23154) has been created, however there is no confirmed timeline as of now. 

Keywords

INC33197151, CS20260012971986, TIM-23154, SAP SuccessFactors, Employee Central, manage pending hires, add new employee, time account configuration rule, rule slice, 1900-01-01, 1/1/1900, booking start date after end date, booking period not covers bookings initialized by system, time off, time account type, hire error, rule trace, effective dating, IllegalStateException: org.hibernate.exception.GenericJDBCException: could not prepare statement, BOOKING_START_DATE_AFTER_END_DATE, BOOKING_PERIOD_NOT_COVERS_BOOKINGS_INITIALIZED_BY_SYSTEM , KBA , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , Product Enhancement

Product

SAP SuccessFactors Employee Central 2511