<?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: Error with OPEN DATASET Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337850#M1229733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dude,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some times you dont have access to download the data into application server, that means permissions denied by the Basis people...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please contct Basis consulatant...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ramakrishna Pathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2009 08:34:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-09T08:34:28Z</dc:date>
    <item>
      <title>Error with OPEN DATASET Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337847#M1229730</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 have a an executable program which downloads data into applcation server using OPEN DATASET statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Following is my code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET w_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc      NE 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     MESSAGE e111 WITH text-003. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text 003 is 'Error Opening File'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc becomes non-zero if file cannot be opened for writing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daily I am running this program in a background job. I am getting this error on and off. Some times I am able to create the file in application server and  sometimes this error comes up by cancelling the job. The message shown for the cancelled job along with text-003 is 'Job cancelled after system exception ERROR_MESSAGE'. This has no dump analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even When I run this program online I am facing the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some users never faced this issue while others have this problem. I think it is not an authorization problem as I am able to create flat file in application server most of the times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest what could have went wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And kindly propse me a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Paddu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 08:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337847#M1229730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T08:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error with OPEN DATASET Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337848#M1229731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paddu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure exactly but i would go as far as saying that the reason you may be having that error is because your server has a limited amount of space and that your program is not working due to that limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that file that you have created being picked up by another application. If so then i would advise you to check the limitation of the server size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is your file name different all the time? if u r trying to write an already existing file name it will give u an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kevin Ck on Mar 9, 2009 10:19 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 08:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337848#M1229731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T08:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error with OPEN DATASET Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337849#M1229732</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;How do u populate the w_file filename? it is quite a possibility that the file already exists and is not able to open because of this.&lt;/P&gt;&lt;P&gt;Revert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 08:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337849#M1229732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T08:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error with OPEN DATASET Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337850#M1229733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dude,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some times you dont have access to download the data into application server, that means permissions denied by the Basis people...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please contct Basis consulatant...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ramakrishna Pathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 08:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337850#M1229733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T08:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error with OPEN DATASET Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337851#M1229734</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;i think this is due to the existance of the file wth the same name or else it is authorisation problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tell me one thing ...where date is included on the file name or not. please check whether the file is there or not in the application server if the error comes on. if you run the program one day per one, if you are trying the same on the day you may face the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 09:22:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337851#M1229734</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2009-03-09T09:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error with OPEN DATASET Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337852#M1229735</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;This problem might be with Spooler in SAP. when you receive this issue again check the the Tcode SM50 and check whether spool have in error state or normal state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your spool is in error state then you have to restart your server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 09:35:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-open-dataset-statement/m-p/5337852#M1229735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T09:35:26Z</dc:date>
    </item>
  </channel>
</rss>

