cancel
Showing results for 
Search instead for 
Did you mean: 

Get employees of manager

martin_svik2
Participant
0 Kudos

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

former_member193210
Active Contributor
0 Kudos

In SAP, how do you define if an employee "is a manager" or not?

Does their Position (S) have a special Relationship (IT1001), such as the one mentioned by Christopher?

Are the managers associated to specific Positions(S), Jobs (C) Qualifications (Q) or Tasks (T)?

Do they belong to specific Employee Groups or Employee Sub-Groups ?

Accepted Solutions (0)

Answers (2)

Answers (2)

talha_bilgehan
Explorer

Hi Martin,

Look at that FM:

'RH_STRUC_GET'

You can use this FM. I think it will satisfy your needs.

Thanks,

ChrisSolomon
Active Contributor
0 Kudos

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.