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

Advertisement
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
Advertisement

Replay

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