SAP Knowledge Base Article - Public

3736534 - How to Restore Deleted Time Account Details for Time Accounts

Symptom

Time account details have been deleted via the UI or via a Time Account Details import.

  • The deleted time account details included both accrual postings and leave booking postings.
  • The absence request itself is still visible in the 'Absences' tab of the affected user's Workbench/Administer Time page.

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

Environment

SAP SuccessFactors Employee Central > Time Off

Reproducing the Issue

  1. Make a change via the UI or upload an import file which wipes the time account details.
  2. Note that in the 'Absences' tab of the affected user's Workbench/Administer Time page, the absence request(s) is still visible.

Resolution

Note: Restore the Accrual postings first, before restoring the 'Leave Booking' postings.

Restoring Accrual Postings

To restore the accrual postings, simply run accrual creation calendars for the relevant time account type. In order to do this;

  1. Go to Manage Time Off Calendars.
  2. Click on the '+ New Calendar' button. Select the 'Accrual' option.
  3. Enter the relevant information and set the run date to tomorrow's date. Please see screenshot below for an example.
  4. Click 'Save'.
  5. The calendars will then appear as 'Scheduled'. You can simply click on the Run button for each of them.
  6. Once the calendar runs are complete, go back to the employee's time accounts and note that the accrual postings have been restored.

Restoring Leave Booking Postings

To restore the 'leave booking' postings, a manual recalculation of absences will need to be run. This can be run via the Time Management Recalculation Event (TMRE). In order to run this for a user;

  1. Go to Manage Data > Create New > Time Management Recalculation Event
  2. Enter the relevant information (see below) and then click save.
  3. Keep refreshing the page, until you get the following message, "Object does not Exist Or No Permission". This simply means the job is complete.
  • External Code: You can use an identifier like the employee's ID
  • Event Type: Recalculate Absences
  • Target Type: User
  • Target ID: The employee's ID
  • Date: The date selected is the date from which the TMRE job will recalculate absences for. E.g. If you set the date to 1st Jan 2026, then absences before this date will not be recalculated by the job. Absences from 1st Jan 2026 onwards will be considered.
  • Status: To be processed
  • Start Recalculation on Save: Yes

If the 'leave booking' postings were deleted for multiple users, you can perform an import of multiple Time Management Recalculation Events. In order to do this;

1. Go to Import and Export Data. Then, under the 'Select the action to perform' dropdown, select the 'Download Template' option.

  • For 'Select Generic Object', select 'Time Management Recalculation Event'.
  • For 'Include dependencies', select 'No'.
  • For 'Key Preference', select 'External Code'.

2. Click Download. One you have opened the file, enter the relevant data for the users. (Note: If you expand the size of each of the columns, you will see the valid values that can be entered for each cell). The only difference between each the rows of data should be the Target ID, i.e., the user IDs.

3. Save the file. Go to Import and Export Data > Import Data. Select Time Management Recalculation Event for the Generic Object, and upload the file that was recently saved. Click on Import.

4. Monitor the job run in Scheduled Job Manager. Once the job is completed without errors, the 'Leave Booking' postings will be restored.

Note: We currently have an open enhancement, TIM-57521, to improve the validation in scenarios where time account details are being deleted. Please reach out to your CSM/CEE with this number, TIM-57521, for updates on its progress.

See Also

Time Management Recalculation Event | SAP Help Portal

Keywords

time account details, time account detail, account postings, posting, postings, recover, restore, restore absence, restore leave, restore employee time, restore time account details, restore accruals, restore accrual, accrual, accruals leave booking, TMRE, recalculate absences, time management recalculation event, recovery, data restore, how to, help , KBA , LOD-SF-EC-TIM-TA , Time Accounts (TAT, TA, TAD) , LOD-SF-EC-TIM , Time Off , How To

Product

SAP SuccessFactors Employee Central all versions

Attachments

Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png