<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD><TITLE>Can you use a 'send mail' step to send emails to multiple users?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=924244407-10012006><FONT face=Arial
color=#0000ff size=2>Anne, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=924244407-10012006><FONT face=Arial
color=#0000ff size=2>You don't actually need a distribution list - although that
is a useful option. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=924244407-10012006><FONT face=Arial
color=#0000ff size=2>You just need to put all of your addresses in a multline
container element and pass it in to the send mail step using the
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=924244407-10012006><FONT face=Arial
color=#0000ff size=2>"expression" option for recipients. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=924244407-10012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV> </DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Arial size=1>Regards,</FONT></SPAN> <BR><SPAN
lang=en-us><B><FONT face=Arial color=#000080 size=1>Jocelyn
Dart</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>Senior Consultant</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial
color=#808080 size=1>SAP Australia Pty Ltd.</FONT></B></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#808080 size=1>Level 1/168 Walker
St.</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>North Sydney </FONT></SPAN><BR><SPAN lang=en-us><FONT face=Arial
color=#808080 size=1>NSW, 2060</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#808080 size=1>Australia</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#808080 size=1>T +61 412 390
267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>M + 61 412 390 267</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#808080 size=1>E jocelyn.dart@sap.com</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1><A
href="http://www.sap.com/">http://www.sap.com</A></FONT></SPAN> </P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>The
information contained in or attached to this electronic transmission is
confidential and may be legally privileged. It is intended only for the person
or entity to which it is addressed. If you are not the intended recipient, you
are hereby notified that any distribution, copying, review, retransmission,
dissemination or other use of this electronic transmission or the information
contained in it is strictly prohibited. If you have received this electronic
transmission in error, please immediately contact the sender to arrange for the
return of the original documents. </FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Electronic
transmission cannot be guaranteed to be secure and accordingly, the sender does
not accept liability for any such data corruption, interception, unauthorized
amendment, viruses, delays or the consequences thereof.</FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Any views
expressed in this electronic transmission are those of the individual sender,
except where the message states otherwise and the sender is authorized to state
them to be the views of SAP AG or any of its subsidiaries. SAP AG, its
subsidiaries, and their directors, officers and employees make no representation
nor accept any liability for the accuracy or completeness of the views or
information contained herein. Please be aware that the furnishing of any pricing
information/ business proposal herein is indicative only, is subject to change
and shall not be construed as an offer or as constituting a binding agreement on
the part of SAP AG or any of its subsidiaries to enter into any relationship,
unless otherwise expressly stated. </FONT></SPAN></P>
<DIV> </DIV><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>Aadesh<BR><B>Sent:</B>
Monday, 09 January 2006 11:51 PM<BR><B>To:</B> 'SAP Workflow Users'
Group'<BR><B>Subject:</B> RE: Can you use a 'send mail' step to send emails to
multiple users?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial size=2>Hi
Anne,</FONT></SPAN></DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial size=2> Yes, Using
Distribution list is the option which you need to use if you want to send the
mail to multiple users.</FONT></SPAN></DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial size=2> <SPAN
style="COLOR: black; FONT-FAMILY: Helv">Create a Method ‘READDISTRIBUTIONLIST’
as Synchronous in the Object Type <Your Object>.
</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial size=2><SPAN
style="COLOR: black; FONT-FAMILY: Helv"> </SPAN><SPAN
style="COLOR: black; FONT-FAMILY: Helv">Distribution lists are
created/maintained by Txn SO23. For retrieving the member list of a Distribution
</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial size=2><SPAN
style="COLOR: black; FONT-FAMILY: Helv"> </SPAN><SPAN
style="COLOR: black; FONT-FAMILY: Helv">List, a Function Module
'SO_DLI_READ_API1' will be used in the method.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial size=2><SPAN
style="COLOR: black; FONT-FAMILY: Helv"></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial size=2><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><SPAN style="mso-spacerun: yes">
</SPAN>Note: SHARED_DLI parameter in the FM is to be marked X for shared
DLs.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial size=2><SPAN
style="COLOR: black; FONT-FAMILY: Helv"></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=515544512-09012006><FONT face=Arial color=#0000ff><FONT
size=2><SPAN style="COLOR: black; FONT-FAMILY: Helv"> </SPAN><SPAN
style="COLOR: black; FONT-FAMILY: Helv">To use it in workflow, the following
info may help:<o:p></o:p></SPAN></FONT></DIV>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; LINE-HEIGHT: 12pt; tab-stops: .5in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT
size=2> <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; tab-stops: .5in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Resolve the
Distribution List into an internal table of users and bind it to a multi line
container <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; tab-stops: .5in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>element. This should
be done as a background method by extending a suitable object (SOFM for
<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; tab-stops: .5in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>instance) or in a
custom method that precedes the mail step. Assign the multilne container element
<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; tab-stops: .5in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>as
recipients.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; tab-stops: .5in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT
size=2> <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; tab-stops: .5in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Create a Task for the
Distribution List and create the<SPAN style="mso-bidi-font-weight: bold">
binding for th<SPAN class=515544512-09012006>is</SPAN> Task with the
</SPAN></FONT></SPAN><SPAN
style="COLOR: black; FONT-FAMILY: Helv; mso-bidi-font-weight: bold"><FONT
size=2>Container element. <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; LINE-HEIGHT: 12pt; tab-stops: 0in .5in 1.0in 1.5in 2.0in 2.5in 3.0in; mso-layout-grid-align: none"><FONT
size=2><SPAN
style="COLOR: black; FONT-FAMILY: Helv; mso-bidi-font-weight: bold"><SPAN
style="mso-spacerun: yes"> </SPAN></SPAN><SPAN
style="COLOR: black; FONT-FAMILY: Helv">Similarly, a task should be created for
‘Mail’ with the Object Category as BOR Object Type, Object
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; LINE-HEIGHT: 12pt; tab-stops: 0in .5in 1.0in 1.5in 2.0in 2.5in 3.0in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Type as ‘SELFITEM’ and
Method as ‘SENDTASKDESCRIPTION’. Put the Check for Background
<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; LINE-HEIGHT: 12pt; tab-stops: 0in .5in 1.0in 1.5in 2.0in 2.5in 3.0in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Processing, Synchronous
Object Processing. No Binding is required in this
case.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; LINE-HEIGHT: 12pt; tab-stops: 0in 27.0pt .5in 1.0in 1.5in 2.0in 2.5in 3.0in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; LINE-HEIGHT: 12pt; tab-stops: 0in 27.0pt .5in 1.0in 1.5in 2.0in 2.5in 3.0in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT face=Arial size=2><SPAN
style="mso-tab-count: 1"><SPAN class=515544512-09012006>Hope this will
help.</SPAN></SPAN></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; LINE-HEIGHT: 12pt; tab-stops: 0in 27.0pt .5in 1.0in 1.5in 2.0in 2.5in 3.0in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT face=Arial color=#000000
size=2><SPAN style="mso-tab-count: 1"><SPAN
class=515544512-09012006></SPAN></SPAN></FONT></SPAN> </P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; LINE-HEIGHT: 12pt; tab-stops: 0in 27.0pt .5in 1.0in 1.5in 2.0in 2.5in 3.0in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT face=Arial size=2><SPAN
style="mso-tab-count: 1"><SPAN
class=515544512-09012006>Regards,</SPAN></SPAN></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; LINE-HEIGHT: 12pt; tab-stops: 0in 27.0pt .5in 1.0in 1.5in 2.0in 2.5in 3.0in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT face=Arial size=2><SPAN
style="mso-tab-count: 1"><SPAN
class=515544512-09012006>Aadesh</SPAN></SPAN></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt 17.85pt; LINE-HEIGHT: 12pt; tab-stops: 0in 27.0pt .5in 1.0in 1.5in 2.0in 2.5in 3.0in; mso-layout-grid-align: none"><SPAN
style="COLOR: black; FONT-FAMILY: Helv"><FONT size=2><SPAN
style="mso-tab-count: 1"></SPAN><o:p></o:p></FONT></SPAN> </P></FONT></SPAN>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<SPAN class=515544512-09012006><FONT
face=Arial color=#0000ff> </FONT></SPAN></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2><SPAN class=515544512-09012006></SPAN><BR><B>From:</B>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]<B>On Behalf Of
</B>Simmons, Anne E<BR><B>Sent:</B> Wednesday, December 07, 2005 12:09
AM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> Can you use a 'send mail'
step to send emails to multiple users?<BR><BR></DIV></FONT><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hello all!</FONT> </P>
<P><FONT face=Arial size=2>I am trying to figure out how to send notifications
to outlook using a 'send mail' step in my workflow definition. There is
an option to use an internet address, but it will only allow a single
address. Is there a way to use a distribution list or something of that
nature to send notifications to multiple external addresses?</FONT></P>
<P><FONT face=Arial size=2>Thanks,</FONT> <BR><FONT face=Arial
size=2>Anne</FONT> </P></BLOCKQUOTE></BODY></HTML>