cancel
Showing results for 
Search instead for 
Did you mean: 

Get Employees under a manager

Former Member
0 Kudos

Hi,

How to get all the employees reporting to a manager based on the manager's personnel number.

How to use this FM RH_STRUC_GET to find all the employees reporting to a manager with the pernr of the manager.

Please reply at the earliest.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

kmoore007
Active Contributor
0 Kudos

You have to know the relationship with which you are tying the manager to the subordinate. The manager could be chief of the Org. unit of which the employee works, or perhaps you are using the 'Reports To' relationship, for example.

Former Member
0 Kudos

Hi

Give the following inputs for the FM RH_STRUC_GET

ACT_OTYPE : O

ACT_OBJID :Manager's Org unit ID

ACT_WEGID : MSSDIREC-Evaluation path(If you are looking only at the direct reportees)

This combination gives you the Direct reportees of the Manger.

Hope this helps you.

Regards

Devi