on 04-03-2008 12:35 AM
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
try RHXSTR02 report using SA38. You can see it in graphical manner too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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***
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.