<?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: open dataset  error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007371#M409296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;naren i tried that same eror&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2007 07:32:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-09T07:32:21Z</dc:date>
    <item>
      <title>open dataset  error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007369#M409294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting this error message : &lt;/P&gt;&lt;P&gt;           Unable to interpret "4# " as a number&lt;/P&gt;&lt;P&gt;when i am splitting data from text file. Here with the code am using.  PLZ suggest&lt;/P&gt;&lt;P&gt;ORM DATA_SELECTION .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : L_MENGE(17).&lt;/P&gt;&lt;P&gt;  OPEN DATASET P_FILE FOR INPUT IN TEXT MODE ENCODING UTF-8.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    DO.&lt;/P&gt;&lt;P&gt;      READ DATASET P_FILE INTO WA_ITAB.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        SPLIT WA_ITAB AT CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB INTO ITAB-WERKS&lt;/P&gt;&lt;P&gt;        ITAB-MATNR&lt;/P&gt;&lt;P&gt;        ITAB-EKGRP&lt;/P&gt;&lt;P&gt;        ITAB-LIFNR&lt;/P&gt;&lt;P&gt;        ITAB-EVERS&lt;/P&gt;&lt;P&gt;        L_MENGE.&lt;/P&gt;&lt;P&gt;        ITAB-MENGE = L_MENGE.&lt;/P&gt;&lt;P&gt;        APPEND ITAB.&lt;/P&gt;&lt;P&gt;        CLEAR ITAB.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDDO.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CLOSE DATASET P_FILE.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " DATA_SELECTION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 07:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007369#M409294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T07:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset  error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007370#M409295</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;Looks like there is another column available after the menge..Add a string variable for the last column..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: V_STRING TYPE STRING..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT WA_ITAB AT CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB INTO ITAB-WERKS&lt;/P&gt;&lt;P&gt;ITAB-MATNR&lt;/P&gt;&lt;P&gt;ITAB-EKGRP&lt;/P&gt;&lt;P&gt;ITAB-LIFNR&lt;/P&gt;&lt;P&gt;ITAB-EVERS&lt;/P&gt;&lt;P&gt;L_MENGE&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;V_STRING&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;ITAB-MENGE = L_MENGE.&lt;/P&gt;&lt;P&gt;&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 07:28:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007370#M409295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T07:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset  error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007371#M409296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;naren i tried that same eror&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 07:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007371#M409296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T07:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset  error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007372#M409297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is a syntax error that may be due to a multibyte character going into program text and the compiler raising a false alarma. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to copy the code into notepad, delete the abap  code and again reupload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 07:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007372#M409297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T07:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset  error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007373#M409298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;u r reading the data from text file into work area.....&lt;/P&gt;&lt;P&gt;u read it into another field v_record&lt;/P&gt;&lt;P&gt;and then split it into the table fields&lt;/P&gt;&lt;P&gt;read dataset 'xyz' into v_record.&lt;/P&gt;&lt;P&gt;split v_record at space into itab-f1 itab-f2..........&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;the workarea and the line are not compatible as the line from text file contains separators&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Premalatha G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 07:51:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007373#M409298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T07:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset  error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007374#M409299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UNABLE TO INTERPRET  "40" AS A NUMBER.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;cODE&lt;/P&gt;&lt;P&gt;DATA : L_MENGE(17) TYPE C.&lt;/P&gt;&lt;P&gt;  OPEN DATASET P_FILE FOR INPUT IN TEXT MODE ENCODING UTF-8.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    DO.&lt;/P&gt;&lt;P&gt;      READ DATASET P_FILE INTO WA_ITAB.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        SPLIT WA_ITAB AT CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB INTO&lt;/P&gt;&lt;P&gt;        ITAB-WERKS&lt;/P&gt;&lt;P&gt;        ITAB-MATNR&lt;/P&gt;&lt;P&gt;        ITAB-EKGRP&lt;/P&gt;&lt;P&gt;        ITAB-LIFNR&lt;/P&gt;&lt;P&gt;        ITAB-EVERS&lt;/P&gt;&lt;P&gt;         L_MENGE.&lt;/P&gt;&lt;P&gt;        ITAB-MENGE = L_MENGE.&lt;/P&gt;&lt;P&gt;        APPEND ITAB.&lt;/P&gt;&lt;P&gt;        CLEAR ITAB.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDDO.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CLOSE DATASET P_FILE.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " DATA_SELECTION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 08:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error/m-p/2007374#M409299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T08:31:47Z</dc:date>
    </item>
  </channel>
</rss>

