Can you use a 'send mail' step to send emails to multiple users?

Dart, Jocelyn jocelyn.dart at sap.com
Tue Jan 10 02:45:28 EST 2006


Anne, 
You don't actually need a distribution list - although that is a useful
option. 
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 
"expression" option for recipients. 
 
 

Regards, 
Jocelyn Dart 
Senior Consultant 
SAP Australia Pty Ltd. 
Level 1/168 Walker St. 
North Sydney 
NSW, 2060 
Australia 
T   +61 412 390 267 
M   + 61 412 390 267 
E   jocelyn.dart at sap.com 
http://www.sap.com <http://www.sap.com/>  

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. 

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.

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. 

 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Aadesh
Sent: Monday, 09 January 2006 11:51 PM
To: 'SAP Workflow Users' Group'
Subject: RE: Can you use a 'send mail' step to send emails to multiple
users?


Hi Anne,
 
 Yes, Using Distribution list is the option which you need to use if you
want to send the mail to multiple users.
 
 Create a Method 'READDISTRIBUTIONLIST' as Synchronous in the Object
Type <Your Object>. 
 Distribution lists are created/maintained by Txn SO23. For retrieving
the member list of a Distribution 
 List, a Function Module 'SO_DLI_READ_API1' will be used in the method.
 
  Note: SHARED_DLI parameter in the FM is to be marked X for shared DLs.
 
  To use it in workflow, the following info may help:

 

     Resolve the Distribution List into an internal table of users and
bind it to a multi line container 

     element. This should be done as a background method by extending a
suitable object (SOFM for 

     instance) or in a custom method that precedes the mail step. Assign
the multilne container element 

     as recipients.

 

    Create a Task for the Distribution List and create the binding for
this Task with the Container element. 

    Similarly, a task should be created for 'Mail' with the Object
Category as BOR Object Type, Object 

    Type as 'SELFITEM' and Method as 'SENDTASKDESCRIPTION'. Put the
Check for Background 

    Processing, Synchronous Object Processing. No Binding is required in
this case.

   

Hope this will help.

 

Regards,

Aadesh

 

	-----Original Message----- 
	
	From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]On
Behalf Of Simmons, Anne E
	Sent: Wednesday, December 07, 2005 12:09 AM
	To: sap-wug at mit.edu
	Subject: Can you use a 'send mail' step to send emails to
multiple users?
	
	

	Hello all! 

	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?

	Thanks, 
	Anne 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060110/dfcade1a/attachment.htm


More information about the SAP-WUG mailing list