on 2018 Feb 05 1:16 PM
Dear all,
about leave request, in our scenario(ECC 7.4 EHP7.0) we have different approvers at the same level that can approve or reject a leave request. When a leave request is generated and employee send it to approve, we need to determine at runtime the list of apporvers and send an approval task for each approvers. Then, the first approver excute task, the workflow can continue and workitem must disappear for the inbox of the other approvers.
Reading the sap documentation and refering to template 21500001 , by spro trx, seems it is possible to determinate multiple task for approve(multiple workitem) implementing badi PT_ABS_REQ in method
GET_MULTIPLE_APPROVER.
The main question is, is it possible to implement this scenario implementing a sap standard badi or not?
In case of affermative, what are the steps to do to do it?
Thank you all
Request clarification before answering.
Hi Mattia,
1. The BADI and method you have implemented is only for leave request but not for workflow. You need to implement enhancement spot - PT_GEN_REQ.
2. In method check_if_actor_absent, set the absent flag as true.
3. Then implement get_actor_substitutes and pass the list of approvers.
4. For all other methods which are not redefined, do remember to invoke call to the standard methods.
Reg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
PT_ABS_REQ in method GET_MULTIPLE_APPROVER is only for approving one after the other.
Like "manager" and than "manager of the manger".
In parallel is currently not possible in SAP standard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.