10-31-2011 2:54 PM
Dear Experts,
My requirement is to attach Multiple PDF documents and send as a single mail to the user. I am able to attach multiple PDF by incrementing the Head Start and Body Start for each pdf attachment in OBJPACK parameter in Mail Send FM SO_NEW_DOCUMENT_ATT_SEND_API1. Here i am able to open first 2 attachments and unable to open the subsequent PDF attachments. Did anyone worked in Multiple PDF(More than 2 attachments in single mail) attachment scenario?
Kindly help me.
10-31-2011 3:14 PM
Hi,
Use cl_bcs class to send mail. I attached 5 pdfs and a shortcut. It sent with no problem.
Take a look.
http://wiki.sdn.sap.com/wiki/display/ABAP/SendingMails-HomePage
Take care.
Çağatay
11-01-2011 4:18 AM
11-01-2011 4:27 AM
Hi,
You can use the BCS Method to add multiple attachment,
It would be easy,
Sample code is posted in one of the forum
and also check
http://wiki.sdn.sap.com/wiki/display/Snippets/SendingmailwithattachmentusingObjectOriented+Approach
Thanks & Regards,
SUJI
12-15-2011 12:09 PM