Send mail to several receivers

Fred Lunaspa fredlunaspa at hotmail.com
Thu Apr 10 10:32:14 EDT 2003


Werner,
 
Below a former contribution to this mail list:
 
===
Ken,
 
Two alternatives for performing your task:
 
1. create a background method that uses function module RH_GET_ACTORS, where
you send the role name and parameters to the function and get back the list
of recipients, then store them in your container. include a task based on
this method before your send mail step in the workflow.
 
2. create a multiline virtual attribute in your business object that uses
the same function module to populate the attribute, then use the attribute
as an expression for the recipient in your send mail step
 
hope this helps
best regards,
Ronen
 
-----Original Message-----
From: Ken Susen [mailto:Ken.Susen at usa.contiteves.com]
Sent: Thursday, March 13, 2003 6:14 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Send-Email Task
 
 
Hello Ronen,
Thanks for the help. um...How do you collect the recipients into a multiline
container. I created it but...
 
Thks,
Ken
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Ronen Fox
Sent: Thursday, March 13, 2003 12:10 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Send-Email Task
 
 
Ken,
For sending an email to several recipients, you have to collect the
recipients into a multiline container element
based on data type wfsyst-agent and use this container element as an
expression for the agent (mail recipient) of the
send mail step.
Thank you,
Ronen Fox
 
-----Original Message-----
From: Ken Susen [mailto:Ken.Susen at usa.contiteves.com]
Sent: Wednesday, March 12, 2003 2:56 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Send-Email Task
 
 
Thanks Werner,
One other question..If you have several e-mail addresses to send to, do you
add
them all into the E-Mail address box? If so what is the format? Is there a
semi-colon space to separate the addresses?
 
Or can you use an org level then make a determination of e-mail addresses
through the SAP User profile?
 
Regards,
Ken
===
 
Regards,
 
Fred
 
 
 
 
 
 
>From: Werner Kv_l <werner.koessl at hirschvogel.de>
>Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Send mail to several receivers
>Date: Wed, 9 Apr 2003 17:00:53 +0200
>
>Hi workflowers,
>
>i use a workflow step where i want to send a mail to several org units.
>So, what is the best way to send a mail to several receivers?
>Use a role or an expression or something else???
>
>Thanks!
>
>Regards,
>Werner.
 
 
_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/
 


More information about the SAP-WUG mailing list