on 06-29-2007 11:53 PM
Hi Friends,
Is there any function module available that gets the manager using PERNR? Can i use SWX_GET_MANAGER?
Thanks in advance.
Nathan.
Here's a wild and insane suggestion: test the function module and see if it returns the correct manager!
I know this must sound crazy, but it is actually the quickest way to find out, much quicker than asking that question here in the forum and waiting for a reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks. I tried to use this FM. Couldnt get the manager using PERNR. If i use US<userid> of an employee it works fine. I dont know the combination of values that i have to pass to the ac_container if i want to use PERNR.
Eg, For US<userid>
Element = ORG_OBJECT
ELEMLENGTH = 025
TYPE = C
VALUE = US<userid>
Similarly is there a way to get the manager passing PERNR to the value? Is there any other function module available that returns the manager given the PERNR?
Thanks
Nathan.
Well, if I was testing this I would try using the standard object specification format that is used for agents. That means OBJID = pernr (including leading zeros) and OTYPE = P.
Remember, in the container, the elements must be entered in sorted order, so it is OBJID first, then OTYPE.
So e.g.
OBJID, <skip>, 012, C, 00000007
OTYPE, <skip>, 002, C, P
Message was edited by Kjetil Kilhavn:
For your parameter ORG_OBJECT it would be 'P 00000007'.
Hi Nathan,
SWX_GET_MANAGER in a rule 00000168 to find a users immediate supervisor, this rule will fetch the user's superior from Org Struc.
Thanks and Regards,
Prabhakar Dharmala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.