<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>

<META content="MSHTML 6.00.6000.17093" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=050343513-29032011><FONT 
face="MS Sans Serif" color=#800000>Function module RHPH_STRUCTURE_READ works 
very well.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050343513-29032011><FONT 
face="MS Sans Serif" color=#800000></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=050343513-29032011><FONT 
face="MS Sans Serif" color=#800000>Set up the selection screen as in the screen 
print. (Just use the appropriate org unit.)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050343513-29032011><FONT 
face="MS Sans Serif" color=#800000></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=050343513-29032011><FONT 
face="MS Sans Serif" color=#800000>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050343513-29032011><FONT 
face="MS Sans Serif" color=#800000>type "O" will give you all the organizations 
within the selected org unit. along with limited information about each 
sub-organization.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050343513-29032011><FONT 
face="MS Sans Serif" color=#800000></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=050343513-29032011><FONT 
face="MS Sans Serif" color=#800000></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=050343513-29032011><FONT 
face="MS Sans Serif" color=#800000></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=050343513-29032011><IMG 
src="cid:050343513@29032011-2E11"></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>SOLOMON 
YOHANNES<BR><B>Sent:</B> Tuesday, March 29, 2011 9:15 AM<BR><B>To:</B> SAP 
Workflow Users' Group<BR><B>Subject:</B> Re: How to determine all users below an 
org unit<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif">Hi 
Shoab,<BR><BR>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.<BR><BR>Solomon
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif"><BR>
<DIV 
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><FONT 
face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Shoaib Mirza 
&lt;shoaib_mirza@hotmail.com&gt;<BR><B><SPAN 
style="FONT-WEIGHT: bold">To:</SPAN></B> sap-wug@mit.edu<BR><B><SPAN 
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tue, March 29, 2011 9:01:37 
AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> How to determine 
all users below an org unit<BR></FONT><BR>
<META http-equiv=x-dns-prefetch-control content=off>
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
Hi<BR>&nbsp;<BR>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.<BR>I found a function module which reads one org unit (<SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'sans-serif'">SWI_GET_USERS_OF_ORG_UNIT)</SPAN>, 
but I don' t know how to read for all org units/positions below a top level org 
unit.<BR>&nbsp;<BR>Any advice would be appreciated.<BR>&nbsp;<BR>Thanks<BR>
<META http-equiv=x-dns-prefetch-control 
content=on></DIV></DIV></DIV>
<P><pre wrap>---------------------------------------------------------
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.
---------------------------------------------------------
</pre></P></BODY></HTML>