<?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 input error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-input-error/m-p/7051875#M1502081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Standard programming problem, should be rather trivial to find with a quick search. Basically there's always a limit of how many open file handles you can have at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to consult the ABAP help next time before posting (or search on SCN). A quick check for [open dataset|http://help.sap.com/abapdocu_70/en/ABAPOPEN_DATASET.htm] would've told you the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;You can open up to 100 files per internal session. The actual maximum number of simultaneously open files may be less, depending on the platform.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Most likely you actually don't want to have all those files open at the same time and you simply forgot to use a [close dataset|http://help.sap.com/abapdocu_70/en/ABAPCLOSE_DATASET.htm] after reading each file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Jul 2010 23:47:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-18T23:47:46Z</dc:date>
    <item>
      <title>open dataset input error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-input-error/m-p/7051874#M1502080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys &lt;/P&gt;&lt;P&gt;i am trying to open more than 100 files  using open dataset input but i am getting below error&lt;/P&gt;&lt;P&gt;  program is abending reading after 50files..&lt;/P&gt;&lt;P&gt;Program failing in  open data set error  can u help me please?&lt;/P&gt;&lt;P&gt;143&lt;/P&gt;&lt;P&gt;144 * Each file is getting into an internal table&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;   OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;146   IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;147     CONTINUE.&lt;/P&gt;&lt;P&gt;148   ELSE.&lt;/P&gt;&lt;P&gt;149     DO.&lt;/P&gt;&lt;P&gt;150       READ DATASET w_file INTO s700_delta.&lt;/P&gt;&lt;P&gt;What command I should give here&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_TOO_MANY_FILES', was not&lt;/P&gt;&lt;P&gt;     caught and&lt;/P&gt;&lt;P&gt;    therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    The maximum number of open files (100) has been exceeded.&lt;/P&gt;&lt;P&gt;please let me know what should makes changes to avoid this abend?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jul 2010 22:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-input-error/m-p/7051874#M1502080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-18T22:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset input error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-input-error/m-p/7051875#M1502081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Standard programming problem, should be rather trivial to find with a quick search. Basically there's always a limit of how many open file handles you can have at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to consult the ABAP help next time before posting (or search on SCN). A quick check for [open dataset|http://help.sap.com/abapdocu_70/en/ABAPOPEN_DATASET.htm] would've told you the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;You can open up to 100 files per internal session. The actual maximum number of simultaneously open files may be less, depending on the platform.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Most likely you actually don't want to have all those files open at the same time and you simply forgot to use a [close dataset|http://help.sap.com/abapdocu_70/en/ABAPCLOSE_DATASET.htm] after reading each file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jul 2010 23:47:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-input-error/m-p/7051875#M1502081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-18T23:47:46Z</dc:date>
    </item>
  </channel>
</rss>

