how to determine sap workflow rule objectid?

Florin Wach florin.wach at gmx.net
Sun Dec 2 13:04:24 EST 2012


Great. Thank you for sharing this.

Am 02.12.2012 um 08:03 schrieb "David Cooper" <David.G.Cooper at mail.com>:

> 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/61933637/attachment.htm


More information about the SAP-WUG mailing list