on 07-05-2010 5:17 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.