<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>How to find the HR unit of an user</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=395255806-06012005><FONT face=Arial 
color=#0000ff size=2>Folks, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=395255806-06012005><FONT face=Arial 
color=#0000ff size=2>There's a particularly beautiful BAPI function module, 
BAPI_EMPLOYEE_GETDATA, which lets you get the </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=395255806-06012005><FONT face=Arial 
color=#0000ff size=2>personnel data, organisation data, etc. based on&nbsp;a 
personnel number, or userid, or even just first name/last name.&nbsp; Very 
useful for those using HR and</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=395255806-06012005><FONT face=Arial 
color=#0000ff size=2>wanting to do something like Pat's request. 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=395255806-06012005><FONT face=Arial 
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=395255806-06012005><FONT face=Arial 
color=#0000ff size=2>Jocelyn </FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <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>Nolin.Patrice@hydro.qc.ca<BR><B>Sent:</B> Thursday,6 January 2005 6:02 
  AM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> How to find the HR unit of 
  an user<BR></FONT><BR></DIV>
  <DIV></DIV>
  <P><FONT size=2>Hello everybody, </FONT></P>
  <P><FONT size=2>Does someone know how to find the HR unit of a user starting 
  with the object USR01 ?</FONT> </P>
  <P><FONT size=2>Thanks</FONT> </P>
  <P><FONT size=2>Pat Nolin</FONT> </P></BLOCKQUOTE></BODY></HTML>