SAP Knowledge Base Article - Public

2541686 - Leave of Absence Event Record in Job Information is Not Deleted After Cancellation in Time Off

Symptom

One LOA leave request was cancelled via Time Off, however, the associated job information record was not removed.
For other LOA cancelled leaves, the job info records were deleted as expected.

Environment

Employee Central, Time Off

Employee Central, Leave of Absence

Cause

The approver cancelled the employee time and the job info record as well, as the reference from the employee time to the job info record were removed.

At the same time the employee opened the "Manage Time Off", and seconds later cancelled the employee time too.
It was possible only because the "Manage Time Off" page was already opened and the status of the employee time was out of sync.
The system recognized this second cancellation like an update/edit of the employee time.
The system processed it in the usual way (but as edit) and even created a new job info record (INSERT operation in the audit log).

Resolution

To remove the incorrect job info record in the meantime, please do the following:

 1. Go to the Time Management Configuration (via Manage Time Off Structures) and open with the name TIME_CONFIGURATION
 2. It has field "Enable Leave of Absence Editing". Default value of the field is NO. If the field is invisible please make it editable via Object Definition.
 3. Set the value of the field to YES. Then remove the job info record via import using the DELETE operator. Please use this field only to correct a data inconsistency in job info records that reference LOA.
 4. When corrections have been finished, please switch the setting back to "No"

Keywords

Cancelled Leave of absence, cancelled LOA, LOA record not deleted, LOA record not deleted, ECT-83150 , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central 1708