<?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  - return code 8 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559999#M253343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try by providing file  name like this: It may slove your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pfilename = '/saberdev/blacksmith/ftpout/bsproduct.txt'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the '\' with '/' in filepath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward poitns if helpful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashvender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2007 01:16:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-21T01:16:39Z</dc:date>
    <item>
      <title>Open dataset  - return code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559991#M253335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the following statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET pfilename FOR OUTPUT IN TEXT MODE MESSAGE MSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a sy-subrc = 8 and the message is 'Permission Denied'.  The systems administrator said the folder has all permissions so we do not know why this is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Janet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 12:59:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559991#M253335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T12:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset  - return code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559992#M253336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume your permission access is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the file has been opened by someone or other program. Please verify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 13:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559992#M253336</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-09-28T13:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset  - return code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559993#M253337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before the open dataset, use the function module 'AUTHORITY_CHECK_DATASET' to see if you really have the authn..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 13:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559993#M253337</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-09-28T13:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset  - return code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559994#M253338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt; try with a user that have sap_all role.&lt;/P&gt;&lt;P&gt;Could be your user is noth aythorized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use this function before open the file :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'AUTHORITY_CHECK_DATASET'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      activity         = 'READ'&lt;/P&gt;&lt;P&gt;      filename         = l_auth_filename&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      no_authority     = 1&lt;/P&gt;&lt;P&gt;      activity_unknown = 2&lt;/P&gt;&lt;P&gt;      others           = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoe it helps&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pls reward if it Helps&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 13:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559994#M253338</guid>
      <dc:creator>andrea_galluccio2</dc:creator>
      <dc:date>2006-09-28T13:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset  - return code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559995#M253339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it can not be open, I am creating a new file.  I will include the authority check and then report back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 13:06:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559995#M253339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T13:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset  - return code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559996#M253340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file might have been opened by some one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 13:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559996#M253340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T13:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset  - return code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559997#M253341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should mention that this is the first time the network admin has set up this folder. It is the first time this company has tried to write files to the application server.  They are running under Windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function is giving me a run-time error that the ABAP is bad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'AUTHORITY_CHECK_DATASET'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;      program          = 'ZBS_PRODUCT_OUTBOUND_INTERFACE'&lt;/P&gt;&lt;P&gt;      activity         = 'WRITE'&lt;/P&gt;&lt;P&gt;      filename         = pfilename&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              no_authority     = 1&lt;/P&gt;&lt;P&gt;              activity_unknown = 2&lt;/P&gt;&lt;P&gt;              others           = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pfilename = &lt;BR /&gt;saberdev\blacksmith\ftpout\bsproduct.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can not figure out what is wrong with my function call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 16:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559997#M253341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T16:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset  - return code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559998#M253342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;File name is case sensitive, check it for case......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 23:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559998#M253342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T23:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset  - return code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559999#M253343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try by providing file  name like this: It may slove your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pfilename = '/saberdev/blacksmith/ftpout/bsproduct.txt'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the '\' with '/' in filepath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward poitns if helpful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashvender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 01:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1559999#M253343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T01:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset  - return code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1560000#M253344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Janet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I think your file name should be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  pfilename(255) Type c Value ' /saberdev/blacksmith/ftpout/bsproduct.txt'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  try with above if not working  remove  .txt  from file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pfilename(255) Type c Value ' /saberdev/blacksmith/ftpout/bsproduct'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 02:55:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-return-code-8/m-p/1560000#M253344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T02:55:45Z</dc:date>
    </item>
  </channel>
</rss>

