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

Adding CC while sending external mail thru VF02

Former Member
0 Likes
827

Hi All,

I need to add a CC recipient when sending external mail to the customer thru VF02.

Currently when we go to VF02 and click on Goto > Header > Output and create new output with Medium 'External Send' it sends the mail to the customer. I put the breakpoint in the print program but its not stopping over there while sending external mail. So I am not sure where to add the coding for adding CC recepient.

Can anyone please help with this...

Thanks in advance...

Regards,

Archana

4 REPLIES 4
Read only

KalC
Active Participant
0 Likes
672

Hi Archana,

If you are using SO_NEW_DOCUMENT_SEND_API1 for sending email then check tables parameter RECEIVERS. In that you will find one attribute COPY. add your CC recipient to this internal table and pass COPY as 'X'. Hope this helps.

Thanks & Regards,

Kalyan.

Read only

Former Member
0 Likes
672

Hi Kalyan,

Thanks for your reply.

But I am not sure whether its using SO_NEW_DOCUMENT_SEND_API1 or any other coding for sending mails. I am trying to find out the location from where it is sending the mail. I tried to debug but no luck. It is not sending the mails thru print program.

Please let me know if you have any Idea regarding this.

Regards,

Archana

Read only

Former Member
0 Likes
672

Email should still go through the print program for VF02. Try checking transaction NACE, application V3, Output types. Select the output type you're using, and processing routines. You'll see what print program External send uses.

Edited by: Michael Evershed on Nov 6, 2008 10:05 PM

Read only

0 Likes
672

Hi Michael,

I checked in transaction NACE. Same program is being used for normal print and external send. I even tried to debug by putting hard coded break point. But its not going over there. Any Idea how to debug?..