Sending emails in workflows

Getliffe, Daniel dan.getliffe at sap.com
Mon May 17 09:43:51 EDT 2004


Hi Werner,
 
It is not possible to define the sender as a variable with the SELFITEM.SENDTASKDESCRIPTION method.  You will need to create a new method using the MESSAGE and RECIPIENT business objects.  You need to create an instance of the MESSAGE object containing the content required for the message and then instances of the RECIPIENT object for the sender and recipients.
 
I think there is probably an Object Oriented ABAP way of doing this with classes now (it was a while ago that I did it) as I had a quick look at the help - go to help.sap.com and into the Enterprise help and then search for Business Communication Services and Senders and Receivers and there should be information about achieving this.
 
Regards,
 
Dan.
 
Dan Getliffe
Workflow Consultant - Technology Consulting
 
SAP (UK) Ltd
Clockhouse Place, Bedfont Road,
Feltham, Middlesex TW14 8HD
 
T   +44 (0)20 8917 8113
F   +44 (0)20 8917 6461
M  +44 (0)7764 978113
E   dan.getliffe at sap.com
 
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of Daucher Werner
Sent: 17 May 2004 14:15
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Sending emails in workflows
 
 
Greetings,
 
I am using method SELFITEM.SENDTASKDESCRIPTION for sending emails.
The sender is always the user wf-batch.
Is it possible to define the sender as a variable, i.e. the workflow initiator?
 
best regards
 
werner
 


More information about the SAP-WUG mailing list