<?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: reading data from excel file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608323#M1085945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arthur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the quick answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot do that because the customer is the one who attaches the excel file to the BP, therefore I can't save the excel into a different format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joaquin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2008 13:05:58 GMT</pubDate>
    <dc:creator>former_member383774</dc:creator>
    <dc:date>2008-10-23T13:05:58Z</dc:date>
    <item>
      <title>reading data from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608321#M1085943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to read some data from an excel file in the ABAP code. This excel file is attached to a business partner (BP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get the document from the BP using the method GET_DOCUMENT of the class CL_CRM_DOCUMENTS, but this gets me only the ascii data (or binary data, which is even worse). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read that OLE could be used, but I don't know how to pass the document to the excel instance. A possibility would be to download the file into the disk and pass that path+filename to the excel, but I don't think much of this solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another idea i had is to get the URL of the document, and pass it on to the excel, but the URL I get looks like SAPR3://etc, also not use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas? Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joaquin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 12:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608321#M1085943</guid>
      <dc:creator>former_member383774</dc:creator>
      <dc:date>2008-10-23T12:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: reading data from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608322#M1085944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why don't you save you're excel to a text file with tab delimited and use the function gui_upload to read the file ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur de smidt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 13:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608322#M1085944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T13:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: reading data from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608323#M1085945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arthur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the quick answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot do that because the customer is the one who attaches the excel file to the BP, therefore I can't save the excel into a different format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joaquin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 13:05:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608323#M1085945</guid>
      <dc:creator>former_member383774</dc:creator>
      <dc:date>2008-10-23T13:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: reading data from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608324#M1085946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the OLE to pass data into Excel using Cell,  Range, Sheet objects specifically. Or just paste into each sheet from the windows clipboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may help fill in some blanks with OLE and ABAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/204d1bb8-489d-2910-d0b5-cdddb3227820" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/204d1bb8-489d-2910-d0b5-cdddb3227820&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 13:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608324#M1085946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T13:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: reading data from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608325#M1085947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already knew about this document, and I think that's the way to work with excel within the ABAP environment, but as I said in my post, I do not know how to pass the file to the excel instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file is attached to the BP, so that means I cannot just open an excel instance and execute the method open, because I don't know which filename I should give. Maybe I could previously download the file, but this would be executed in the server-side, and I can't know which Operative System is being used, etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joaquin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 13:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-data-from-excel-file/m-p/4608325#M1085947</guid>
      <dc:creator>former_member383774</dc:creator>
      <dc:date>2008-10-23T13:18:24Z</dc:date>
    </item>
  </channel>
</rss>

