Skip to Content
avatar image
Former Member

Leave Request - workflow with Multiple parallel approvers

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

So we have implemented this method in order to find all approvers. But, how we must set the sequence field in order to set the same level?
We have tried with sequential value, with the same value or blank but the workflow container(Agent_001-Agent) was populated with a single agent, the first entered into badi.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Feb 26, 2018 at 02:41 PM


    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 14, 2018 at 06:57 AM

    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.


    Add comment
    10|10000 characters needed characters exceeded