<?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: Binary to text format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-text-format/m-p/6940657#M1487252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; but the content returned fromthe function module is in Binary format&lt;/P&gt;&lt;P&gt;If it starts with the bytes D0 CF 11 E0 A1 B1 1A E1, it is identified as being an Office native document (using Excel, user clicked SAVE AS menu and has chosen .xls format). So it means SAP can't decode it alone. The only possibility is to use OLE2, but it must be ran in dialog (not in background).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 May 2010 20:32:03 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2010-05-05T20:32:03Z</dc:date>
    <item>
      <title>Binary to text format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-text-format/m-p/6940656#M1487251</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;I am using FM 'SO_ATTACHMENT_READ'  for reading .xls attachement from SAP workplace, but the content returned fromthe function module is in Binary format, Is there any way to convert the binary format returned to text format and save in a internal table, I have used 'SCMS_BINARY_TO_STRING' but I am geeting junk charater only, please suggest how to go ahead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 15:48:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-text-format/m-p/6940656#M1487251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-05T15:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Binary to text format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-text-format/m-p/6940657#M1487252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; but the content returned fromthe function module is in Binary format&lt;/P&gt;&lt;P&gt;If it starts with the bytes D0 CF 11 E0 A1 B1 1A E1, it is identified as being an Office native document (using Excel, user clicked SAVE AS menu and has chosen .xls format). So it means SAP can't decode it alone. The only possibility is to use OLE2, but it must be ran in dialog (not in background).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 20:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-text-format/m-p/6940657#M1487252</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-05-05T20:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Binary to text format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-text-format/m-p/6940658#M1487253</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;Try using CL_DOCUMENT_BCS class. It has method GETU_ATTACHMENTS.&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 04:54:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-text-format/m-p/6940658#M1487253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-06T04:54:21Z</dc:date>
    </item>
  </channel>
</rss>

