Application Development and Automation 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: 
Read only

CC field in email using SO_NEW_DOCUMENT_ATT_SEND_API1

Former Member
0 Likes
833

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
Read only

Former Member
0 Likes
693

try this for CC..

reeivers-rec_id = [email protected].
receivers-copy = 'X'.
append receivers.

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!

4 REPLIES 4
Read only

Former Member
0 Likes
694

try this for CC..

reeivers-rec_id = [email protected].
receivers-copy = 'X'.
append receivers.

Read only

Former Member
0 Likes
693

hi Jesus,

do this way ..

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

For eg..

i.e,


itab-receiver = '[email protected]'.
itab-express = 'X'.
itab-copy = ''.
itab-rec_type = 'U'. "Internet address
APPEND itab.

itab-receiver = '[email protected]'.
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

Read only

Former Member
0 Likes
693

In the RECEIVERS

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

Regards,

Ravi

Read only

Former Member
0 Likes
693

Thanks guys