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

Sending multiple attchment in FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'

Hi Experts,

I am trying to attach four csv attachment thru FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' .

Mail sending part is working fine with 4 attachments.Only problem is data populated in the attachment.

it_objbin internal table contains all the data for csv file.

I know the problem exists in it_objpack code.Please help me to retrieve the exact values for each csv file.

For example,

Second file retireves the first line of third file.same for third & fourth files.

Please provide some sample code for this.

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 11, 2010 at 11:59 AM

    Hi Manju,

    it is difficult to solve a question without kknowing the (code) details. Anyway, it will be more and more difficult to get any support for the outdated and obsolete FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'.

    Please have a look at [Unknown thus unloved|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3443] [original link is broken] [original link is broken] [original link is broken]; and [Sending E-Mail from ABAP|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/789] [original link is broken] [original link is broken] [original link is broken];.

    The first link shows how simple it is to use the new SAP business communication services, the second link poits to Thomas Jung's fantastic blog that shows a lot of details, i.e. the sending of attachments.

    You will find out that very few questions are about the CL_BCS class because it is so easy to use you just have no reason to ask about mail sending any more.

    It is very sad that so many developers just refuse to use it. That leads to endless new questions for SO_NEW_DOCUMENT_ATT_SEND.

    Regards,

    Clemens

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2010 at 03:48 PM

    Solved myself.

    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.