<div>hi vindo</div>
<div> </div>
<div>problem solved,i created my own method and call custom fm in it and it solved my entire purpose</div>
<div> </div>
<div>thanks for helping out</div>
<div> </div>
<div>regards</div>
<div>ashish<br><br> </div>
<div><span class="gmail_quote">On 2/29/08, <b class="gmail_sendername">Vinod Viswanathan</b> <<a href="mailto:Vinod.Viswanathan@in.fujitsu.com">Vinod.Viswanathan@in.fujitsu.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Hi Ashish,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span> <font face="Arial" color="#0000ff" size="2">Its a custom FM and not a standard FM so it wont make sense for me to give to the name of the FM because I created it and will not be available in your system. You have to create a Function Module using SE37 instead of your report and add your logic for fetching email addresses. Then create your BOR method using this FM. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"> I think you must go through some basic documentation of how to use a BOR method and how to bind values from the workflow to the method. As of now, Create input and output parameter for the method linked to the FM and then pass values from and to the Standard Task by binding the variables.</font></span></div>
<span class="q">
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><em><font color="#800000" size="2">Best Regards,</font></em></div>
<div align="left"><em><font color="#800000" size="2">Vinod Viswanathan</font></em></div>
<div align="left"><em><font color="#800000" size="2">Workflow Consultant</font></em></div>
<div align="left"><em><font color="#800000" size="2">Fujitsu Consulting - Pune</font></em></div>
<div align="left"><em><font color="#800000" size="2">Phone: +91 20 40722000 Extn:2370</font></em></div>
<div><font face="Arial" color="#0000ff" size="2"></font> </div><em><font color="#800000" size="2"></font></em><em><font color="#800000" size="2"></font></em><br></span>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><span class="q"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Ashish Nagpal<br>
</span><b>Sent:</b> Friday, February 29, 2008 7:43 AM
<div><span class="e" id="q_11864ee6c60a90a1_5"><br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> Re: Send mail step<br></span></div></font><br> </div>
<div><span class="e" id="q_11864ee6c60a90a1_7">
<div></div>HI Vinod<br><br>thanks once again for the reply,can you please tell me which custom FM u used for ur purpose,in my case i have enhanced my object type and created a new method which will serve my purpose and rest of the part is same as u r saying,in my case i am retrieving email id from table AD_SMTPADR,but i have one problem with the method i have created ,i get the value into the container of method,but can u please tell me how should i set the value which i am getting when giving the input.<br>
<br>i am using a report in the method so that whenever i give customer id i will get his/her email id ,the entries of which i have maintained in my Z table.<br><br>please clear as much as possible<br><br>thanks once again<br>
best regards<br>ashish<br><br>
<div class="gmail_quote">2008/2/26 Vinod Viswanathan <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Vinod.Viswanathan@in.fujitsu.com" target="_blank">Vinod.Viswanathan@in.fujitsu.com</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Hi Ashish,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">1. I have been using a custom FM so far. May be relevant for you too because i believe these email ids are being stored in some custom table in your case. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"> Do let me know if </font></span><span><font face="Arial" color="#0000ff" size="2">there is a method that works better and gives better efficiency. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">2. u need to create a BOR method using this FM... bind the import export parameters of the method. Create a task</font></span><span><font face="Arial" color="#0000ff" size="2">.</font></span><span><font face="Arial" color="#0000ff" size="2"> Then bind the workflow and the task parameters. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Hope this helps.</font></span></div>
<div>
<div dir="ltr" align="left"><span></span><span></span><font face="Arial" color="#0000ff" size="2"></font> </div>
<div align="left"><i><font color="#800000" size="2">Best Regards,</font></i></div>
<div align="left"><i><font color="#800000" size="2">Vinod Viswanathan</font></i></div>
<div align="left"><i><font color="#800000" size="2">Workflow Consultant</font></i></div>
<div align="left"><i><font color="#800000" size="2">Fujitsu Consulting - Pune</font></i></div>
<div align="left"><i><font color="#800000" size="2">Phone: +91 20 40722000 Extn:2370</font></i></div>
<div> </div><br> </div>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2">
<div><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Ashish Nagpal<br>
</div><b>Sent:</b> Tuesday, February 26, 2008 1:32 PM
<div>
<div></div>
<div><br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> Re: Send mail step<br> </div></div></font><br> </div>
<div>
<div></div>
<div>
<div></div>
<div>hi vinod</div>
<div> </div>
<div>thanks for the reply,yeah it was relevant ,one more thing i want to ask if you could please explain:</div>
<div> </div>
<div>1. how to fetch those email ids to internal table,do i need to make my own function module </div>
<div> or is there any standard like rh_get_structure i can use.</div>
<div> </div>
<div>2. secondly,how to pass this internal table to workflow container.</div>
<div> </div>
<div>if you can please explain these steps,i have a little confusion over it .</div>
<div> </div>
<div>thanks a lot</div>
<div> </div>
<div>regards</div>
<div>ashish<br><br> </div>
<div><span class="gmail_quote">On 2/26/08, <b class="gmail_sendername">Vinod Viswanathan</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Vinod.Viswanathan@in.fujitsu.com" target="_blank">Vinod.Viswanathan@in.fujitsu.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Hi Ashish,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">give the recipient type as U (email address) in the mail tab of the <b>send mail</b> step.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">you can fetch email addresses in an internal table and pass it to the workflow container.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">this table can be passed as expression and the email will go to the external email ids. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">please let me know if this solution was relevant to your question.</font></span></div><span>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><img src="cid:056000811@29022008-2BA8"></span></div>
<div> </div>
<div align="left"><i><font color="#800000" size="2">Best Regards,</font></i></div>
<div align="left"><i><font color="#800000" size="2">Vinod Viswanathan</font></i></div>
<div align="left"><i><font color="#800000" size="2">Workflow Consultant</font></i></div>
<div align="left"><i><font color="#800000" size="2">Fujitsu Consulting - Pune</font></i></div>
<div align="left"><i><font color="#800000" size="2">Phone: +91 20 40722000 Extn:2370</font></i></div>
<div> </div><br></span>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Ashish Nagpal<br>
<b>Sent:</b> Tuesday, February 26, 2008 7:33 AM<br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> Re: Send mail step<br></font><br> </div>
<div><span>
<div></div>hi vinod<br>can you please elaborate on what u said "<span><font face="Arial" color="#0000ff" size="2">Change the type to 'U' in the send mail step"<br><br>it will be so nice of you<br><br>thanks a lot<br>
<br>regards<br>ashish<br></font></span><br>
<div class="gmail_quote">On Tue, Feb 26, 2008 at 5:43 AM, <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:kaukabr@yahoo.com" target="_blank">kaukabr@yahoo.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Depends on your address strings, notification is an<br>e-mail FYI hope you will be using send description<br>
method.<br>Regards<br>AZ<br>--- "Devireddy Swathi (Dataflo)"<br>
<div>
<div></div>
<div><<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:devireddy.swathi@dataflo.co.za" target="_blank">devireddy.swathi@dataflo.co.za</a>> wrote:<br><br>> Hi,<br>><br>> My requirement is to send e-mails to people attached<br>
> to a particular<br>> position or work center.<br>><br>> And I retrieve them from a custom table.<br>><br>> Can I use a standard mail step to send e-mails by<br>> giving an expression<br>> and sending it to them.<br>
><br>> But this actually sends a notification and not an<br>> e-mail.<br>><br>> Is there a background job which converts these<br>> notifications to e-mails<br>> by fetching corresponding users attached to the<br>
> position/workcenter<br>><br>><br>><br>><br>><br>> Thanks & Regards<br>><br>> Swathi Devireddy<br>><br>> Coke SCALE<br>><br>> Satyam Computer Services Ltd<br>><br>> * : +27 745024070<br>
><br>><br>><br>><br>><br>--------------------------------------------------------------------------------<br>><br>> This email and all contents are subject to the<br>> following disclaimer:<br>><br>
> "<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.dataflo.co.za/emaildisclaimer.htm" target="_blank">http://www.dataflo.co.za/emaildisclaimer.htm</a>"<br>><br>><br>><br> </div>
</div>--------------------------------------------------------------------------------<br>> > _______________________________________________<br>> SAP-WUG mailing list<br>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>
> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>><br><br>_______________________________________________<br>
SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>life is all about the moments that take ur heart away </span></div></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br></blockquote></div><br><br clear="all">
<br>-- <br>life is all about the moments that take ur heart away </div></div></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br></blockquote></div><br><br clear="all">
<br>-- <br>life is all about the moments that take ur heart away </span></div></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br></blockquote></div><br><br clear="all">
<br>-- <br>life is all about the moments that take ur heart away