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

copying to a receiver using SO_NEW_DOCUMENT_SEND_APi1

Former Member
0 Likes
668

Hi Experts,

Im sending mail to a person and copying to his manager using so_new_document_send_api1.

Both the receivers are able to receive the mail but manager is unable to see his name in CC.he is able to see only 'TO ' address.

Please let me know if I need to set any indicator.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
589

Hi,

Did you set the parameter COPY to 'X' for the structure somlreci1?


t_receivers type table of somlreci1.
t_receivers-copy = 'X'.

Regards,

Vikranth

Hi Experts,

Im sending mail to a person and copying to his manager using so_new_document_send_api1.

Both the receivers are able to receive the mail but manager is unable to see his name in CC.he is able to see only 'TO ' address.

Please let me know if I need to set any indicator.

2 REPLIES 2
Read only

Former Member
0 Likes
590

Hi,

Did you set the parameter COPY to 'X' for the structure somlreci1?


t_receivers type table of somlreci1.
t_receivers-copy = 'X'.

Regards,

Vikranth

Read only

0 Likes
589

Hi Vikranth,

I specified the necessary parameters as below.

CLEAR GT_MAILRECIPIENTS.

gt_mailrecipients-receiver = 'xxx'.

gt_mailrecipients-rec_type = 'U'.

gt_mailrecipients-COM_type = ' '.

APPEND gt_mailrecipients .

gt_mailrecipients-receiver = 'YYY'.

gt_mailrecipients-rec_type = 'U'.

gt_mailrecipients-COM_type = ' '.

gt_mailrecipients-copy = 'X'.

APPEND gt_mailrecipients .

Both XXX and YYY are able to receive the mail.But YYY is unable to see his name in CC. CC address is howing as blank