on 09-23-2008 10:21 AM
Hi
in our system we have 3 levels of org unit depending upon the amount that can be approved by a person.
so in our case we have a org structure something like this
--> ORG123
-
> 2000 to 10000
-
> 250 to 2000
-
> 0.01 to 250
now as seen from above. The users under the org unit 0.01 to 250 first gets an email if the PO value is in that range. If the user does not approve we need to escalate to the next org unit. Is there a FM which can be used to get the next org level and the users under those org level?
I checked rule 168 and 157 after doing some search in the forum but i am not getting what i am looking at. Any idea on this?
Try to create custom rule with custom function module, and loop the calling SWX_GET_MANAGER to get n level manager you want
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
First use rule 168. It will give you the Line supervisor. Use his pernr as the input to the rule 157 and his object type is P or US. it will give the position id. From table hrp1001 use this position id has the input
with releation ship A002 or B008. You will the next level approver. do this in the loop for any level for approver.
Regards
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you could use the std FM RH_GET_LEADING_POSITION and also RH_OM_*_POSITION.
The first FM would give you the position number, using the position number in the second FM you could get the agent.
Hope it helps.
Aditya
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.
I think you were in the right track. You need to find the Line Manager using 168 rule and you need to find out the Org. Unit of the Line Manager using rule 157 and store this element in a workflow container element and use the same process for further approval.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.