cancel
Showing results for 
Search instead for 
Did you mean: 

PA->OM linking in HR

Former Member
0 Kudos

Hi,

I want to display manager of an employ.

refering to position of employ in infotype 0001, how do i procced to fecth manager of that employ. can pls some one help me on this with tables details.

Thanks in Advance,

BabuSrinath

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi BabuSrinath,

1. SELECT FROM HRP1001 WHERE RSIGN = A RELAT = 002 OTYPE = 'S' OBJID = position_of_employee SCLAS = 'S': SOBID = manager position

2. SELECT FROM HRP1001 WHERE RSIGN = A RELAT = 008 OTYPE = 'S' OBJID = sobid of prev step SCLAS = 'P'.

SOBID of the second SELECT is personnel number of the manager

3. SELECT FROM PA0000 WHERE PERNR = pernoofmanager.

ENAME of 3rd step is manager's name.

Regards,

Dilek

Edited by: Dilek Ersoz on Oct 17, 2008 8:06 AM

Edited by: Dilek Ersoz on Oct 17, 2008 8:07 AM

Edited by: Dilek Ersoz on Oct 17, 2008 8:08 AM

Answers (1)

Answers (1)

sikindar_a
Active Contributor
0 Kudos