<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>Hi Sherie,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please keep AC_CONTAINER&nbsp;&nbsp;type table of&nbsp;<!--StartFragment --> 
<STYLE type=text/css>  SPAN {  font-family: "Courier New";  font-size: 10pt;  color: #000000;  background: #FFFFFF;  }  </STYLE>
<SPAN>SWCONT</SPAN> </DIV>
<DIV>&nbsp;</DIV>
<DIV>The reason you&nbsp;get all possible agent is that you fill AC_CONTAINER&nbsp;incorrectly.</DIV>
<DIV>I assume you just filled&nbsp;ELEMENT and VALUE.&nbsp;This would work part of the times, depends on you data types. Instead,&nbsp;use macro SWC_SET_ELEMENT to fill AC_CONTAINER. In addition,&nbsp;make sure the ELEMENT name is same as you element in rule container and better be in capital letters.</DIV>
<DIV>&nbsp;</DIV>
<DIV>If it still does work please send the relevant part of your source.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Good luck,</DIV>
<DIV><BR>&nbsp;</DIV>
<P><FONT face="verdana, helvetica, sans-serif" color=#00007f size=2><STRONG>Regards,<BR>Shai Eyal</STRONG></FONT></P>
<P><FONT face=Verdana color=#000080 size=2><STRONG>SAP Logistics senior consultant<BR>SAP Workflow &amp; BPM specialist</STRONG></FONT></P>
<P><FONT face=Verdana color=#000080 size=2><STRONG><A href="http://www.linkedin.com/in/shaieyal" target=_blank rel=nofollow>http://www.linkedin.com/in/shaieyal</A><BR>Mobile: 972-52-5816633</STRONG></FONT></P>
<DIV><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Fri, 09 Oct 2009 18:28:33 -0400<BR>From: Ramki Maley &lt;<A href="mailto:rmaley@erpworkflow.com" ymailto="mailto:rmaley@erpworkflow.com">rmaley@erpworkflow.com</A>&gt;<BR>Subject: Re: Problem with RH_GET_ACTORS as method<BR>To: "SAP Workflow Users' Group" &lt;<A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>Message-ID: &lt;<A href="mailto:4ACFB911.7070404@erpworkflow.com" ymailto="mailto:4ACFB911.7070404@erpworkflow.com">4ACFB911.7070404@erpworkflow.com</A>&gt;<BR>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<BR><BR>Sherie,<BR><BR>You first need define the required parameters as import parameters in <BR>the method - use the same exact names as defined for the rule container. <BR>Then you need to pass the required values to the task in your step <BR>binding in WF definition.&nbsp; Pass the
 Container to the function module <BR>directly in the tables parameter as follows:<BR><BR>AC_CONTAINER = CONTAINER<BR><BR>HTH.<BR><BR>Cheers,<BR>Ramki.<BR><BR><BR><BR>Munday,Sherie J. wrote:<BR>&gt; Hello experts,<BR>&gt; <BR>&gt; I am finally working on the project that I previously discussed where I<BR>&gt; need to dynamically find the responsible agents for a task.&nbsp; I created a<BR>&gt; method on my object (see code attached) with the function RH_GET_ACTORS.<BR>&gt; And I named the WA_CONTAINER as an import parameter.&nbsp; When I run the<BR>&gt; function in SE37, putting the three values into ACTOR_CONTAINER I get<BR>&gt; the proper 2 agents.&nbsp; However when I run the method and I put the same<BR>&gt; three values into WA_ACTORCONTAINER I get 5 agents (all the possible<BR>&gt; agents for that rule).&nbsp; I have tried to debug, even asked some abap<BR>&gt; programmer co-workers for help... but can't seem to find the error of my<BR>&gt;
 ways.&nbsp; <BR>&gt; <BR>&gt; Any help would be greatly appreciated.<BR>&gt; Thanks,<BR>&gt; Sherie<BR>&gt; <BR>&gt; Sherie Munday<BR>&gt; SAP Workflow Developer/ Analyst<BR>&gt; Air Products &amp; Chemicals, Inc.<BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR></DIV></div><br>
      <hr size=1> <a href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/"> New Email names for you! </a> <br>
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail.<br>
Hurry before someone else does!</body></html>