<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"
}
SPAN.StyleCourrierlectronique18 {
        COLOR: navy; FONT-FAMILY: Arial
}
SPAN.StyleCourrierlectronique19 {
        COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=FR-CA vLink=purple link=blue>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=936125519-05012005>Hi 
Pat,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=936125519-05012005>SAP 
delivers a&nbsp;standard&nbsp;role (or "workflow rule", depending on what 
release you're on) call "Organizational unit of a user".&nbsp; Its ID is 
AC3000001, and it calls the function module RH_GET_STRUCTURE, using evaluation 
path WF_ORGUN (Organizational unit of user/person).&nbsp; </SPAN></FONT><FONT 
face=Arial color=#0000ff size=2><SPAN class=936125519-05012005>Is this what you 
are looking for?&nbsp;&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=936125519-05012005></SPAN></FONT><FONT size=2><FONT face=Arial><FONT 
color=#0000ff><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Arial size=2>Regards,</FONT></SPAN> <BR><SPAN 
lang=en-us><FONT face=Arial size=2>&nbsp; Sky</FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial><B><FONT color=#000080 size=2>Sky 
Kimball</FONT></B><BR><FONT color=#808080 size=2>Senior Development 
Consultant</FONT><BR><FONT color=#808080 size=2>Global Professional Services 
Organization</FONT><BR><FONT color=#808080 size=2><STRONG>SAP America, 
Inc.</STRONG></FONT><BR><FONT color=#808080 size=2>950 Winter Street, Suite 
3800</FONT><BR><FONT color=#808080 size=2>Waltham, MA 02451</FONT><BR><BR><FONT 
size=2><FONT color=#000080>T</FONT><FONT color=#808080> 
1-781-684-6438</FONT></FONT><BR><FONT size=2><FONT color=#000080>F</FONT><FONT 
color=#808080> 1-781-684-6817</FONT></FONT><BR><FONT size=2><A 
href="mailto:schuyler.kimball@sap.com">mailto:schuyler.kimball@sap.com</A></FONT><BR></FONT></SPAN><A 
href="http://www.sap.com/"><SPAN lang=en-us><U><FONT face=Arial color=#0000ff 
size=2>http://www.sap.com</FONT></U></SPAN></A><SPAN lang=en-us><FONT face=Arial 
size=2> </FONT></SPAN></P></DIV>
<DIV><BR></FONT></FONT></FONT><SPAN lang=en-us><B><FONT face=Arial color=#000080 
size=1></FONT></B></SPAN><FONT face=Tahoma size=2>-----Original 
Message-----<BR><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <BR><B>Sent:</B> Wednesday, January 05, 2005 
2:38 PM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> RE : How to find the HR 
unit of an user<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi 
  Serge,</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">The USR01 object 
  (type </SPAN></FONT><FONT face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">US</SPAN></FONT><FONT 
  face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> user) has an 
  attribute name "employee". This field is an object of type employee (Type P 
  person) that relates the user to the Employee id (or number) defined in the 
  PA30 transaction, infotype 105 subtype 9005 (username). </SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">That employee object 
  is related to an organisational unit (Type O) in the Human resource structure 
  of the company (accessible via tx pposw), if you use the organisation 
  structure to manage the agents for the workflows.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">What I'm trying to do 
  is to find how, from USR01 or EMPLOYEE, I can find the "O" object related to 
  the employee or the user. Presently, I'm trying also to find a function module 
  that will list the units for an employee or an user.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Pat 
  Nolin</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face=Tahoma size=2><SPAN 
  lang=FR style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Message 
  d'origine-----<BR><B><SPAN style="FONT-WEIGHT: bold">De&nbsp;:</SPAN></B> 
  Serge Boulay [mailto:Serge.Boulay@n-spro.com] <BR><B><SPAN 
  style="FONT-WEIGHT: bold">Envoyé&nbsp;:</SPAN></B> mercredi 5 janvier 2005 
  14:20<BR><B><SPAN style="FONT-WEIGHT: bold">À&nbsp;:</SPAN></B> 'SAP Workflow 
  Users' Group'<BR><B><SPAN style="FONT-WEIGHT: bold">Objet&nbsp;:</SPAN></B> 
  RE: How to find the HR unit of an user</SPAN></FONT></P>
  <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face="Times New Roman" 
  size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face=Arial color=navy 
  size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">USR01 does not have 
  access to employee information&#8230; You need to use USR01DOHR object type. And 
  what do you mean by HR unit?</SPAN></FONT></P>
  <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face=Arial color=navy 
  size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face=Arial color=navy 
  size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Serge</SPAN></FONT></P>
  <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face=Arial color=navy 
  size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face=Arial color=navy 
  size=2><SPAN lang=EN-CA 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <DIV>
  <DIV class=MsoNormal style="MARGIN-LEFT: 35.4pt; TEXT-ALIGN: center" 
  align=center><FONT face="Times New Roman" size=3><SPAN lang=FR 
  style="FONT-SIZE: 12pt">
  <HR align=center width="100%" SIZE=2>
  </SPAN></FONT></DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><B><FONT face=Tahoma 
  size=2><SPAN lang=FR 
  style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">De&nbsp;:</SPAN></FONT></B><FONT 
  face=Tahoma size=2><SPAN lang=FR style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> 
  sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B><SPAN 
  style="FONT-WEIGHT: bold">De la part de</SPAN></B> 
  Nolin.Patrice@hydro.qc.ca<BR><B><SPAN 
  style="FONT-WEIGHT: bold">Envoyé&nbsp;:</SPAN></B> 5 janvier 2005 
  14:02<BR><B><SPAN style="FONT-WEIGHT: bold">À&nbsp;:</SPAN></B> 
  sap-wug@mit.edu<BR><B><SPAN style="FONT-WEIGHT: bold">Objet&nbsp;:</SPAN></B> 
  How to find the HR unit of an user</SPAN></FONT></P></DIV>
  <P class=MsoNormal style="MARGIN-LEFT: 35.4pt"><FONT face="Times New Roman" 
  size=3><SPAN lang=FR style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
  <P style="MARGIN-LEFT: 35.4pt"><FONT face="Times New Roman" size=2><SPAN 
  lang=FR style="FONT-SIZE: 10pt">Hello everybody, </SPAN></FONT></P>
  <P style="MARGIN-LEFT: 35.4pt"><FONT face="Times New Roman" size=2><SPAN 
  lang=FR style="FONT-SIZE: 10pt">Does someone know how to find the HR unit of a 
  user starting with the object USR01 ?</SPAN></FONT><SPAN lang=FR> </SPAN></P>
  <P style="MARGIN-LEFT: 35.4pt"><FONT face="Times New Roman" size=2><SPAN 
  lang=FR style="FONT-SIZE: 10pt">Thanks</SPAN></FONT><SPAN lang=FR> </SPAN></P>
  <P style="MARGIN-LEFT: 35.4pt"><FONT face="Times New Roman" size=2><SPAN 
  lang=FR style="FONT-SIZE: 10pt">Pat Nolin</SPAN></FONT><SPAN lang=FR> 
  </SPAN></P></DIV></BLOCKQUOTE></BODY></HTML>