cancel
Showing results for 
Search instead for 
Did you mean: 

leave request workflow ESS withdrawn

Former Member
0 Kudos

hi there,

we are using standard task TS12300097 for approving ESS leave requests from UWL.

so far, so good, BUT: in very rare situations (lets say 2 out of 1000 requests) the workitem has the status WITHDRAWN.

But in UWL it is only possible to approve or reject the workitem ! so normally there only should be status APPROVED or REJECTED

so how can a status WITHDRAWN happen ? The absence is booked in Infotype 2001, but the leave request has the wrong status, also in team calender it is shown in wrong status.

br, Martin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

if employees applies the leave and again by some reason he cancels the applied leave it is withdrawn ...means he is not willing to take the leave at that time so the status will be changed to withdraw ....check the status in RPTARQDBVIEW ...

read below you will get an understanding of this process:-

If you are using workflow for cancellation, you need to enter the workflow id in the field 'WF ID of Cancellation Request' in table v_t554s_web

When an user requests a leave (with workflow), it starts the workflow
and an workitem is created in the approver's inbox for approval. Now if
the user cancels the leave before the approver could approve/reject,
the workitem will be completed and the workitem will be removed from the
approver's inbox. The new status of the document will be 'WITHDRAWN'. In
this case no new workflow will not be triggered on cancellation.

b. Cancellation of a Leave in 'APPROVED/REJECTED' status:
When the approver approves/rejects the leave request, the workitem will
get completed and the workitem will be removed from the approver's
inbox. Now if the user cancels the leave request, workflow will not be
triggered. This is because, as per the standard behavior is concerned,
cancellation of a leave which is 'APPROVED' (not yet posted) doesn't
require manager's approval hence no new workitem will be created.

c. Cancellation of a Leave in 'POSTED' status: Only the approved
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).

Former Member
0 Kudos

hi jwala,

many thanks for your quick response !!!

in RPTARQDBVIEW  there is status withdrawn.

the problem is: the user "swears" that he has done nothing ! the manager just approved the leave request ! it was also booked in IT 2001 !

so i don't understand: when the manager approves the leave request it should be status approved. so in this case i don't understand how status withdrawn can happen ??

br Martin

Former Member
0 Kudos

as u only telling only 2 out of 1000 ...so the status is also in withdraw as u told ...so you just think what happened here ...


the user "swears" that he has done nothing

just apply one leave in DEV  and check in RPTARQDBVIEW the status ..later cancel that leave and again see the status in RPTARQDBVIEW 

Former Member
0 Kudos

thats a good idea to try this in test-system ! maybe i will then get an idea ! and maybe the user has done something (wrong) there, even if he says he has NOT.

i will try this next week, as i am out of office now !

i will let you know my results and write it down here !

thank you very much,have a great weekend !

br, Martin

Answers (0)