on 12-07-2006 9:42 PM
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
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.
Thanks,
Smita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.