Skip to Content
0
Former Member
Dec 07, 2006 at 09:42 PM

Adding Ad hoc Approvers using N-step BADI Workflow WS14000133

58 Views

Hi,

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

WHEN 0.

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!

Regards,

Prathima