on 10-05-2018 12:11 PM
Hi,
i need to know 2 things and want to know if there is any function module for that:
1) Find out if an employee is a manager or not
2) if YES, find out ALL employees UNDER the manager
Is there any way to get this info with just one function module ?
br Martin
Hi Martin,
Look at that FM:
'RH_STRUC_GET'
You can use this FM. I think it will satisfy your needs.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Easy answer......"I think so".....but maybe not in the way you want exactly. This completely assumes you are using "chief" relation to determine "manager"....if not, then you will have some kind of custom way of doing it (and I have seen some doozies!) Assuming you use "chiefs".....the thing is, you will want to do a few things here....
1. Find position of the employee.
2. Find any Org Unit where the employee's position has a "chief" relation. (if none, then there you go....they are NOT a manager).
3. Get all employees in that Org Unit for the "chief"....but this can mean many things....
But, it gets tricky if you also want the manager's "indirect reports" (ie. all the employees below the same Org Unit that they manage). For example, they might "manager other managers", so it would be their "direct reports" (in same Org Unit) and then all the ones down under that Org Unit.......and yes, there are functions/methods and "evaluation paths" for that too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.