cancel
Showing results for 
Search instead for 
Did you mean: 

Find out reporting line of current user from org model

Former Member
0 Kudos

Hi all,

Does anybody know a standard function module (or some pieces of code) that queries the organization model (pposa_bbp) of SRM and returns the reporting line of the current user? For example, the function should return the current user's supervisor and his supervisor recursively until the top of the company management.

Thanks!

Jay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

try RHXSTR02 report using SA38. You can see it in graphical manner too.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Here is the Set of FM that you can use for "REPORTING STRUCTURE" in SRM Org structure.

BBP_OM_STRUC_GET_MGR_FROM_ORG

BBP_OM_STRUC_GET_ORG_FROM_POS

BBP_OM_STRUC_GET_ORG_FROM_USER

BBP_OM_STRUC_GET_POS_FROM_USER

BBP_OM_STRUC_GET_PUSR_FROM_PGP

BBP_OM_STRUC_GET_UNITS_OF_MGR

BBP_OM_STRUC_GET_USER_FROM_ORG

BBP_OM_STRUC_GET_USER_FROM_POS

Cheers, Renga

***Award points for usefull answers***

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Some Function Modules.

RH_STRUC_GET

SWX_GET_MANAGER

BBP_OM_STRUC_GET_MGR_FROM_ORG

RH_STRUC_GET is powerful one. You can check object relationship in PP01 transaction.

Regards,

Masa

Former Member
0 Kudos

Hi Masa,

Thanks for the suggestions. I believe RH_STRUC_GET would be the right one to use. However I am yet to find out a proper WEGID for my requirement. Do you know which WEGID I should use for finding out managers for a position? I tried B012, but no entry was found.

As I have SRM4.0, so the FM BBP_OM_STRUC_GET_MGR_FROM_ORG is not available.

Thanks!

Jay

Former Member
0 Kudos

With RH_GET_LEADING_POSITION and RH_STRUC_GET I am able to find the reporting line of the user.

Thanks for all your input.

Jay