<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calling Binary File thru Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-binary-file-thru-function-module/m-p/6141578#M1367024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;Freinds I have solved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have called the inbuild fm into customized program itself...and looped the internal table to get the binary data.....&lt;/P&gt;&lt;P&gt;While call the function module so_new_document_att_send_api1....before that data gets stored in Objpack...&lt;/P&gt;&lt;P&gt;where its very much essential to maintain head_start and body_start....for effective multiple attachments....&lt;/P&gt;&lt;P&gt;Now i can see that everything is working fine....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your replies...&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijaya B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2009 12:58:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-01T12:58:19Z</dc:date>
    <item>
      <title>Calling Binary File thru Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-binary-file-thru-function-module/m-p/6141576#M1367022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have created a function module to store a binary file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This binary file I have to send it to the user .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used a funcion module 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which consists of &lt;/P&gt;&lt;P&gt;1. Adobe layout.&lt;/P&gt;&lt;P&gt;2. Multiple attachments taken via custom function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I call this fm in customized report...&lt;/P&gt;&lt;P&gt;While debugging it shows me the exact data in binary format...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even in SOST it shows multiple attachments....&lt;/P&gt;&lt;P&gt;but while opening the file...it opens in encoded format....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does it requires some conversion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijaya B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 13:17:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-binary-file-thru-function-module/m-p/6141576#M1367022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-31T13:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Binary File thru Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-binary-file-thru-function-module/m-p/6141577#M1367023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;passing attachments to SO_NEW_DOCUMENT_ATT_SEND_API1 is rather complex, and often leads to errors. So it may be your case here. Note that we should now use CL_DOCUMENT_BCS class instead of this FM, you'll make less errors. There is an example in sap library.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 16:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-binary-file-thru-function-module/m-p/6141577#M1367023</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-08-31T16:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Binary File thru Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-binary-file-thru-function-module/m-p/6141578#M1367024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;Freinds I have solved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have called the inbuild fm into customized program itself...and looped the internal table to get the binary data.....&lt;/P&gt;&lt;P&gt;While call the function module so_new_document_att_send_api1....before that data gets stored in Objpack...&lt;/P&gt;&lt;P&gt;where its very much essential to maintain head_start and body_start....for effective multiple attachments....&lt;/P&gt;&lt;P&gt;Now i can see that everything is working fine....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your replies...&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijaya B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 12:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-binary-file-thru-function-module/m-p/6141578#M1367024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-01T12:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Binary File thru Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-binary-file-thru-function-module/m-p/6141579#M1367025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have called the inbuild fm into customized program itself...and looped the internal table to get the binary data.....&lt;/P&gt;&lt;P&gt;While call the function module so_new_document_att_send_api1....before that data gets stored in Objpack...&lt;/P&gt;&lt;P&gt;where its very much essential to maintain head_start and body_start....for effective multiple attachments....&lt;/P&gt;&lt;P&gt;Now i can see that everything is working fine....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 12:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-binary-file-thru-function-module/m-p/6141579#M1367025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-01T12:59:22Z</dc:date>
    </item>
  </channel>
</rss>

