Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CC field in email using SO_NEW_DOCUMENT_ATT_SEND_API1

Former Member
0 Kudos
256

Hi,

im using FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send email and it works fine. my problem is i dont know how to fill the 'CC' field of my email, im using MS Outlook by the way.

thanks for your support!

1 ACCEPTED SOLUTION

Former Member
0 Kudos
116

try this for CC..

reeivers-rec_id = abc@xyz.com.
receivers-copy = 'X'.
append receivers.

4 REPLIES 4

Former Member
0 Kudos
117

try this for CC..

reeivers-rec_id = abc@xyz.com.
receivers-copy = 'X'.
append receivers.

Former Member
0 Kudos
116

hi Jesus,

do this way ..

You need to give copy = 'X' for the parameter you are passing.

For eg..

i.e,


itab-receiver = 'xyz@yahoo.com'.
itab-express = 'X'.
itab-copy = ''.
itab-rec_type = 'U'. "Internet address
APPEND itab.

itab-receiver = 'abc@yahoo.com'.
itab-express = 'X'.
itab-copy = 'X'.
itab-rec_type = 'U'. "Internet address
APPEND itab. 

*itab-copy = 'X'.
*append itab.
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1' 
...
tables
receivers = itab
....

Message was edited by:

Santosh Kumar Patha

former_member181962
Active Contributor
0 Kudos
116

In the RECEIVERS

table, there is a field COPY. Set that to 'X'.

Regards,

Ravi

Former Member
0 Kudos
116

Thanks guys