cancel
Showing results for 
Search instead for 
Did you mean: 

Report manager of a person in HR

Former Member
0 Kudos

Hi - Can anyone advise on how to report the manager of a person - the problem being that many of our chief positions are currently empty. In this case we need to walk up the Org Structure, find the next occupied position and report the person in that position. I was hoping there would be a standard report to do this but can't find one.

I'm pretty new to ABAP so the more help (& code?) you could give the better.

Thanks in advance, Chris

Accepted Solutions (1)

Accepted Solutions (1)

suresh_datti
Active Contributor
0 Kudos

Hi Chris,

I don't think there is a standard report to meet this reqt. But you can write a custom program that does a repeated look up on HRP1001 Table.

Regards,

Suresh Datti

Answers (2)

Answers (2)

Former Member
0 Kudos

Regards,

SAP HR and Business Workflow

Ritesh Shrivastava

Former Member
0 Kudos

Manager position of a person can be obtained by checking the rsign ='A' and relat = '012' for that employee . I have used this select for one of my programs .You can customize it to your requirements.

SELECT A~otype

A~objid

A~relat

A~rsign

C~pernr

D~usrid

A~begda

A~endda

A~sclas

A~sobid

INTO TABLE GT_REL

FROM ( ( ( hrp1001 AS A

INNER JOIN hrp1008 AS B ON Aplvar = Bplvar AND

Aotype = Botype AND

Aobjid = Bobjid )

INNER JOIN pa0001 AS C ON Aotype = Cotype AND

Aobjid = Cplans )

INNER JOIN pa0105 AS D ON Cpernr = Dpernr )

WHERE A~plvar = '01' AND

A~otype = 'S' AND

A~relat = '012' AND

A~rsign = 'A' AND

A~aedtm IN S_AEDTM AND

B~bukrs IN S_BUKRS AND

D~usrty = '0001'.