<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 <write2ananth@gmail.com></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>
"SAP Workflow Users' Group" <sap-wug@mit.edu></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">"SAP Workflow Users' Group"
<sap-wug@mit.edu></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 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. <MUNDAYSJ@airproducts.com> wrote:<br>
> Abir,<br>
> You can find the employee number (PERNR) from the userid by using
the<br>
> object USR01DOHR, attriubte "number".<br>
> Cheers,<br>
> Sherie<br>
><br>
> Sherie Munday<br>
> Workflow Developer/Analyst<br>
> Air Products & Chemicals, Inc.<br>
><br>
> -----Original Message-----<br>
> From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On
Behalf<br>
> Of Abir Kundu<br>
> Sent: Monday, July 02, 2007 4:01 AM<br>
> To: sap-wug@mit.edu<br>
> Subject: Problem with Rule while using FM<br>
><br>
> Hi,<br>
> In our current project, I've created one Function
Module<br>
> (Z_FIND_MANAGER) to find the manager, using the function templet of<br>
> SWX_GET_MANAGER. It was working fine with my custom rule, and was<br>
> returning the Manager(s) user-ids.<br>
> Now according to the changing requirement, we
also need to send<br>
> back the PERNR of the manager, along with the UserID. But if I add
one<br>
> exporting table parameter containing the PERNR(s) to my FM, the FM
is<br>
> not working with rule. Error reads, the Function module does not meet<br>
> the workflow conventions.<br>
> Is there any way-out that I can uses the FM in
the rule as well as<br>
> return the PERNR table to the workflow.<br>
><br>
> Thanks and Best Regards,<br>
> Abir Kundu<br>
> ____________________________________________<br>
> IBM India Private Limited<br>
> DLF IT Park, New Town,<br>
> P.S. Rajarhat, Distt.: 24 Parganas (N),<br>
> Kolkata 700156 , India<br>
> Board : +91 33 400 94000[Extn : 94262]<br>
> Direct : +91 33 400 94262<br>
> Mob : +91 98310 32936<br>
> ____________________________________________<br>
><br>
> _______________________________________________<br>
> SAP-WUG mailing list<br>
> SAP-WUG@mit.edu<br>
> http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
><br>
> _______________________________________________<br>
> SAP-WUG mailing list<br>
> SAP-WUG@mit.edu<br>
> http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
><br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br>