cancel
Showing results for 
Search instead for 
Did you mean: 

Read data from org unit

Former Member
0 Kudos

Hi,

I'm looking for a fm which gives me the data (e.g. address...) from an org unit in ppoma. I have the object id of this org unit.

I was not able to find a good fm to read the address and email and so on, means: the data you see for the org unit if you navigate from the org unit in ppoma to the details of the org unit via the menu.

Can anybody give me a hint!

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks a lot guys!

Former Member
0 Kudos

Can you please post which FM helped you to solve your problem.

Regards,

PR.

Former Member
0 Kudos

I am not sure if you have already tried these FM's..

BBP_READ_ATTRIBUTES

RH_STRUC_GET --- Returns all related org info

SWI_GET_USERS_OF_ORG_UNIT.

RH_STRUC_GET_MULTIPLE_ROOTS

BBP_USER_GET_DETAIL

BBP_OM_STRUC_GET_ORG_FROM_USER - To find the Users Org Unit.

RH_STRUC_GET - To find the Org Unit and its higher Org units till the root.

Evaluation Path is O-O.

To find the list of users under that particular Org unit

Please use the function module BBP_OM_STRUC_GET_USER_FROM_ORG. You have to pass the Org Ids in the parameter START_OBJECTS. Then USER_TAB will give you all the users.

Regards,

PR.

Former Member
0 Kudos

Hi

I would add

BUPA_ADDRESS_GET_DETAIL (you have to enter for business partner) you can get from O number using for example , BBP_OBJECTBUPA_GETBUPAS

Best Regards

Former Member
0 Kudos

RH_DATA_COLLECTOR_ORGCHART -- get org info and put in tables

BAPI_ORGUNITEXT_DATA_GET -- Get data on organizational unit

BAPI_ADDRESSORG_GETDETAIL -- BAPI to read organization addresses