<br><font size=2 face="sans-serif">Hi Ananth,</font>
<br>
<br><font size=2 face="sans-serif">Correct me if I'm wrong, but If think
if infotype 105 is maintained at person level, the object-type P will also
get the workitem.</font>
<br>
<br><font size=2 face="sans-serif">br</font>
<br><font size=2 face="sans-serif">chris</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Ananth &lt;write2ananth@gmail.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Gesendet von: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">02.07.2007 22:39</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Bitte antworten an<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">An</font></div>
<td><font size=1 face="sans-serif">&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Kopie</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Thema</font></div>
<td><font size=1 face="sans-serif">Re: Problem with Rule while using FM</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi Abir,<br>
<br>
There is no need to add one more exporting parameter.<br>
ACTOR_TAB is a table of structure Otype and Objid, so it can have<br>
multiple entries with different otypes like for example : US AAAAAAA<br>
and &nbsp;P 00000001.<br>
<br>
Btw, the workitem will be sent only the userid (AAAAAAAA). The purpose<br>
of the rule is to find the agent/s dynamically.<br>
<br>
Regards<br>
Ananth<br>
<br>
On 7/2/07, Munday,Sherie J. &lt;MUNDAYSJ@airproducts.com&gt; wrote:<br>
&gt; Abir,<br>
&gt; You can find the employee number (PERNR) from the userid by using
the<br>
&gt; object USR01DOHR, attriubte &quot;number&quot;.<br>
&gt; Cheers,<br>
&gt; Sherie<br>
&gt;<br>
&gt; Sherie Munday<br>
&gt; Workflow Developer/Analyst<br>
&gt; Air Products &amp; Chemicals, Inc.<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On
Behalf<br>
&gt; Of Abir Kundu<br>
&gt; Sent: Monday, July 02, 2007 4:01 AM<br>
&gt; To: sap-wug@mit.edu<br>
&gt; Subject: Problem with Rule while using FM<br>
&gt;<br>
&gt; Hi,<br>
&gt; &nbsp; &nbsp; &nbsp;In our current project, I've created one Function
Module<br>
&gt; (Z_FIND_MANAGER) to find the manager, using the function templet of<br>
&gt; SWX_GET_MANAGER. It was working fine with my custom rule, and was<br>
&gt; returning the Manager(s) user-ids.<br>
&gt; &nbsp; &nbsp; &nbsp;Now according to the changing requirement, we
also need to send<br>
&gt; back the PERNR of the manager, along with the UserID. But if I add
one<br>
&gt; exporting table parameter containing the PERNR(s) to my FM, the FM
is<br>
&gt; not working with rule. Error reads, the Function module does not meet<br>
&gt; the workflow conventions.<br>
&gt; &nbsp; &nbsp; &nbsp;Is there any way-out that I can uses the FM in
the rule as well as<br>
&gt; return the PERNR table to the workflow.<br>
&gt;<br>
&gt; Thanks and Best Regards,<br>
&gt; Abir Kundu<br>
&gt; ____________________________________________<br>
&gt; IBM India Private Limited<br>
&gt; DLF IT Park, New Town,<br>
&gt; P.S. Rajarhat, Distt.: 24 Parganas (N),<br>
&gt; Kolkata 700156 , India<br>
&gt; Board : &nbsp; &nbsp; +91 33 400 94000[Extn : 94262]<br>
&gt; Direct : &nbsp; &nbsp; +91 33 400 94262<br>
&gt; Mob &nbsp; : &nbsp; &nbsp; +91 98310 32936<br>
&gt; ____________________________________________<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt;<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br>