<?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: Dataset Problem while reading an excel file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701961#M1452476</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;Try using the IGNORING CONVERSION ERROR addition in the open dataset statement and check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Open dataset zsample in text mode encoding default ignoring conversion errors.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Mar 2010 10:13:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-22T10:13:21Z</dc:date>
    <item>
      <title>Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701960#M1452475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a excel sheet in one of the directory in application server...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now iam opening the data in text mode to read line by line of the excel..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open data Zsample in text mode encoding default &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now iam able to open a file here but when i try to read data using read dataset iam getting a short dump here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dump error is cannot convert to code page 4102.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now how to over come this senario... i tried using UTF-8 also but iam getting the same dump.. UTF-16 is giving me a syntax error.&lt;/P&gt;&lt;P&gt;when i tried to open the same excel sheet using AL11 manually iam getting the same dump as above..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is can we read an excel file from application server... if so how to proceed further .. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions will be appreciated..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701960#M1452475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701961#M1452476</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;Try using the IGNORING CONVERSION ERROR addition in the open dataset statement and check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Open dataset zsample in text mode encoding default ignoring conversion errors.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701961#M1452476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T10:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701962#M1452477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you really reading an excel file or a CSV file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701962#M1452477</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-03-22T10:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701963#M1452478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikranth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the syntax Ignorning Conversion Errors &lt;/P&gt;&lt;P&gt;By that syntax iam able to read the data from the excel file and appending into internal table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here iam getting the data as      #&lt;EM&gt;###%##74#####&lt;/EM&gt;#########+#######$@####4@####4@#####@###&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i correct it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 14:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701963#M1452478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T14:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701964#M1452479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;is the character indicating a character which could not be translated. ignoring conversion error is not a miracle which eliminates errors in a secret manner.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 14:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701964#M1452479</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-03-22T14:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701965#M1452480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to over come this error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one suggest me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 14:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701965#M1452480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T14:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701966#M1452481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why didnt you answer my question about excel and csv?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if the system prompts you to install a codepage, you need to do that. Ignoring this will give hash sign for all characters which can not be converted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 15:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701966#M1452481</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-03-22T15:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701967#M1452482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Question is Dataset Problem while reading an excel file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it is a excel file..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to correct this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 15:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701967#M1452482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T15:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701968#M1452483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that read the excel(native) file by Open Dataset is impossible (not in text mode) because it isn't be a text file and without OLE2  you don't get any information from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Szymon Glapiak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 16:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701968#M1452483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T16:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701969#M1452484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any further info on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else how to covert #&lt;EM&gt;###%##74#####&lt;/EM&gt;#########+#######$@####4@####4@#####@### &lt;/P&gt;&lt;P&gt;into charecter format..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 17:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701969#M1452484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T17:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701970#M1452485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;kumar,&lt;/P&gt;&lt;P&gt;I am pretty sure that this cannot, be done.  Excel (.XLS) is a Microsoft proprietary format that need to be properly translated.  The open dataset, read, and transfer statement simply reads and right raw data.  I believe it has no chance of being able to translate it properly.  Your best option would be to save the Excel file into a CSV file prior to putting it on the application server.  Then you can read it without problems using open dataset and read.  Otherwise you will have a very very long row to hoe. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also am assuming that this program is running as a background process or that the Excel file cannot be saved locally or on the network..  If it can be run interactive, then you have a shot using a FM such as ALSM_EXCEL_TO_INTERNAL_TABLE and others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 17:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701970#M1452485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T17:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701971#M1452486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any further approach on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please do not offer po1nts&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Mar 22, 2010 5:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 21:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701971#M1452486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T21:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701972#M1452487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you try using open dataset in BINARY MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET p_file FOR INPUT IN BINARY MODE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way you get all the data as an XSTRING and then to convert xstring to string data type use this [link|http://www.divulgesap.com/blog.php?p=NjA=].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 00:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701972#M1452487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T00:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701973#M1452488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can use like that&lt;/P&gt;&lt;P&gt;data w_lfimg(17).&lt;/P&gt;&lt;P&gt;*Concatenating data and time into file.&lt;/P&gt;&lt;P&gt;concatenate filepath&lt;/P&gt;&lt;P&gt;            sy-datum&lt;/P&gt;&lt;P&gt;            sy-uzeit&lt;/P&gt;&lt;P&gt;            '.csv'&lt;/P&gt;&lt;P&gt;       into filepath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;htab = cl_abap_char_utilities=&amp;gt;horizontal_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OPEN DATASET filepath FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 12:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701973#M1452488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T12:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset Problem while reading an excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701974#M1452489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What part of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You cant upload/interpret an excel file via open dataset&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you dont understand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transform the file into CSV which is readable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 12:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-problem-while-reading-an-excel-file/m-p/6701974#M1452489</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-03-23T12:36:00Z</dc:date>
    </item>
  </channel>
</rss>

