on 03-22-2007 9:31 AM
Hi,
In mine BBP_PPOMA there are several Purchasing unit and their heads .
I have requirement to get the list of all the heads of purchasing unit and overall head of PPOMA_BBP .
I have an user and its head get using FM RH_GET_LEADING_POSITION .
Is there any idea ?
Any help will be appreciated ,
Thanks,
SS
Hi
You get all P.Orgs with this FM: BBP_OM_FIND_PURCH_ORGS_BEI
Then feed this to FM BBP_OM_STRUC_GET_MGR_FROM_ORG in a loop in a custom program and you get managers.
If you want all managers listing, use FM: BBP_OM_FIND_MANAGERS
Best regards
Ramki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try this.
<b>1) Use the Function module - BBPU_GET_MANAGER_FLAG inside your code to check if the user is a manager.</b>
<u>2) Use FM BBP_OM_STRUC_GET_USER_FROM_POS to get users given a position.</u>
<b>Other useful function modules -></b>
<u>CRM_EMPLOYEE_GETORGUNIT
HR_STRUC_GET_USER_FROM_ORGUNIT
BBP_GET_ORGUNITS
DWP_GET_RESPONSIBLE_ORGUNITS
BBPU_GET_ORGUNIT_AND_COUNTRY
BBPU_GET_USERS_OF_ORGUNIT</u>
<u>Here are the few links you can go through -</u>
http://help.sap.com/saphelp_srm50/helpdata/en/84/0783f35c1e11d2b403006094b92d37/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/ee/8804050393ea4596330fe181092003/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/84/0783f35c1e11d2b403006094b92d37/frameset.htm
Hope this will help.
Please reward suitable points.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.