cancel
Showing results for 
Search instead for 
Did you mean: 

Read all employees of a manager and v.v.

daniel_humberg
Contributor
0 Kudos

I am looking for a function module or class/method to read all employees of a manager, and v.v. (i.e. the manager of an employee). Any help is welcome.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use Function Module: BAPI_EMPLOYEE_GETDATA.

Regards

daniel_humberg
Contributor
0 Kudos

Is this to get the employees of a manager, or the manager of an employee.

(in my system, the BAPI does not return anything, but this might be caused by problems in the ALE replication to the HR system)

Former Member
0 Kudos

Hi,

Please create two evaluation paths via OOAWE as follows:

EMPL

P A 008 S

S A 012 O

O B 003 S

S B 008 P

MANGR

P A 008 S

S A 003 O

O B 012 S

S B 008 P

Call both evaluation paths via function module RH_STRUC_GET.

For the first, mention object type as P and object ID as the employees personnel number.

For the second, mention object type as P and object ID as the managers personnel number.

Regards,

Dilek

Answers (1)

Answers (1)

Former Member
0 Kudos

Try the function module RH_STRUCTURE_GET.

Swapna