cancel
Showing results for 
Search instead for 
Did you mean: 

Fm to know org structure

sap_2605
Active Participant
0 Kudos

Dear sap gurus,

I am in srm 7.01, can anyone tell me the name of function module that i can use to know:

- the org unit of a spesific user id assigned to

- the boss of a spesific org unit

- the org unit in whic a spesific org unit is assigned to

Best regards,

John

Accepted Solutions (1)

Accepted Solutions (1)

former_member208675
Active Contributor
0 Kudos

Hi,

FM BBP_OM_STUC_GET_USER_FROM_ORG will give you relationship between organization unit & employee.

You can also refer table HRP1001.

Regards,

sap_2605
Active Participant
0 Kudos

Hi Vinay,

Can you give me example of how to get result from FM BBP_OM_STRUC_GET_USER_FROM_ORG?

Best regards,

John

Answers (3)

Answers (3)

Former Member
0 Kudos

hi John,

Please check below

BBPU_GET_ORGSTRUCTURE_OF_USER – Enter User ID, to Get the Org’s  Object ID

BBP_OM_STRUC_GET_MGR_FROM_ORG – Pass the Orgs Object ID to get the Manager Name

Raghu

RicardoRomero_1
Active Contributor
0 Kudos

Hi,

I think you can use FM RH_STRUC_GET, check this thread to see how to use the FM and infotype tables like HRP1001, etc.

http://scn.sap.com/thread/2126667

Try also with these FM:

BBPU_GET_ORGSTRUCTURE_OF_USER

BBP_SOCGE_GET_USER_ORG_DATA

BBP_OM_STRUC_GET_ORG_FROM_USER

BBP_OM_STRUC_GET_POS_FROM_USER

And you can also read some user attributes with the FM BBP_READ_ATTRIBUTES. For example with the attribute BUK for get the Company.

Regards,

Ricardo.

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

I use to execute the following functions:

BBP_OM_DETERMINE_RESP_PGRP to get the responsible purchasing group and BBP_OM_DETERMINE_COMPANY to get the company.

Regards,

Ricardo

sap_2605
Active Participant
0 Kudos

Hi ricardo,

Thanks for the reply. However what i need is more to the org structure rather than spesifically for purchasing group and co code.

John