Problem with RH_GET_ACTORS as method

Sheldon Oxenberg soxenber at csc.com
Fri Oct 9 16:49:29 EDT 2009


Hello Sherie,

I hope all is well for you.

You may need to try this DATA definition instead:
wa_actorcontainer STRUCTURE SWCONT.

And you could use your favorite search engine with "sap call function
rh_get_actor"
:)

SHELDON OXENBERG
System Architect Principal Leader
LMP Technical Architect, SAP Workflow
CSC



                                                                           
             "Munday,Sherie                                                
             J."                                                           
             <MUNDAYSJ at airprod                                          To 
             ucts.com>                 "SAP Workflow Users' Group"         
             Sent by:                  <sap-wug at MIT.EDU>                   
             sap-wug-bounces at M                                          cc 
             IT.EDU                                                        
                                                                   Subject 
                                       Problem with RH_GET_ACTORS as       
             10/09/2009 12:13          method                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
               "SAP Workflow                                               
               Users' Group"                                               
             <sap-wug at MIT.EDU>                                             
                                                                           
                                                                           




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.
(See attached file: GetActorsMethod.doc)
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GetActorsMethod.doc
Type: application/msword
Size: 31232 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20091009/335fea14/attachment.doc


More information about the SAP-WUG mailing list