Skip to Content
avatar image
Former Member

Adding Ad hoc Approvers using N-step BADI Workflow WS14000133


I really need help in implementing the Adhoc workflow WS10000271 along with N-step BADI workflow because in the BADI we add approvers by Approval index like :

CASE actual_approval_index.

  • 3 step approval


ls_approver-approval_index = 1.

ls_approver-approval_agent = 'USMANAGER1'.

ls_approver-name = 'Arthur Manager1'.

ls_approver-approval_description = 'First approval step'.

APPEND ls_approver TO approval_table.

and say the requisitioner adds 2 adhoc approvers using "Add Approver" functionality then which means that the 2 additional levels of approval has been added to the workflow dynamically and as a result of this the approval level index coded in the BADI needs to start from the 3rd level because there are 2 adhoc approvers added. ( 2 adhoc Approval Levels)

So,I'm not able to capture the appropriate value of approval index during run time and then use in the BADI accordingly.

I would really appreciate if any one can help me with it.It's really urgent!



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 08, 2006 at 01:05 PM

    HI Prathima,

    You need not worry for the Adhoc approvers. Once anybody adds adHoc approvers, system takes care of the index.

    In the BADI you need to code for a normal scenario with the approval index.

    We never code in BADI to handle Adhoc approvers.



    Add comment
    10|10000 characters needed characters exceeded