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.