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

sending e-mail using fm 'SO_DOCUMENT_SEND_API1'

Former Member
0 Likes
541

Hi Experts:

I have done a ABAP program that sending e-mail for attached document from ABAP.

And it's OK.

The e-mail addresses are all in TO mail position,now i want some addresses in CC mail position.

The FM i using is ''SO_DOCUMENT_SEND_API1',the address parameter in code as below:

T_RECEIVERS-RECEIVER = ITAB-T_MAIL.

T_RECEIVERS-REC_TYPE = 'U'.

T_RECEIVERS-COM_TYPE = 'INT'.

T_RECEIVERS-NOTIF_DEL = 'X'.

T_RECEIVERS-NOTIF_NDEL = 'X'.

Pls give me some advice,thank you very much.

2 REPLIES 2
Read only

Former Member
0 Likes
447

Hi,

Please make use of the Copy field.(Marked in bold)

T_RECEIVERS-RECEIVER = ITAB-T_MAIL.

T_RECEIVERS-REC_TYPE = 'U'.

T_RECEIVERS-COM_TYPE = 'INT'.

T_RECEIVERS-NOTIF_DEL = 'X'.

T_RECEIVERS-NOTIF_NDEL = 'X'.

T_RECEIVERS-copy = 'X''.

Hope it helps.

Thanks!

Read only

Former Member
0 Likes
447

Hi,

Do these steps:

During appending data to reclist

suppose RECLIST is your recevers table :

for cc use addtional

RECLIST-COPY = 'X '.

for bcc use

RECLIST-BLIND_COPY = 'X '. -


>Just for your info

May it helps you.

Regards.

Deepak Sharma.