Problem with RH_GET_ACTORS as method
Ramki Maley
rmaley at erpworkflow.com
Fri Oct 9 18:28:33 EDT 2009
Sherie,
You first need define the required parameters as import parameters in
the method - use the same exact names as defined for the rule container.
Then you need to pass the required values to the task in your step
binding in WF definition. Pass the Container to the function module
directly in the tables parameter as follows:
AC_CONTAINER = CONTAINER
HTH.
Cheers,
Ramki.
Munday,Sherie J. wrote:
> Hello experts,
>
> I am finally working on the project that I previously discussed where I
> need to dynamically find the responsible agents for a task. I created a
> method on my object (see code attached) with the function RH_GET_ACTORS.
> And I named the WA_CONTAINER as an import parameter. When I run the
> function in SE37, putting the three values into ACTOR_CONTAINER I get
> the proper 2 agents. However when I run the method and I put the same
> three values into WA_ACTORCONTAINER I get 5 agents (all the possible
> agents for that rule). I have tried to debug, even asked some abap
> programmer co-workers for help... but can't seem to find the error of my
> ways.
>
> Any help would be greatly appreciated.
> Thanks,
> Sherie
>
> Sherie Munday
> SAP Workflow Developer/ Analyst
> Air Products & Chemicals, Inc.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
More information about the SAP-WUG
mailing list