<?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: Restrict Authorization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254360#M1384136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you are going to be more polite in future, or even completely quiet yourself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, if your SP level is below 17, then see method CHECK_TABLES of class CL_ORA_SRV_JSEL - otherwise, see method OKCODE_PARSE_AND_EXECUTE of class CL_ORA_ACTION_SQLC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* local system: if the user has the permission to display table contents like
* in transaction SE16 (authority object S_TABU_DIS), the SQL Command Editor
* will also allow to show the table contents.
* remote system: on a remote system, the check is done according to the original
* rules. If table-owner is 'SYS' or 'PULIC', the contents will be displayed,
* otherwise the table contents will not be displayed. On a remote system the
* Authority Check can not be executed. Therefore we have a different behaviour
* in this case than running the SQL Command Editor on a local system.
    IF ( ( me-&amp;gt;g_dbcon = 'DEFAULT' ) OR ( me-&amp;gt;g_dbcon IS INITIAL ) ).
*...local system
      AUTHORITY-CHECK OBJECT 'S_TABU_DIS'
                      ID 'ACTVT' FIELD '03'
                      ID 'DICBERCLS' FIELD ''.
      IF ( sy-subrc &amp;lt;&amp;gt; 0 ).                    "no authorization
        e_rc = 1.
      ELSE.
        e_rc = 0.
      ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find this when you actually run the statement, unless it is an external DBCON connection.. in which case it is closed and nothing is displayed here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would say that Mylene is correct, and there is a bit of an application authorization check made once the connection information to the DB table is known (even if it is only as strong as the one in debugging SE16). Obviously you need to be more carefull of S_ADMI_FCD PADM or ST0R or ST0M to get in there in the first place...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2009 13:30:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-19T13:30:44Z</dc:date>
    <item>
      <title>Restrict Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254351#M1384127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to restrict authorization... Is there a object/Tcode to do so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restrict Authorization for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DBACOCKPIT -&amp;gt; Performance -&amp;gt; Additional Functions -&amp;gt; SQL Command Editor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be done as Basis users should not be able to get access at the Table Level...&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;RaHuL...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 07:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254351#M1384127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T07:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254352#M1384128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your objects are within your t-code itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make use of S_ADMI_FCD under it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For documentation on this obj go to su21 and search for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As always, make use of trace:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahmeshwar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 08:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254352#M1384128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T08:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254353#M1384129</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;Thanks for the reply Brahmeshwar...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked with &lt;STRONG&gt;S_ADMI_FCD&lt;/STRONG&gt;... It doesn't work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other guesses?&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;RaHuL...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 07:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254353#M1384129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-18T07:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254354#M1384130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there's nothing to guess. this has nothing to do with SAP authorisations. this is on DBA-level - access to SQL when logged on in the SAP system is always done with user db2&amp;lt;dbsid&amp;gt;. so, check your DB-schema, groups, levels etc or go to your DBA and have her do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RaHuL, may i suggest that you phrase your topic subjects in a more 'meaningful' way in the future? like 'how to limit transaction DBACOCKPIT to display when it comes to SQL' or somesuch? thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 08:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254354#M1384130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-18T08:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254355#M1384131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what makes you think I will give you a different answer on SAPFans (to the very same question of today)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 11:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254355#M1384131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-19T11:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254356#M1384132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mylène Dorias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Just thought there would be more smarter people on that forum than you...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you donot wish to reply , keep your mouth shut and let others help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unwanted comments are not appreciated...&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;RaHuL...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 11:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254356#M1384132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-19T11:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254357#M1384133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now now... Mylene did add a smiley... and you didn't...&lt;/P&gt;&lt;P&gt;Perhaps this is because you think you are invisible in the internet? Huh?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I have been looking into this and if you do not tell us your release and SP level (at least) then we cannot help you.&lt;/P&gt;&lt;P&gt;That is a general rule for asking questions, and in this case a necessary information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 12:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254357#M1384133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-19T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254358#M1384134</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;+&lt;EM&gt;&lt;STRONG&gt;One More  in the forum...&lt;/STRONG&gt;&lt;/EM&gt;+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i &lt;STRONG&gt;curse you/use bad words&lt;/STRONG&gt; and add  a smiley at the end? If it is OK with you then let me know? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are on SAP ECC 6.0 with Oracle 10 and Solaris 10 Kernel Release 700 [185] ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are any more inputs required?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I would appreciate only relevant answers&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RaHuL..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 12:40:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254358#M1384134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-19T12:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254359#M1384135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vijay Mehta from Reliance, Thane Belapur Road, KoparKhairane (Mumbai)&lt;/P&gt;&lt;P&gt;India,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's your SAP_BASIS level (see transaction SPAM -&amp;gt; installed support packs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 12:57:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254359#M1384135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-19T12:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254360#M1384136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you are going to be more polite in future, or even completely quiet yourself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, if your SP level is below 17, then see method CHECK_TABLES of class CL_ORA_SRV_JSEL - otherwise, see method OKCODE_PARSE_AND_EXECUTE of class CL_ORA_ACTION_SQLC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* local system: if the user has the permission to display table contents like
* in transaction SE16 (authority object S_TABU_DIS), the SQL Command Editor
* will also allow to show the table contents.
* remote system: on a remote system, the check is done according to the original
* rules. If table-owner is 'SYS' or 'PULIC', the contents will be displayed,
* otherwise the table contents will not be displayed. On a remote system the
* Authority Check can not be executed. Therefore we have a different behaviour
* in this case than running the SQL Command Editor on a local system.
    IF ( ( me-&amp;gt;g_dbcon = 'DEFAULT' ) OR ( me-&amp;gt;g_dbcon IS INITIAL ) ).
*...local system
      AUTHORITY-CHECK OBJECT 'S_TABU_DIS'
                      ID 'ACTVT' FIELD '03'
                      ID 'DICBERCLS' FIELD ''.
      IF ( sy-subrc &amp;lt;&amp;gt; 0 ).                    "no authorization
        e_rc = 1.
      ELSE.
        e_rc = 0.
      ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find this when you actually run the statement, unless it is an external DBCON connection.. in which case it is closed and nothing is displayed here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would say that Mylene is correct, and there is a bit of an application authorization check made once the connection information to the DB table is known (even if it is only as strong as the one in debugging SE16). Obviously you need to be more carefull of S_ADMI_FCD PADM or ST0R or ST0M to get in there in the first place...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 13:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-authorization/m-p/6254360#M1384136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-19T13:30:44Z</dc:date>
    </item>
  </channel>
</rss>

