<?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: We are using the SO_ATTACHMENT_INSERT_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168948#M1711924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the OOPs approach but in turn SAP is using the SO_ATTACHMENT_INSERT_API1 function module from add_attachmnet method .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system is calculating the text file size and contents are delivered to the recipient only half of it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: If file contains 1000 lines then it is delivering only 500 lines as attachemnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2012 03:34:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-11-08T03:34:36Z</dc:date>
    <item>
      <title>We are using the SO_ATTACHMENT_INSERT_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168946#M1711922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi Guys&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;We are using FM&amp;nbsp; " SO_ATTACHMENT_INSERT_API1 " to attach the Excel document to send thru mail ., it is working fine in 4.7 environmnet . But in the upgraded version ECC 6.0 , the file contents reduced to half of the size when we checked in the mail attachment .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In debug mode if I double the filesize manually then it is working fine .. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;For eg:&amp;nbsp; In 4.7 system , the file size is 10000 bytes and&amp;nbsp; ( is being calculated by system if we do not pass &lt;BR /&gt; , then it workds fine .)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In ECC 6.0 , it sends the file thru mail but only half of the contents are available in the excel file .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any clue how to resolve this without manul changes .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Responses are highly appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Satya&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 14:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168946#M1711922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-07T14:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: We are using the SO_ATTACHMENT_INSERT_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168947#M1711923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simple solution would be keep the size as parameter on the seletion screen and use this in the FM when calling. This way you have control on the number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also try the OOPS based mail sending functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/Sending+mail+with+attachment+using+Object+Oriented+Approach"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/Sending+mail+with+attachment+using+Object+Oriented+Approach&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;swanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 19:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168947#M1711923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-07T19:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: We are using the SO_ATTACHMENT_INSERT_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168948#M1711924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the OOPs approach but in turn SAP is using the SO_ATTACHMENT_INSERT_API1 function module from add_attachmnet method .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system is calculating the text file size and contents are delivered to the recipient only half of it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: If file contains 1000 lines then it is delivering only 500 lines as attachemnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 03:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168948#M1711924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-08T03:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: We are using the SO_ATTACHMENT_INSERT_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168949#M1711925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Swanand is suggesting ..... I also suggest to use CL_BCS option. I think it works with all sizes and no need to worry about passing the file size in any case. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 04:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168949#M1711925</guid>
      <dc:creator>former_member214878</dc:creator>
      <dc:date>2012-11-08T04:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: We are using the SO_ATTACHMENT_INSERT_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168950#M1711926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please paste the code snippet for a better analysis for your problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just out of curiosity, have you upgraded from an non-unicode 4.7 to unicode 6.0? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 06:13:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168950#M1711926</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2012-11-08T06:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: We are using the SO_ATTACHMENT_INSERT_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168951#M1711927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check this examples in your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;BCS_EXAMPLE_1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;BCS Use, Example 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCS_EXAMPLE_2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;BCS Use, Example 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCS_EXAMPLE_3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;BCS Use, Example 3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCS_EXAMPLE_4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;BCS Use, Example 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCS_EXAMPLE_5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;BCS Use, Example 5 (Winword Attachment)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCS_EXAMPLE_6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;Send PDF Form by E-Mail&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCS_EXAMPLE_7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;BCS: Send E-Mail with Self-Created Excel Attachment (Example)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BCS_EXAMPLE_8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;Report BCS_EXAMPLE_8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nandha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 06:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168951#M1711927</guid>
      <dc:creator>former_member576008</dc:creator>
      <dc:date>2012-11-08T06:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: We are using the SO_ATTACHMENT_INSERT_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168952#M1711928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes , upgraded from 4.7 non unicode to ECC 6.0 Unicode .&lt;/P&gt;&lt;P&gt;In ECC 6.0 Unicode environmnet , the problem lies .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System is calculating the document size and passing to the FM ,, it works fine in 4.7 ..,, in ECC 6.0 , it displays only half of the file contents .&lt;/P&gt;&lt;P&gt;When I double the doc_size ( multiplied by 2 ) then it is perfect .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input would be gr8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 09:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/we-are-using-the-so-attachment-insert-api1/m-p/9168952#M1711928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-08T09:26:58Z</dc:date>
    </item>
  </channel>
</rss>

