cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module for finding all the users in an org unit?

Former Member
0 Kudos

Hi,

is there a function module or a table by which we can find all the users within a purchasing group of purchasing organisatiopn unit.

Looking for a quick response.

Regards,

Neha

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Neha, you can use program RHXSTR01 (organizational structure with positions) or RHXSTR02 (organizational structure with persons)

I hope this can solve your problem

Thanks in advance

Rosa

Former Member
0 Kudos

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.

Note:

OTYPE = 'O'.
OBJID = <Org Id say 50002323>.

Regards

Kathirvel

Edited by: Kathirvel Balakrishnan on Sep 24, 2008 2:25 PM