on 06-03-2008 1:18 PM
Hi experts ,
Considering application for ESS leave approval , i am using a custom table to store all the approvers .
The approval levels are not fixed ( dynamic ) , which i have to determine at runtime from the z table .
The Approval level entries in the Z table is not fixed , that can be extended or reduced from one level to N levels and vice versa.
So i need some suggestions for this requirement from you experts .
Regards
Wasim
Hi,
what is the functional requirement for making it N-level.
I agree with Mike that there are better ways, one is using the managers of an organizational unit and use attributes (for example a custom approval amount ) on the position or the organizational unit to determine if another approver is needed. Then you create a method to retrieve the needed approvers.
In the workflow you increment the approval level if it was granted or decrement it when it wasn't approved and loop till the retrieved attribute of the current approver, in my example an amount, is higher or equal than the amount needed for the request, or loop till the request was denied.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for replying ,
Yah i agree we should use the Org Str , but as per the cleint they want to use the Z table .
What i actually want is ,
I have created a travel request workflow which works for only 2 levels approval process , coz only 2 levels approvals are mentained in the Ztable .
What my customer wants , if they will maintain another 2 levels in the z table means total it will be 4 levels
of approval , then how my workflow will work for the added 2 levels means from 2 levels to 4 levels .
I think now it is much more clear for you guys .
Regards
Wasim
I sort of explained one way of modelling an N-level approval workflow
I shall try to clarify it even more:
The approval table
Level | user
1 | A
2 | B
3 | C
3 | D
4 | E
note that level 3 has 2 agents.
in the workflow you use a loop until a certain condition is met (either last level approved, or request was totally rejected)
in the loop you increment the level, retrieve the approvers for that level and send the request to them. When this is approved, you either increment or decrement the approval level.
You can also check if your system has a SAP standard solution for N-level approval, in SRM for example this one exists.
Kind regards, Rob Dielemans
Hello Wasim,
I'm not sure about your question, if you have a problem with this then you do not tell us what the problem is.
If you are only looking for input/suggestions then my suggestion would be to forget Z-tables. They really should only be used as a last resort, and even then you can usually find a better way to do it if you look hard enough.
Cheers,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.