how to determine sap workflow rule objectid?

Edward Diehl edwarddiehl at hotmail.com
Sun Dec 2 06:20:12 EST 2012


Thanks, David.  Good stuff.

Ed Diehl




Date: Sun, 2 Dec 2012 02:03:27 -0500
From: David.G.Cooper at mail.com
Subject: how to determine sap workflow rule objectid?
To: sap-wug at mit.edu

 
	 
		Hi Workflow Developers, 
	 
		  
	 
		Found the solution.
 
		
 
		Read table HRS1000, then concatenate.  See example below
 
		
 
		data: actor_tab like swhactor occurs 0,
 
		          act_object type rhobjects-object,
 
		         ls_actor_container type swcont,
 
		         lt_actor_container type table of swcont.
 
		data: ls_hrs1000 type hrs1000.
 
		
 
		Select *
 
		from HRS10000
 
		into ls_hrs1000
 
		where otype = 'AC'
 
		    and language = 'E'
 
		    and short = Rule_name.
 
		
 
		concatenate 'AC' ls_hrs1000-objid into act_object.
 
		
 
		call function 'RH_GET_ACTORS'
 
		exporting act_object = act_object
 
		tables
 
		actor_container = lt_actor_container
 
		actor_tab = actor_tab. 
	
 
	Regards
 
	
 
	David Cooper
 
	David.G.Cooper at mail.com 


_______________________________________________
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/20121202/00aa612b/attachment-0001.htm


More information about the SAP-WUG mailing list