<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=056000811-29022008><FONT face=Arial
color=#0000ff size=2>Hi Ashish,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=056000811-29022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=056000811-29022008> <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 class=056000811-29022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=056000811-29022008><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>
<DIV dir=ltr align=left><SPAN class=056000811-29022008><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>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Ashish
Nagpal<BR><B>Sent:</B> Friday, February 29, 2008 7:43 AM<BR><B>To:</B> SAP
Workflow Users' Group<BR><B>Subject:</B> Re: Send mail step<BR></FONT><BR></DIV>
<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
href="mailto:Vinod.Viswanathan@in.fujitsu.com">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 class=Ih2E3d>
<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 class=Ih2E3d><B>From:</B> <A href="mailto:sap-wug-bounces@mit.edu"
target=_blank>sap-wug-bounces@mit.edu</A> [mailto:<A
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 class=Wj3C7c><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 class=Wj3C7c>
<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 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
href="mailto:sap-wug-bounces@mit.edu"
target=_blank>sap-wug-bounces@mit.edu</A> [mailto:<A
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
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 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
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 href="mailto:SAP-WUG@mit.edu"
target=_blank>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>_______________________________________________<BR>SAP-WUG
mailing list<BR><A href="mailto:SAP-WUG@mit.edu"
target=_blank>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></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 href="mailto:SAP-WUG@mit.edu"
target=_blank>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></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 href="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></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>life is all about the moments that take ur heart away
</BODY></HTML>