Application Development and Automation 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: 
Read only

Query Urgent

Former Member
0 Likes
465

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
Read only

amit_khare
Active Contributor
0 Likes
443

Use this FM -

HRCM_ORGUNIT_MANAGER_GET.

Pass PLVAR ='01'

OTYPE = 'O'

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

Regards,

Amit

reward all helpful replies.

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 REPLY 1
Read only

amit_khare
Active Contributor
0 Likes
444

Use this FM -

HRCM_ORGUNIT_MANAGER_GET.

Pass PLVAR ='01'

OTYPE = 'O'

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

Regards,

Amit

reward all helpful replies.