<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)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Rage Italic";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
 /* 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:purple;
        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.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi <st1:place w:st="on">Krishna</st1:place>,<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks for the solution.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>In my case that solution will not work as the e-maild s
entered by the requestor will not have a user id in the system<o:p></o:p></span></font></p>

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

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

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks &amp; Regards</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><strong><b><font size=4 face="Rage Italic"><span
style='font-size:13.5pt;font-family:"Rage Italic"'>Swathi Devireddy</span></font></b></strong><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=1 face=Arial><span style='font-size:7.5pt;
font-family:Arial'>Coke SCALE</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=1 face=Arial><span style='font-size:7.5pt;
font-family:Arial'>Satyam Computer Services Ltd</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=4 color=black face=Webdings><span
style='font-size:13.0pt;font-family:Webdings;color:black'>&Egrave;</span></font><font
size=4 color="#333399" face=Webdings><span style='font-size:13.0pt;font-family:
Webdings;color:#333399'> </span></font><font size=1 color=black face=Arial><span
style='font-size:7.5pt;font-family:Arial;color:black'>: +27 745024070</span></font><o:p></o:p></p>

</div>

<p style='margin-bottom:12.0pt'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>Hi,<br>
<br>
I think its not a good idea to use note_create to<br>
allow the&nbsp; user to enter the required e-mail address<br>
in free text. However, i suggest the following way to<br>
do this<br>
<br>
1. When the creator of material submits it for<br>
approval, create a new dialog step based on<br>
WF_TASK.GetListAndDispatch ( or Dispatch will do,<br>
check other methods available on WF_TASK). put the<br>
actual_agent of earlier workitem as the agent of this<br>
step. make this task as a general.In the runtime when<br>
this gets executed user will be given a chance to<br>
select the people ( based on org structure either,<br>
user/position/org unit, in your case may be User is<br>
enough) and the selected people will be returned in<br>
SELECTEDOBJECTLIST export parameter.<br>
&nbsp;- just to get a feel of it, put WF_TASK in test mode<br>
from SWO1 and execute this method and see.<br>
<br>
2. Get this SELECTEDOBJECTLIST to your workflow using<br>
binding and you can use this later to find the correct<br>
e-mail address(es) of user(s) ( may be you can use<br>
BAPI_USER_GET_DETAIL to get e-mail address) and you<br>
can send e-mail to them.<br>
<br>
3. Also enable 'Advance with Dialog' option on your<br>
step sending workitem to creator so that the next<br>
workitem for this newly created step (for selecting<br>
extra people to be informed) will follow dialog chain<br>
and appear in creator's inbox just after user submits<br>
for approval. When calling WF_TASK.GetListAndDispatch<br>
in your step, you can put 'Title' as per your wish<br>
something like 'Choose the user names to which you<br>
would like to send the notification after approval'.<br>
<br>
WF_TASK.&lt;methods related to getagents/dispatch&gt; are<br>
basically used in scenarios where you want the user to<br>
select the next processor dynamically. However in this<br>
case, you are not really using them as 'processors'<br>
but as just 'informers' :-)<br>
<br>
Hope this helps you !!<br>
<br>
<br>
<br>
Regards<br>
<st1:place w:st="on">Krishna</st1:place> Mohan Dubbaka<br>
SAP Workflow Consultant<br>
Satyam Computer Services Ltd<br>
<st1:place w:st="on"><st1:City w:st="on">Bangalore</st1:City>, <st1:country-region
 w:st="on">India</st1:country-region></st1:place>.<br>
<br>
<br>
<br>
--- &quot;Devireddy Swathi (Dataflo)&quot;<br>
&lt;devireddy.swathi@dataflo.co.za&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt;&nbsp;<br>
&gt;<br>
&gt; My requirement is when there is a change in a<br>
&gt; material a work item goes<br>
&gt; to requestor (creator of material) .If he submits<br>
&gt; for approval he should<br>
&gt; have the option to type some additional e-mails to<br>
&gt; notify them if the<br>
&gt; request is Approved.<br>
&gt;<br>
&gt; After requestor submits for Approval it goes to<br>
&gt; Approver.IF approver<br>
&gt; approves e-mail needs to be sent to all of them.<br>
&gt;<br>
&gt;&nbsp;<br>
&gt;<br>
&gt; I am planning to call note_create after requestor<br>
&gt; submits .But how do I<br>
&gt; retrieve the contents of the note in backend after<br>
&gt; the approver<br>
&gt; approves.<br>
&gt;<br>
&gt;&nbsp;<br>
&gt;<br>
&gt; Is there a better way to handle this requirement.<br>
&gt;<br>
&gt;&nbsp;<br>
&gt;<br>
&gt; I don't want to do a database update with a module<br>
&gt; pool screen.<br>
&gt;<br>
&gt;&nbsp;<br>
&gt;<br>
&gt;&nbsp;&nbsp;<br>
&gt;<br>
&gt; Thanks &amp; Regards<br>
&gt;<br>
&gt; Swathi Devireddy<br>
&gt;<br>
&gt; Coke SCALE<br>
&gt;<br>
&gt; Satyam Computer Services Ltd<br>
&gt;<br>
&gt; * : +27 745024070<br>
&gt;<br>
&gt;&nbsp;<br>
&gt;<br>
&gt;<br>
&gt;<br>
--------------------------------------------------------------------------------<br>
&gt;<br>
&gt; This email and all contents are subject to the<br>
&gt; following disclaimer:<br>
&gt;<br>
&gt; &quot;<a
href="https://imailhyd.satyam.com/exchweb/bin/redir.asp?URL=http://www.dataflo.co.za/emaildisclaimer.htm"
target="_blank">http://www.dataflo.co.za/emaildisclaimer.htm</a>&quot;<br>
&gt;<br>
&gt;<br>
&gt;<br>
--------------------------------------------------------------------------------<br>
&gt; &gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; <a
href="https://imailhyd.satyam.com/exchweb/bin/redir.asp?URL=http://mailman.mit.edu/mailman/listinfo/sap-wug"
target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
&gt;<br>
<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
____________________________________________________________________________________<br>
Be a better friend, newshound, and<br>
know-it-all with Yahoo! Mobile.&nbsp; Try it now.&nbsp; <a
href="https://imailhyd.satyam.com/exchweb/bin/redir.asp?URL=http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ"
target="_blank">http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a><br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
<a
href="https://imailhyd.satyam.com/exchweb/bin/redir.asp?URL=http://mailman.mit.edu/mailman/listinfo/sap-wug"
target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></span></font><font
size=1 face="Courier New"><span style='font-size:8.5pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<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>


<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">This email 
and all contents are subject to the following disclaimer:<?xml:namespace prefix 
= o ns = "urn:schemas-microsoft-com:office:office" 
/><o:p></o:p></SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">"<A 
title="http://www.dataflo.co.za/emaildisclaimer.htm&#10;blocked::http://www.dimensiondata.com/emaildisclaimer.htm" 
href="http://www.dataflo.co.za/emaildisclaimer.htm">http://www.dataflo.co.za/emaildisclaimer.htm</A>"<o:p></o:p></SPAN></FONT></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
size=2><SPAN lang=EN-ZA style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
</body>

</html>