Send-Email Task

Ronen Fox Ronen.Fox at ness.com
Sun Mar 16 00:49:29 EST 2003


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
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Werner K=F6=DFl
Sent: Wednesday, March 12, 2003 2:42 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: AW: Send-Email Task
 
 
Hi Ken,
 
just a hint!
we also had the problem with the SELFITEM method SENDTASKDESCRIPTION a =
few
weeks ago.
After some conversations with SAP we solved the problem:
We had to clear the NO_ENTRY flag in table TSOPE (transaction SOPE) for =
RAW,
because the mails are type RAW.
 
Regards,
Werner.
 
 
-----Urspr|ngliche Nachricht-----
Von: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]Im Auftrag von
Ken Susen
Gesendet: Dienstag, 11. Mdrz 2003 17:28
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Send-Email Task
 
 
Hello Everyone,
 
I asked this once before, would anyone know why I get the following =
error
message for an internet mail send. The error is the following;
******************
Work item 000003380350: Object DP1CL320 SELFITEM 000003380350 method
SENDTASKDESCRIPTION cannot be executed
Message no. WL 821
 
Diagnosis
The call of the object methods for the work item ended with a return =
code
for
which there is no handling defined in the workflow. This is regarded as =
an
error
by the work item manager (WIM).
 
System Response
The work item was set to error status, the return values from the =
object
method
were saved.
 
Procedure
Check the saved return values of the object method. In particular, =
check
whether
 
an application (ERRORCODE =3D 1) or
a system error (ERRORCODE =3D 2) is involved.
In the case of an application error, please check your workflow =
definition
and
the implementation of your object methods.
 
In the case of a system error, please contact your workflow system
administrator. In this case also check whether there is an error in the
binding
definition between task and method.
*****************
I have entered an e-mail address for WF-BATCH. The error is immediate. =
Don't
know how to look at the "saved return values of object method".
 
 
 
Regards,
Ken
 
*******************************************
Kenneth Susen
NA SAP Production Planning
400 Ridgefield Court
Asheville, NC  28806
(828) 665-6229 office
(828) 781-3544 mobile
Ken.Susen at usa.contiteves.com
********************************************
 


More information about the SAP-WUG mailing list