08-18-2007 11:29 AM
Hi ,
I am using the FM "SO_DOCUMENT_SEND_API". I need to send mails to multiple recipens using the same. (keeping two of the persons in CC.)
Thanks
08-22-2007 10:01 PM
I don't think you can do CC from SAP but you can send the same email to more than one recipient. If you're always sending the same email to the same group, consider creating a distribution list on the mail server.
08-23-2007 3:51 AM
use the function module 'SO_NEW_DOCUMENT_SEND_API1'
in that one of the parameters is a 'receivers' table
declare it as follows
DATA: reclist TYPE STANDARD TABLE OF somlreci1 WITH HEADER LINE.
you can populate this table with all your receivers
when populating the reclist, there is one field called 'COPY'
set it to 'X' to send as cc
08-23-2007 4:23 AM
Hi Suman,
Try this hope your problem ends here.
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_data = idocument
document_type = 'RAW'
put_in_outbox = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
tables
object_header = ioutput
object_content = ioutput
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
receivers = int_irecievers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
others = 99
But it is not at all posible to send CC.
Rewards if useful.
Regards,
Kishore.