Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Query Urgent

Former Member
0 Kudos

Hi All,

My requirement goes like this....

I want to get supervisor name of each pernr.

Means each pernr is assigned to a position and there is supervisor for that position i want to fetch the name of that supervisor using pernr, assuming 1:1 relationship betwen position and supervisor.

You could help me through:

logic or code or any function module

Thanks

Rohit

1 ACCEPTED SOLUTION

amit_khare
Active Contributor
0 Kudos

Use this FM -

HRCM_ORGUNIT_MANAGER_GET.

Pass PLVAR ='01'

OTYPE = 'O'

& OBJID = PA0001-ORGEH (for that PERNR).

Regards,

Amit

reward all helpful replies.

1 REPLY 1

amit_khare
Active Contributor
0 Kudos

Use this FM -

HRCM_ORGUNIT_MANAGER_GET.

Pass PLVAR ='01'

OTYPE = 'O'

& OBJID = PA0001-ORGEH (for that PERNR).

Regards,

Amit

reward all helpful replies.