how to determine sap workflow rule objectid?

David Cooper David.G.Cooper at mail.com
Sun Dec 2 02:03:27 EST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20121202/ea0555d0/attachment.htm


More information about the SAP-WUG mailing list