<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>remove</TITLE>
</HEAD>
<BODY>
<BR>
<BR>
 
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Boulay, Serge [<A HREF="mailto:serge.boulay@sap.com">mailto:serge.boulay@sap.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, December 13, 2001 7:36 PM</FONT>
<BR><FONT SIZE=2>To: SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT SIZE=2>Subject: Re: SWX_GET_MANAGER and vacant position</FONT>
</P>
<BR>
 
<P><FONT SIZE=2>Hi Felipe,</FONT>
</P>
 
<P><FONT SIZE=2>That is what we are using but the problem is when the position, that is set</FONT>
<BR><FONT SIZE=2>as the superior of the employee, is vacant... The workflow comes out in</FONT>
<BR><FONT SIZE=2>error... The role 168 does not take care of a vacant position or we don't</FONT>
<BR><FONT SIZE=2>know how. The role return the position but it can not get the user...</FONT>
</P>
 
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: J. Felipe Uribe Duque [<A HREF="mailto:FelipeUribe@netscape.net">mailto:FelipeUribe@netscape.net</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, December 13, 2001 8:17 PM</FONT>
<BR><FONT SIZE=2>To: SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT SIZE=2>Subject: Re: SWX_GET_MANAGER and vacant position</FONT>
</P>
<BR>
 
<P><FONT SIZE=2>Hi Serge,</FONT>
</P>
 
<P><FONT SIZE=2>Have you try to use the role 168 (superior of...) in the task to aprove the</FONT>
<BR><FONT SIZE=2>expenses?, this role takes as a parameter the employee or&nbsp; the SAP user or</FONT>
<BR><FONT SIZE=2>the position (HR structure) to look for the boss, Obviusly it has to be set</FONT>
<BR><FONT SIZE=2>up in the Organizational Structure.</FONT>
</P>
 
<P><FONT SIZE=2>If you are not using the Organizational Structure from HR, you are alowed to</FONT>
<BR><FONT SIZE=2>create one from Workflow.</FONT>
</P>
 
<P><FONT SIZE=2>I hope It helps.</FONT>
</P>
 
<P><FONT SIZE=2>Regards.</FONT>
</P>
 
<P><FONT SIZE=2>Felipe Uribe.</FONT>
</P>
 
<P><FONT SIZE=2>&quot;Boulay, Serge&quot; &lt;serge.boulay@sap.com&gt; wrote:</FONT>
</P>
 
<P><FONT SIZE=2>&gt;The place i am working have put in place a workflow for approbation of the</FONT>
<BR><FONT SIZE=2>&gt;expenses. The approbator is the manager of the employee. The workflow use</FONT>
<BR><FONT SIZE=2>&gt;function SWX_GET_MANAGER to get it... If there is no one on the position</FONT>
<BR><FONT SIZE=2>the</FONT>
<BR><FONT SIZE=2>&gt;worflow gets in error. We have copied the fonction and make it go to the</FONT>
<BR><FONT SIZE=2>&gt;next manager but we where wondering if there is a standard way (create a</FONT>
<BR><FONT SIZE=2>&gt;relationship in PD) that the workflow would be able to do it without</FONT>
<BR><FONT SIZE=2>&gt;creating a new function?</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;Serge Boulay</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>--</FONT>
</P>
<BR>
<BR>
<BR>
 
<P><FONT SIZE=2>__________________________________________________________________</FONT>
<BR><FONT SIZE=2>Your favorite stores, helpful shopping tools and great gift ideas.</FONT>
<BR><FONT SIZE=2>Experience the convenience of buying online with Shop@Netscape!</FONT>
<BR><FONT SIZE=2><A HREF="http://shopnow.netscape.com/" TARGET="_blank">http://shopnow.netscape.com/</A></FONT>
</P>
 
<P><FONT SIZE=2>Get your own FREE, personal Netscape Mail account today at</FONT>
<BR><FONT SIZE=2><A HREF="http://webmail.netscape.com/" TARGET="_blank">http://webmail.netscape.com/</A></FONT>
</P>
 
</BODY>
</HTML>