cancel
Showing results for 
Search instead for 
Did you mean: 

Org Structure Function modules and Classes

Former Member
0 Kudos

hi,

i want to find the departments under a company.

i have found the FMs BBP_OM_DETERMINE_COMPANY, BBP_OM_STRUC_GET_ORG_FROM_USER and class CL_BBP_ES_ENTERPRISE for a given user.

By using the above we can get the position ids of company and department for a given user, but i want names correspondingly.

please let me know is there any function module/class that gives the all departments in a company.

and any class that gives names along with position ids for a given user.

thanks,

gupta.

Accepted Solutions (0)

Answers (2)

Answers (2)

laurent_burtaire
Active Contributor
0 Kudos

Hello Gupta,

Use RH_STRUC_GET function module with importing parameters:

'ACT_OTYPE' = 'O' (object type),

'ACT_OBJID' = organizational unit number,

'ACT_WEGID' = 'ORGEH' (evaluation path)

'ACT_PLVAR' = got value from RH_GET_PLVAR function module.

If the evaluation path does not correspond to your requirement, look for the good one in T778A table (evaluation paths).

Regards.

Laurent.

pedro_santos6
Contributor
0 Kudos

Hi,

With the FM BBP_OM_FIND_PURCH_GRPS_BEI you can find PGroup and POrg in Org Structure whit the description.

Rgs,

Pedro Marques