N-step BADI approval SRM workflow

Kris kvenigalla at gmail.com
Thu Jun 21 20:58:09 EDT 2007


Hi,

I am implementing N-step approval badi for SC approval using header level
workflow (WS14000133) in SRM 5.0. My requirement is to determine the
financial analysts responsible for each line item and then the mangement
approvers based on their approval limits. Financial analyst need to approve
the SC concurrently before the management approvers receives the SC. I
developed the code in the BADI to populate the approval table. First time
when the SC is created the approval table looks as follows,

Index    Branch    Approver
1         1        FA1
1         2        FA2
1         3        FA3
2         1        MGMT approver1
3         1        MGMT approver2

FA1, FA2 and FA3 recieves the SC. The approval preview looks great. Since
this is not item level workflow, FA will approve the SC at the header level.

Here is the Issue--
When FA1, FA2 or FA3 approves the SC, the approval index is incremented by 1
in the workflow, the SC is sent to MGMT approvers based on he index by
skipping all the FA approvers.

In this scenario, how to develop logic to send the SC to MGMT approvers only
after the FA approvers approves it. I mean how to control the index and
branching in BADi. I am using header level workflow.

Any suggestion would be highly appreciated.

Thanks

Venkat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070621/b14cb40b/attachment.htm


More information about the SAP-WUG mailing list