cancel
Showing results for 
Search instead for 
Did you mean: 

Managers in an Org Structure

Former Member
0 Kudos

Hi,

I am using the function RH_STRUC_GET that taverses through an org structure and when used with EVALUATION PATH O-O-S-P returns all the positions and persons in an organization. This function however doesn't tell who manages the organization.

Is there any function call that traverses through an org and tells who manages the departments?

Thanks!

Mark

Accepted Solutions (0)

Answers (2)

Answers (2)

rainer_hbenthal
Active Contributor
0 Kudos

The position has a relation A012 in Infotype 1001. If such a relation exists the position is a "man with a red hut".

suresh_datti
Active Contributor
0 Kudos

Hi,

try this.. HRCM_ORGUNIT_MANAGER_GET

Good luck,

Suresh Datti

Former Member
0 Kudos

Mark,

I think Rich answered your question in another post of yours. Can you please close this one as well?

Thanks,

Srinivas

Former Member
0 Kudos

Hi,

the HRCM_ORGUNIT_MANAGER_GET is just what I want! using it with:

PLVAR 01

OTYPE O

OBJID 50000172

BEGDA 01.01.1900

ENDDA 01.01.9999

unfortunatly it is neither released nor RFC enabled.

SWX_GET_MANAGER is RFC enabled, but I don't get the wanted result. Actually I do not get any result:

OT OBJID

O 50000172

result:

Exception NOBODY_FOUND

Message ID: 5W

Message:

There is no chief position for .

Am I using the wrong parameters?

Thanks alot,

tobi

suresh_datti
Active Contributor
0 Kudos

What version are you on? I am on 47 ext 2 & the function module is released.. But you can always make a custom copy of HRCM_ORGUNIT_MANAGER_GET & make it RFC enabled to suit your needs..

Good Luck,

Suresh Datti

Former Member
0 Kudos

In workflow there is a rule defined for that (no 168) which makes use of FM SWX_GET_MANAGER

Hopefully that will help you.

/Peter