Hi Siddharth,
From what I can see the WF-log shows no sign of errors after the approval step. The WF is in fact not hanging - it is waiting for the status change of the request from APPROVED to POSTED (shown in attachment). But since the request status hasn't been changed from SENT to APPROVED, the posting doesn't pick up the request (naturally).
The approval times of the inconsistent requests coincide with system problems which made it necessary to restart system. Payroll is not part of the problem.
We believe (without digging into the code) that SAP first completes the WF step and then changes the status of the request. Due to system problems, only half the job is done and we have an inconsistency.
When trying to approve, we get the error "specify a class name" due to the fact that the dialog step in WF is already completed (the error message is a WF message).
My problem is: How can we solve the situation without deleting the leave request?
I was looking for any way of changing the status of the request since we see from WF that it has been approved, but there seems to be no such way.
My last resort is to cancel the WF (to clean up) and delete the request. Last time this happened, this is how we solved it. But I do not like to do that.
Lat time this happened, I asked SAP if they could code in a manner that avoided this inconsistency (a sort of "begin/end transaction"). But they said this was not possible as there are 2 different parts of system involved here (LEA + WF).
Do you see any other way to resolve the requests?
Regards
Kirsten