Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HR-ABAP issue how to find manager in PA reporting

hi all,

my requirement is find the manager in PA reporting.

Retrieve the Manager Personnel number from the HRP1001 table.Use this personnel number and retrieve Name (ENAME) from IT0001 and Email ID (USRID) from IT0105 SUBTYPE as u20180010u2019

how to find the manager position and his relation ship.

Tags:
Former Member
Former Member replied

hi,

you can use the FM "HRCM_ORGUNIT_MANAGER_GET". the input for this is the org unit. org unit of a person can be found from IT 0001. using this org unit, you will get the PS no of the Manager of that org unit. done.

you can use the alternate solution as follows.

from IT 0001 you will get the org unit (O) of the person.

using this O (org unit) and relation 012 (managed by) and related object type as S (position) u will get the value of S (position of the manager of org unit).

using this S in HRP1001 and relation 008 (holder of position) and related object type as P (person) u will get the PS no of the manager (as required).

Edited by: vikram shah on Sep 1, 2008 4:45 PM

FM name added

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question