Function module to execute PFAC rule

Edward Diehl edwarddiehl at hotmail.com
Tue May 29 10:36:04 EDT 2012


This looks like what I'm wanting.  Thanks.

Ed Diehl



 



Date: Tue, 29 May 2012 19:53:58 +0530
Subject: Re: Function module to execute PFAC rule
From: sangvir.singh at gmail.com
To: sap-wug at mit.edu

Hi,
You can pass the  rule number in  exporting parameter 'act_object' as shown below.
Also you need to fill the ACTOR_CONTAINER table with container filed values.








Get Responsibles from rule 90000054
  CALL FUNCTION 'RH_GET_ACTORS'
    EXPORTING
      act_object                = 'AC90000054'
      search_date               = sy-datum
    TABLES
      actor_container           = i_swcont
      actor_tab                 = i_swhactor
    EXCEPTIONS
      no_active_plvar           = 1
      no_actor_found            = 2
      exception_of_role_raised  = 3
      no_valid_agent_determined = 4
      no_container              = 5
      OTHERS                    = 6.


Regards,
Sangvir Singh


On Tue, May 29, 2012 at 7:38 PM, Edward Diehl <edwarddiehl at hotmail.com> wrote:



Hi All,
This question has been asked before, but I can't find it in the archives.
 
I need a function to execute a rule (PFAC) in a background task prior to the actual task that uses the actor_tab results.
 
Any help would be appreciated.
 
Thanks,
 
Ed Diehl

 

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




-- 
Regards,
Sangvir Singh
9212019197

Before printing this e-mail, ask yourself whether you need a hard copy! 

_______________________________________________ SAP-WUG mailing list SAP-WUG at mit.edu http://mailman.mit.edu/mailman/listinfo/sap-wug 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20120529/89853d07/attachment-0001.htm


More information about the SAP-WUG mailing list