<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<font style="font-size:16pt;" color="#000000" face="Garamond" size="4">Thanks, David.&nbsp; Good stuff.<br id="FontBreak"></font><br><br><font style="" face="Garamond"><font style="font-size:12pt" size="3"><strong><font style="font-size:12pt" size="3">Ed Diehl</font><br></strong></font></font><br><br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Sun, 2 Dec 2012 02:03:27 -0500<br>From: David.G.Cooper@mail.com<br>Subject: how to determine sap workflow rule objectid?<br>To: sap-wug@mit.edu<br><br><span style="font-family:Verdana"><span style="font-size:12px"><div> 
        <p style="padding:0px;padding:0px;border:0px;outline:0px;font-family:arial, helvetica, sans-serif;vertical-align:baseline;background-color:rgb(248, 248, 248);color:rgb(51, 51, 51);line-height:15.600000381469727px"> 
                <span style="font-family:Verdana"><span style="font-size:12px">Hi Workflow Developers,</span></span></p> 
        <p style="padding:0px;padding:0px;border:0px;outline:0px;font-family:arial, helvetica, sans-serif;vertical-align:baseline;background-color:rgb(248, 248, 248);color:rgb(51, 51, 51);line-height:15.600000381469727px;min-height:8pt;height:8pt"> 
                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></p> 
        <p style="padding:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:rgb(248, 248, 248);color:rgb(51, 51, 51);line-height:15.600000381469727px"> 
                Found the solution.<br> 
                <br> 
                Read table HRS1000, then concatenate. &nbsp;See example below<br> 
                <br> 
                data: actor_tab like swhactor occurs 0,<br> 
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; act_object type rhobjects-object,<br> 
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ls_actor_container type swcont,<br> 
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lt_actor_container type table of swcont.<br> 
                data: ls_hrs1000 type hrs1000.<br> 
                <br> 
                Select *<br> 
                from HRS10000<br> 
                into ls_hrs1000<br> 
                where otype = 'AC'<br> 
                &nbsp; &nbsp; and language = 'E'<br> 
                &nbsp; &nbsp; and short = Rule_name.<br> 
                <br> 
                concatenate 'AC' ls_hrs1000-objid into act_object.<br> 
                <br> 
                call function 'RH_GET_ACTORS'<br> 
                exporting act_object = act_object<br> 
                tables<br> 
                actor_container = lt_actor_container<br> 
                actor_tab = actor_tab.</p> 
        <br> 
        <span style="font-family:Verdana"><span style="font-size:12px"><span id="ecxeditor_signature"><span style="font-family:Verdana;font-size:12px">Regards<br> 
        <br> 
        David&nbsp;Cooper<br> 
        David.G.Cooper@mail.com</span></span></span></span></div> 
</span></span>
<br>_______________________________________________
SAP-WUG mailing list
SAP-WUG@mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug</div>                                               </div></body>
</html>