cancel
Showing results for 
Search instead for 
Did you mean: 

how to send email to multiple recipients.

Former Member
0 Kudos

Hi,

I need to send an email to the second approver and CC to the first approver . How can I do this?

Please advice.

Thanks,

Anand

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Anand,

Either you can use the method mentioned above or declare an multiline container element and populate the userId's into the same using the ABAP programming and use the same element in the send mail step of the workflow template.

Hope this will help

Regards,

Samson

Former Member
0 Kudos

You can mark people in CC or BCC. But you cannot do this using a standard sendmail step. You need to write a custom methos which will call the FM "SO_NEW_DOCUMENT_SEND_API1". For details on parameters and sample code refer the documentation for this FM.

In the table parameter receivers populate the content as follows for To & CC mails

<i>* To recipents

CLEAR it_reclist.

it_reclist-receiver = 'tohcm@infosys.com'.

it_reclist-rec_type = 'U'.

APPEND it_reclist.

  • copy recipents

CLEAR it_reclist.

it_reclist-receiver = 'cchcm@infosys.com'.

it_reclist-rec_type = 'U'.

it_reclist-copy = 'X'.

APPEND it_reclist.</i>

Similarly if BCC is required populate <b>it_reclist-BLIND_COPY = 'X'</b>

Thanks,

Prasath N

Former Member
0 Kudos

Hello Anand,

You can email to multiple recipients , but i wonder whether we can cc the mail to some one else.

For ECC 6.0, you can use swnconfig to send email and if it is below :

Hope this helps.

Best Regards,

Saujanya