<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Tahoma;
        color:navy;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-AU link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>I don&#8217;t think this is possible from
a resp rule, as you pointed out, you only have <st1:place w:st="on"><st1:PlaceName
 w:st="on">Work</st1:PlaceName> <st1:PlaceType w:st="on">Center</st1:PlaceType></st1:place>,
Job, Organizational unit, Person, Position and User available.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Some options are:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>If its just one role you could assign the
role directly to the workflow step (available on ECC6) <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Or if that&#8217;s not in your release, create
a rule (via trns PFAC), category &#8216;Function to be executed&#8217;, specify
RH_GET_STRUCTURE and an evaluation path that will derive agent from role, eg
SAP_TAGT (or create your own eval path (OOAW))<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Or write your own FM and assign to a
rule.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Have fun<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'>Mark<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Ola Ladi<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, 27 November 2007
4:05 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Agent assignment for
Responsibility Rule</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi Shai and Vijay,<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Thanks for your responses. I am actually using t.code OOCU_RESP but the
issue is that I am unable to use &quot;Roles&quot; defined in PFCG to assign
agents to the Rule. <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>The available options available are <st1:place w:st="on"><st1:PlaceName
 w:st="on">Work</st1:PlaceName> <st1:PlaceType w:st="on">Center</st1:PlaceType></st1:place>,
Job, Organizational unit, Person, Position and User, which do not meet my
requirement. My requirement is to use User Roles defined in PFCG in assigning
agents to the Rule.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Please assist.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Regards,<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Ola<br>
<br>
<b><i><span style='font-weight:bold;font-style:italic'>Shai Eyal
&lt;shai.eyal@yahoo.com&gt;</span></i></b> wrote:<o:p></o:p></span></font></p>

</div>

<blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'>

<div>

<div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Deal Ola,<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Try t.code OOCU_RESP.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><br>
&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><strong><b><font size=2 color="#00007f" face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:#00007F'>Regards,</span></font></b></strong><b><font
size=2 color="#00007f" face=Verdana><span style='font-size:10.0pt;font-family:
Verdana;color:#00007F;font-weight:bold'><br>
<strong><b><font face=Verdana><span style='font-family:Verdana'>Shai Eyal</span></font></b></strong></span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><strong><b><font size=2 color=navy face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:navy'>SAP Logistics senior
consultant</span></font></b></strong><b><font size=2 color=navy face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:navy;font-weight:bold'><br>
<strong><b><font face=Verdana><span style='font-family:Verdana'>SAP Workflow
specialist</span></font></b></strong><br>
<st1:City w:st="on"><st1:place w:st="on"><strong><b><font face=Verdana><span
  style='font-family:Verdana'>Mobile</span></font></b></strong></st1:place></st1:City><strong><b><font
face=Verdana><span style='font-family:Verdana'>: 972-52-5816633</span></font></b></strong></span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 26 Nov 2007 01:44:03 -0800 (PST)<br>
From: Ola Ladi &lt;<a href="mailto:ladi_ola2003@yahoo.com"
ymailto="mailto:ladi_ola2003@yahoo.com">ladi_ola2003@yahoo.com</a>&gt;<br>
Subject: Agent assignment for Responsibility Rule<br>
To: &quot;<st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName>&quot;
&lt;<a href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
Message-ID: &lt;<a href="mailto:20788.3447.qm@web36509.mail.mud.yahoo.com"
ymailto="mailto:20788.3447.qm@web36509.mail.mud.yahoo.com">20788.3447.qm@web36509.mail.mud.yahoo.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi All,<br>
&nbsp; <br>
&nbsp; I have created a responsibility rule and would like to assign agents to
the responsibilities by using &quot;User Roles&quot;. Is this possible? If yes,
how do I achieve this?<br>
&nbsp; <br>
&nbsp; NOTE: I know it is possible to use oganizaional objects like org units,
jobs, user ids, positions etc<br>
&nbsp; <br>
&nbsp; Thanks in anticapation.<br>
&nbsp; <br>
&nbsp; <br>
&nbsp; <br>
&nbsp; Regards,<br>
&nbsp; <br>
&nbsp; Ola<br>
<br>
&nbsp; &nbsp; &nbsp; <br>
---------------------------------<br>
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it
now.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a
href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20071126/d717cbad/attachment-0001.htm"
target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20071126/d717cbad/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 26 Nov 2007 16:28:53 -0000<br>
From: &quot;Carmen Cheung&quot; &lt;<a href="mailto:carmen.cheung@roc-group.com"
ymailto="mailto:carmen.cheung@roc-group.com">carmen.cheung@roc-group.com</a>&gt;<br>
Subject: Leave Approval WS12300111 - Agent_0001<br>
To: &lt;<a href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
Message-ID: &lt;003701c83049$7031d900$<a href="mailto:0700a8c0@rocgroup.com"
ymailto="mailto:0700a8c0@rocgroup.com">0700a8c0@rocgroup.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Hi All,<br>
<br>
<br>
<br>
I'm looking at copying the SAP standard workflow for Leave Approval<br>
WS12300111, in ERP 6.0 and have noticed that much of it has been written in<br>
ABAP OO.<br>
<br>
<br>
<br>
I need to derive a list of approvers according to the employee's position<br>
before sending it off for approval. Could anyone please advise as to what<br>
would be the best way to go about this? <br>
<br>
<br>
<br>
For example, with BOR objects in the old Leave Approval workflow<br>
(WS20000081), I could delegate the ABSENCE object. Should I now be creating<br>
a subtype of the ABAP class, (containing the leave request details as<br>
referenced in the workflow), with my new method to determine the approvers<br>
and include the workflow interfaces in this new sub-class? <br>
<br>
<br>
<br>
I would then reference this class and method in a workflow task.<br>
<br>
<br>
<br>
Please let me know if there's a better way to go about this.<br>
<br>
<br>
<br>
Many thanks,<br>
<br>
<br>
<br>
Carmen<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a
href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20071126/163a63f9/attachment.htm"
target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20071126/163a63f9/attachment.htm</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu" ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
<br>
End of SAP-WUG Digest, Vol 36, Issue 57<br>
***************************************<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<o:p></o:p></span></font></p>

</blockquote>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp; <o:p></o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=1 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Be a better pen pal. Text or chat with friends inside Yahoo! Mail. <a
href="http://us.rd.yahoo.com/evt=51732/*http:/overview.mail.yahoo.com/">See
how.</a><o:p></o:p></span></font></p>

</div>

<pre>
NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
</pre></body>

</html>