Skip to Content
author's profile photo Former Member
Former Member

Multiple PDF Attachment Issue

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 31, 2011 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 01, 2011 at 04:18 AM

    Hi Ramesh

    This has been already discussed in the forum.

    try this....

    is it possible to send Multiple PDF in one mail

    Regards

    Ajit

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 01, 2011 at 04: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

    send files as attachment with BCS-methods

    and also check

    http://wiki.sdn.sap.com/wiki/display/Snippets/SendingmailwithattachmentusingObjectOriented+Approach

    Thanks & Regards,

    SUJI

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 12:09 PM

    closing the thread

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.