SAP Knowledge Base Article - Public

3740641 - Accrual On Recorded Time Calendar Is Failing

Symptom

In Manage Time Off Calendar, the accrual on recorded time calendar is failing.

Environment

SAP SuccessFactors Employee Central - Time Off

Reproducing the Issue

  1. Navigate to feature of "Manage Time Off Calendars"
  2. Select "Accruals On Recorded Time" in the Change Scenario.
  3. Job(s) are in status 'Job Failed'
  4. In Scheduled Job Manager > Time Account Calendar Run > View Details > The error is "Error occurred. There is one or multiple sub tasks failed. Inside throwable is for last exception"
  5. In Provisioning > Monitor Job > Time Account Calendar Run > View Details > The error is Duplicate key <> (attempted merging values [id=<>,frequency=<>] and [id=<>,frequency=<>]) 

Cause

This is mostly due to duplicate Accrual Calculation Base being created for same user for same day via integration/API which then creates duplicate 'Accrual Calculation Account Type Base' objects.

Resolution

To solve the existing inconsistencies:

  1. Navigate to Configure Object Definition > Take Action > Make correction > Set the visibility of 'Created Date' to 'Read Only' > Save.
  2. The duplicate 'Accrual Calculation Account Type Base' external codes are displayed.
    • NOTE:  The configure object definition might not show all duplicates at one. Clean up the current list first and check if there are additional ones shown afterwards.
  3. In Manage Data > Accrual Calculation Account Type Base > Check the duplicates (using the external code from previous step) and decide which one to delete and which one to keep

For Permanent Fix:

  • From customer's side, adjust the integration to ensure that Accrual Calculation Base records for the same employee and same day are not sent in parallel.
  • This control must be handled from customer's side as the system does not prevent concurrent processing of identical records.

See Also

Accruals on Actual Working Time

Keywords

time off, manage time off calendar, accrual on recorded time, accruals on actual working time, job failed, there is one or multiple sub tasks failed. Inside throwable is for last exception, Duplicate key, attempted merging values, API, CPI , KBA , LOD-SF-EC-TIM-CAL , Calendar Jobs , Problem

Product

SAP SuccessFactors Employee Central 2605