cancel
Showing results for 
Search instead for 
Did you mean: 

Get list of all heads in PPOMA

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Ramki
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Have You try BBPU_GET_MANAGER_FLAG ?

Look at this thread also:

Regards,

Marcin Gajewski