cancel
Showing results for 
Search instead for 
Did you mean: 

Get SC Request Manager & Manager's Manager from SRM Org Structure

0 Kudos

Hi,

How to get the SC Requester Manager and that Manager's Manager from SRM Organization Structure and so on like that?

Thanks,

Krishna.

Accepted Solutions (1)

Accepted Solutions (1)

konstantin_anikeev
Active Contributor
0 Kudos

Hi Krischna,

you can use function module  RH_STRUC_GET to get all organisational units (bottom->up)

Then for every object you can call function module BBP_OM_STRUC_GET_MGR_FROM_ORG

Best Regards

Konstantin

0 Kudos

Thanks for the information

However not able to get Manager for the user object ID's CP and S
(Which are got from FM"RH_STRUC_GET").but for "O" manager ID is there

That means that "O" manager is also the same manager for "CP" and "S"

(SC Requester)?????

Thanks,

Krishna.

konstantin_anikeev
Active Contributor
0 Kudos

Hi Krishna,

internal HR Objects looks like following:

S, BP, CP and US - identify a single person:

S - working place (HR object)

BP - Business partner (partner from transaction BP)

CP - Central person (for linkage in SRM, HR Object)

US - user from SU01

You need to search managers only for O - objects. In SRM there is no term MANAGER of the PERSON. There are MANAGERS for departments and PERSONS of departments. "My manager" is a manager of my department, his manager if a manager of department, placed higher in PPOSA_BBP etc.

Provided logic, search departments bottom->up. CP and BP are not important.

Best Regards

Konstantin

Answers (0)