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

Aadesh aadesh.srivastava at patni.com
Mon Jan 9 07:51:07 EST 2006


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:<?xml:namespace prefix
= o ns = "urn:schemas-microsoft-com:office:office" />

 

     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 --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 7208 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20060109/eb362144/attachment.bin


More information about the SAP-WUG mailing list