Hi folks,
As I understand, only the approved leave requests are posted to the infotype 2001. When an user cancels a posted leave request, it creates a DEL item. Creation of a DEL item triggers the workflow and a new workitem is created in the approver's inbox. Upon the approval of the workitem, the record is removed from the infotype on the next run of the posting report (RPTARQPOST).
Issue:
The user is able to apply for leave (with another leave type) on the same date/s before the approval of the withdrawn (DEL) workitem.
This was not the case earlier. Initially, the system was giving an error of duplicate leaves until the withdrawn workitem was approved. Only upon approval of the withdrawn workitem, the user was able to reapply on the same date/s. Am I expecting something the standard doesn't provide or do we have a bad configuration somewhere?
Many Thanks,
Saurabh