on 01-02-2014 5:29 AM
Hi,
Does anyone ever encountered this of issue before:
Employee apply leave.
Manager approves the leave and the quota has been deducted (can be seen in the leave overview).
However, employee receives email notification mentioning that leave has been rejected. IT team checked the workflow in backend and it follows the rejection workflow.
Thanks
Yin Mun
We just received our first internal email and the status is SENT.
The log says that the current status is POSTED and the workflow has been completed.
So, it seems that the manager hit the APPROVE button and for some reason there was a delay in the change of the status perhaps..?
In any case, we will change the decision step 158 and add status 'SENT' to the 'APPROVED' branch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yin,
we have the same problem. We contacted SAP but they were of no help. Also, since go-live (9 months) this has only happened twice and we find it impossible to replicate in our test environment. There must be some issue with the status of the request.
Our workflows were copied from WS12300111 and we did not change anything in condition step "158 Request Approved?". After SAP did not provide any helpful feedback, we decided to adjust our workflows by adding a new branch to this condition step:
We are just implementing the above, so we don't know how it will turn out!
How have you addressed the issue?
Thanks,
Elsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well initially there should be a simulation of deduction of quota, have you run rptarqpost after the rejection of the request?
When a user creates a leave request, deduction data for the absence quota to which this leave belongs to should be entered in table "PTARQ_DEDUCTION". This table uses the request id generated for that operation as a primary key. Quota overview will have this deducted. The CL_PT_ARQ_TIMEACCOUNTS class, method GET_TIME_ACCOUNTS does two things in sequence It calls the method #get_reduced_quota_for_pernr#, which takes unposted leave requests and simulates the deductions for the unposted leave requests against the quotas Then calls the method #consolidate_quotas# which combines the deductions calculated above with those deductions for posted leave requests to give the negative amount (it does not recalculate the deductions for the posted leave although does when it is posted to SAP) You have read the documentation of the Function Module HR_GET_QUOTA_DATA to select the proper mode. In your case it should be 'D', kindly check it. The parameter D makes it read from IT2006, There are other modes as well, If you dont want the Quota to be displayed from 2006.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yin,
Its because of the wrong notification message triggered from the workflow . Please ask your workflow consultant to check the workflow log (T.code : SWIA) and correcting this will solve the issue.
This has nothing to do with the configuration part in ESS we will just assign the workflow id to the leave types in configuration. Ask your workflow consultant to check the workflow template in SWDD transaction.
Please find the sample screen shot of the workflow template and workflow log,
SWDD:
SWIA:
Hope this solves the issue.
Regards,
Mithun K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.