<?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 object S_DATASETvsSPTH? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-s-datasetvsspth/m-p/3265352#M780291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Q]	We cannot access all files from all programs wit6h reference to the concept of authorization object S_DATASET&lt;/P&gt;&lt;P&gt;Pls explain? What do we mean byu particular programs ?How does thi differentiates from the function of table SPTH?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 06:28:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-16T06:28:15Z</dc:date>
    <item>
      <title>object S_DATASETvsSPTH?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-s-datasetvsspth/m-p/3265352#M780291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Q]	We cannot access all files from all programs wit6h reference to the concept of authorization object S_DATASET&lt;/P&gt;&lt;P&gt;Pls explain? What do we mean byu particular programs ?How does thi differentiates from the function of table SPTH?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 06:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-s-datasetvsspth/m-p/3265352#M780291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T06:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: object S_DATASETvsSPTH?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-s-datasetvsspth/m-p/3265353#M780292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;The Authorization Object S_DATASET&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The object S_DATASET consists of the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· &lt;STRONG&gt;ABAP program name&lt;/STRONG&gt;     -&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;enter as  ZTEST1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name of the ABAP program from which access is allowed. This allows you to restrict file access to a few programs specifically for that task. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· &lt;STRONG&gt;Activity&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The possible values are: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;33: Read file normally&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;34: Write to or delete file normally&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A6: Read file with filter (operating system command)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A7: Write to file with filter (operating system command)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· &lt;STRONG&gt;File name&lt;/STRONG&gt;    -&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;Enter as  /tmp/FILE1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name of the operating system file. This allows you to restrict the files to which the user has access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this object you are assigning authorization for particular files &lt;STRONG&gt;( /tmp/FILE1)&lt;/STRONG&gt; from particular program &lt;STRONG&gt;(ZTEST1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now the last part of your question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you access sequential files on the application server using the following statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET &lt;/P&gt;&lt;P&gt;TRANSFER &lt;/P&gt;&lt;P&gt;DELETE DATASET&lt;/P&gt;&lt;P&gt;the system automatically checks against table SPTH. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can specify the general read and write access to all files specified in a Path. Here it becomes generic, because, you are not specifying any program. Again you can make it more generic by Specifying the &lt;STRONG&gt;Root Node&lt;/STRONG&gt;   like &lt;STRONG&gt;(/tmp)&lt;/STRONG&gt;  or any &lt;STRONG&gt;sub node&lt;/STRONG&gt; like &lt;STRONG&gt;(/tmp/myfile)&lt;/STRONG&gt; in the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinodh Balakrishnan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 21:12:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-s-datasetvsspth/m-p/3265353#M780292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T21:12:06Z</dc:date>
    </item>
  </channel>
</rss>

