How to determine all users below an org unit

Pinciak, David DPinciak at massmutual.com
Tue Mar 29 09:47:42 EDT 2011


Function module RHPH_STRUCTURE_READ works very well.
 
Set up the selection screen as in the screen print. (Just use the
appropriate org unit.)
 
Loop through the result table. choosing object type "P" will give you
all the pernrs within the org unit. along with limited information about
each individual.
type "O" will give you all the organizations within the selected org
unit. along with limited information about each sub-organization.
 
 
 
 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of SOLOMON YOHANNES
Sent: Tuesday, March 29, 2011 9:15 AM
To: SAP Workflow Users' Group
Subject: Re: How to determine all users below an org unit


Hi Shoab,

You can use function module RH_STRUC_GET, you will have to know what
evaluation paths are setup in your organization but the one that seems
to fit your requirement is O-O-S-P.

Solomon 

________________________________

From: Shoaib Mirza <shoaib_mirza at hotmail.com>
To: sap-wug at mit.edu
Sent: Tue, March 29, 2011 9:01:37 AM
Subject: How to determine all users below an org unit


Hi
 
I'm trying to find a way to read all users below an organisational unit,
including users in sub-organisational units below the top org unit.
I found a function module which reads one org unit
(SWI_GET_USERS_OF_ORG_UNIT), but I don' t know how to read for all org
units/positions below a top level org unit.
 
Any advice would be appreciated.
 
Thanks


---------------------------------------------------------
This e-mail transmission may contain information that is 
proprietary, privileged and/or confidential and is
intended exclusively for the person(s) to whom it is
addressed. Any use, copying, retention or disclosure by
any person other than the intended recipient or the
intended recipient's designees is strictly prohibited. If
you are not the intended recipient or their designee,
please notify the sender immediately by return e-mail and
delete all copies.
---------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110329/762e092a/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 126134 bytes
Desc: Outlook.jpg
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20110329/762e092a/attachment.jpg


More information about the SAP-WUG mailing list