<?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: Application file authorization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210768#M1205359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try FM  AUTHORITY_CHECK_DATASET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2009 06:54:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-27T06:54:11Z</dc:date>
    <item>
      <title>Application file authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210766#M1205357</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;Iam reading a file from appliaction server using open dataset. But the particular file is not having the authorization to read. Is there any tcode or FM to check the particular file is not having the authorization .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 06:24:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210766#M1205357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T06:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Application file authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210767#M1205358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to contact the basis team for getting the authorisation for your userid to access the files on app.server..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 06:31:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210767#M1205358</guid>
      <dc:creator>former_member242255</dc:creator>
      <dc:date>2009-02-27T06:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Application file authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210768#M1205359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try FM  AUTHORITY_CHECK_DATASET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 06:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210768#M1205359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T06:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Application file authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210769#M1205360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this FM  AUTHORITY_CHECK_FUNC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 06:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210769#M1205360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T06:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Application file authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210770#M1205361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vighnesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY_CHECK_DATASET is the module for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For details go through SAP HELP&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3d5c358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3d5c358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know in case of any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210770#M1205361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Application file authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210771#M1205362</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;Good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Function Module AUTHORITY_CHECK_DATASET&lt;/P&gt;&lt;P&gt;This function module allows you to check whether the user is authorized to access a file before the system tries to open it. This preempts a possible runtime error that can otherwise occur in the automatic authorization check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module has the following import parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name of the ABAP program from which the file is to be opened. If you do not specify a program name, the system assumes the current program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        ACTIVITY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access type, with the following possible values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¡        Read file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¡        Change file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¡        READ_WITH_FILTER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¡        WRITE_WITH_FILTER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¡        Delete file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These values are defined as constants in the type group SABC as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOL SABC .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS:&lt;/P&gt;&lt;P&gt;  SABC_ACT_READ(4)               VALUE 'READ',&lt;/P&gt;&lt;P&gt;  SABC_ACT_WRITE(5)              VALUE 'WRITE',&lt;/P&gt;&lt;P&gt;  SABC_ACT_READ_WITH_FILTER(16)  VALUE 'READ_WITH_FILTER',&lt;/P&gt;&lt;P&gt;  SABC_ACT_WRITE_WITH_FILTER(17) VALUE 'WRITE_WITH_FILTER',&lt;/P&gt;&lt;P&gt;  SABC_ACT_DELETE(6)             VALUE 'DELETE',&lt;/P&gt;&lt;P&gt;  SABC_ACT_INIT(4)               VALUE 'INIT',&lt;/P&gt;&lt;P&gt;  SABC_ACT_ACCEPT(6)             VALUE 'ACCEPT',&lt;/P&gt;&lt;P&gt;  SABC_ACT_CALL(4)               VALUE 'CALL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        FILENAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name of the file that you want to access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS SABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'AUTHORITY_CHECK_DATASET'&lt;/P&gt;&lt;P&gt;     EXPORTING  PROGRAM          = SY-REPID&lt;/P&gt;&lt;P&gt;                ACTIVITY         = SABC_ACT_READ&lt;/P&gt;&lt;P&gt;                FILENAME         = '/tmp/sapv01'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS NO_AUTHORITY     = 1&lt;/P&gt;&lt;P&gt;                ACTIVITY_UNKNOWN = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-file-authorization/m-p/5210771#M1205362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:07:10Z</dc:date>
    </item>
  </channel>
</rss>

