<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>How to find the HR unit of an user</title>

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.StyleCourrierlectronique18
        {font-family:Arial;
        color:navy;}
span.StyleCourrierlectronique19
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=FR-CA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Serge,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>The USR01 object (type </span></font><font
  size=2 color=navy face=Arial><span lang=EN-CA style='font-size:10.0pt;
  font-family:Arial;color:navy'>US</span></font><font size=2 color=navy
face=Arial><span lang=EN-CA style='font-size:10.0pt;font-family:Arial;
color:navy'> user) has an attribute name &quot;employee&quot;. 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 size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>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 size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>What I'm trying to do is
to find how, from USR01 or EMPLOYEE, I can find the &quot;O&quot; 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 size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>Pat Nolin</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Tahoma><span
lang=FR style='font-size:10.0pt;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 size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span lang=EN-CA style='font-size:10.0pt;font-family:Arial;
color:navy'>USR01 does not have access to employee information… 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 size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Serge</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span lang=EN-CA style='font-size:10.0pt;font-family:Arial;
color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span lang=EN-CA style='font-size:10.0pt;font-family:Arial;
color:navy'>&nbsp;</span></font></p>

<div>

<div class=MsoNormal align=center style='margin-left:35.4pt;text-align:center'><font
size=3 face="Times New Roman"><span lang=FR style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal style='margin-left:35.4pt'><b><font size=2 face=Tahoma><span
lang=FR style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>De&nbsp;:</span></font></b><font
size=2 face=Tahoma><span lang=FR style='font-size:10.0pt;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 size=3
face="Times New Roman"><span lang=FR style='font-size:12.0pt'>&nbsp;</span></font></p>

<p style='margin-left:35.4pt'><font size=2 face="Times New Roman"><span
lang=FR style='font-size:10.0pt'>Hello everybody, </span></font></p>

<p style='margin-left:35.4pt'><font size=2 face="Times New Roman"><span
lang=FR style='font-size:10.0pt'>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 size=2 face="Times New Roman"><span
lang=FR style='font-size:10.0pt'>Thanks</span></font><span lang=FR> </span></p>

<p style='margin-left:35.4pt'><font size=2 face="Times New Roman"><span
lang=FR style='font-size:10.0pt'>Pat Nolin</span></font><span lang=FR> </span></p>

</div>

</body>

</html>