<?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: Convert Excel to Binary in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123138#M985792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using FM GUI_UPLOAD, but the excel file contains jibberish character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Deny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2008 08:41:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-11T08:41:02Z</dc:date>
    <item>
      <title>Convert Excel to Binary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123136#M985790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experience convert excel to binary ?&lt;/P&gt;&lt;P&gt;For example, I have an excel file in my PC then I would like to set it as attachment in mail using CL_DOCUMENT_BCS. Attachment in this class only have two version, as text or as hexadecimal.&lt;/P&gt;&lt;P&gt;In order to create hexadecimal content I need a binary format, i will use function SCMS_BINARY_TO_XSTRING.&lt;/P&gt;&lt;P&gt;The problem is, how to convert excel to binary format.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Deny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 02:49:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123136#M985790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T02:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel to Binary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123137#M985791</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 upload the excel file in binary. This can be specified in the upload FM GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 03:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123137#M985791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T03:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel to Binary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123138#M985792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using FM GUI_UPLOAD, but the excel file contains jibberish character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Deny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 08:41:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123138#M985792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T08:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel to Binary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123139#M985793</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;The other way is to have a input file which is tab delimited. If the file is tabdelimited, then you can skip the binary conversion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 08:50:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123139#M985793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T08:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel to Binary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123140#M985794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to keep format also. Example Font Size, Color and Border line into binary format. Simple analog My Excel template will be convert into binary and could be open on attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 23:18:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123140#M985794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T23:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel to Binary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123141#M985795</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;   when you are uploading using gui_upload just check your filetype....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for binary....the file type is diffenrent....e.g for text file it is 'DAT' and for excel its is 'ASC'..so just check....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be thats the reason you are getting sone jibberish characters...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2008 04:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123141#M985795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-12T04:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel to Binary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123142#M985796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;code snippet .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: xml_tab1 type solix_tab .

 call function 'GUI_UPLOAD'
    exporting
      filename            = filename
      filetype            = 'BIN'
      has_field_separator = ' '
      header_length       = 0
    importing
      filelength          = size
    tables
      data_tab            = xml_tab1
    exceptions
      others              = 1.

 call method document-&amp;gt;add_attachment
            exporting
              i_attachment_type    = 'XLS'
              i_attachment_subject = atta_sub
              i_att_content_hex    = xml_tab1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2008 07:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-to-binary/m-p/4123142#M985796</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2008-07-12T07:08:20Z</dc:date>
    </item>
  </channel>
</rss>

