<?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_TOO_MANY_FILES  exception while running a  batch program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736233#M635567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi leeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some times it happens due to no space in the file (in this case u have to consult ur BASIS , they will provide u another file path, which u have to specify path in the lsmw step.&lt;/P&gt;&lt;P&gt;so contact ur BASIS people.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naveen khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2007 12:18:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-29T12:18:40Z</dc:date>
    <item>
      <title>DATASET_TOO_MANY_FILES  exception while running a  batch program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736228#M635562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pals,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you pls help on the exception above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we run a particular batch daily, this ABAp dump with exception occurs. There are many file transfers and accesses happening while this job runs. COuld that be a problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried changing the job timing, but still encountering the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you will help urgently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Leeza Thalakottur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 10:43:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736228#M635562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T10:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: DATASET_TOO_MANY_FILES  exception while running a  batch program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736229#M635563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for the sequential files in apllication server .....there is a limit for the memory ......u cannot pass too many files ........................so limit u r legacy file and run it as per u r relavance .........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 11:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736229#M635563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T11:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: DATASET_TOO_MANY_FILES  exception while running a  batch program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736230#M635564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;certainly the memory for the bacth file holding is limited if that is going to be overloaded certainly it gives such a exception. Try have some control on the files input&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 11:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736230#M635564</guid>
      <dc:creator>selvakumar_mohan</dc:creator>
      <dc:date>2007-08-29T11:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: DATASET_TOO_MANY_FILES  exception while running a  batch program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736231#M635565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry but I could make out very little from your answer. I can only see very few  file handling in this code.What can I do from my end- IS this a code change or any settings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, the standard code RFKK_MASS_ACT_SINGLE_JOB has many child jobs in paralell running-Any more input on this would be a great help please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leeza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 11:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736231#M635565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T11:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: DATASET_TOO_MANY_FILES  exception while running a  batch program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736232#M635566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First check that you are doing a "close dataset" on any files you have finished with in your code... I've seen a lot of programs that don't do this specifically... you could also open a dataset, load the contents into an internal table, and close the dataset and then process the internal table (rather than having the dataset open for a long time during processing).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also stick a "catch exception" after the "open dataset" which may pick up the problem you are having e.g. something like (not syntax checked):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
open dataset p_fname 
  for input in text mode encoding default. "Unicode

catch system-exceptions dataset_cant_open = 4.
  do.
    read dataset p_fname into l_data.
    if sy-subrc eq 0.
      append l-data to lt_data.
    else.
      exit.
    endif.
  enddo.
endcatch.
if sy-subrc = 4.
*" etc
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 11:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736232#M635566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T11:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: DATASET_TOO_MANY_FILES  exception while running a  batch program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736233#M635567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi leeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some times it happens due to no space in the file (in this case u have to consult ur BASIS , they will provide u another file path, which u have to specify path in the lsmw step.&lt;/P&gt;&lt;P&gt;so contact ur BASIS people.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naveen khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 12:18:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-too-many-files-exception-while-running-a-batch-program/m-p/2736233#M635567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T12:18:40Z</dc:date>
    </item>
  </channel>
</rss>

