<?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: Authorization for Specific tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346380#M174403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saquib,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_TABU_DIS does not take a table name as input. So you cannot specifically check if a user has display access to a particular table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2006 19:28:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-23T19:28:52Z</dc:date>
    <item>
      <title>Authorization for Specific tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346376#M174399</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 have the following requirement. Suggestion or help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two of the business users has to be given permission to execute SE16 transaction, but their access will be limited to two tables CATSDB and PA2010. That is the user would only be able to view these two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide a detailed step for doing this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to achieve the same functinality using custom transaction ? If so how ? (These two tables does not have a Maintanance View and they are standard tables).&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;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 19:15:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346376#M174399</guid>
      <dc:creator>former_member219162</dc:creator>
      <dc:date>2006-05-23T19:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization for Specific tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346377#M174400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot restrict SE16 to specific tables. You have to create your own transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create an authorization object that takes a table name as one of its fields and may be activity also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write a small program that takes in the table name as input. Check for the new authorization object that you created upfront and check if the user has display authorization for the table entered in the selection screen. If the authorization check succeeds, then call function module RS_TABLE_LIST_CREATE passing the table name obtained from selection screen. This will take them to the SE16 selection screen for that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 19:22:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346377#M174400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T19:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization for Specific tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346378#M174401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about creating simple infosets and queries in SQ02 and SQ01.  You can create an infoset for each table,  then use these infosets in a query, include whatever selection that you want, and show the data in ALV grids.  This way, user does not need access to SE16, and they can only run the queries that are assigned to them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 19:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346378#M174401</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-23T19:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization for Specific tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346379#M174402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;You can use the object :S_TABU_DIS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also look at &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/basis/Security%20upgrade%20white%20paper.htm" target="test_blank"&gt;http://www.sapgenie.com/basis/Security%20upgrade%20white%20paper.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAP_BC_Authorization_Concept.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAP_BC_Authorization_Concept.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1466039"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Tables&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP is characterized by the use of thousands of application and control tables.  The setup of the control tables, to a large extent, determines in which way a SAP installation functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical views provided by the ABAP/4 Dictionary of all data (control data, master data, and transaction data) stored in SAP system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All control tables start with the letter &amp;#147;T&amp;#148;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Control tables can be displayed and maintained on-line.  Menu Path: System - Services - Table Maintenance.  In order to restrict tables a number of table authorization classes should be defined.  All standard tables have been assigned to authorization classes.  Authorization object, Table Maintenance is used to maintain the tables in each authorization class.  Two levels of access are allowed value = 02 (add, change, or delete) and 03 (display only).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To modify a table structure Menu Path: Tools - CASE - Development - Data Dictionary - Maintenance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logging of changes can be accomplished by using change document objects to specify which tables are logged and the level of logging performed on each table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAP Authorization Concept &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization checks are a means of protecting functions or objects in the R/3 System. The programmer of the function determines where and how these checks are made, while the user administrator determines (within the framework defined by the programmer) who can execute a function or access an object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The terms central to the SAP authorization concept are: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization field &lt;/P&gt;&lt;P&gt;This is the smallest unit against which checks can be made. The programmer can create authorization fields by selecting Tools &amp;amp;#8594; ABAP Workbench &amp;amp;#8594; Development &amp;amp;#8594; Other tools &amp;amp;#8594; Authorization objs &amp;amp;#8594; Fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: ACTVT and CUSTTYPE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization object &lt;/P&gt;&lt;P&gt;An authorization object groups together 1 to 10 authorization fields which can then be checked as a combination. The programmer can create authorization fields by selecting Tools &amp;amp;#8594; ABAP Workbench &amp;amp;#8594; Development &amp;amp;#8594; Other tools &amp;amp;#8594; Authorization objs &amp;amp;#8594; Objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: The authorization objekt S_TRVL_BKS groups together the authorization fields ACTVT and CUSTTYPE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization &lt;/P&gt;&lt;P&gt;An authorization is a combination of permitted values for each authorization field of an authorization object. The user administrator creates authorizations by selecting Tools &amp;amp;#8594; Administration &amp;amp;#8594; Maintain users &amp;amp;#8594; Authorization. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_TRVL_CUS1 is an authorization for the authorization object S_TRVL_BKS with the values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for customer type (CUSTTYPE) and &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;02 for activity (ACTVT). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Users who have this authorization are allowed to change the bookings of all customers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_TRVL_CUS2 is an authorization for the authorization object S_TRVL_BKS with the values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B for customer type (CUSTTYPE) and &lt;/P&gt;&lt;P&gt;03 for activity (ACTVT). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Users who have this authorization are allowed to display the postings of all customers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization profile &lt;/P&gt;&lt;P&gt;An authorization profile represents a simple workplace in the context of authorizations. An authorization profile contains authorizations for the authorization objects a user needs to operate effectively in a restricted task area. The user administrator creates authorizations by selecting Tools &amp;amp;#8594; Administration &amp;amp;#8594; Maintain users &amp;amp;#8594; Profiles. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User master record &lt;/P&gt;&lt;P&gt;Your user master record is checked when you logon to the R/3 system. Through the authorization profiles, this provides restricted access to the functions and objects of the R/3 System. The user administrator creates authorizations by selecting Tools &amp;amp;#8594; Administration &amp;amp;#8594; Maintain users &amp;amp;#8594; Users. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization check &lt;/P&gt;&lt;P&gt;The programmer can perform authorization checks with the ABAP command AUTHORITY-CHECK by specifying the value to be checked for each authorization field defined. The system then scans the profiles in the user master record for the authorizations specified. If one of the authorizations found for all fields of the authorization object covers the values specified by AUTHORITY-CHECK, the check was successful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Check whether the user is allowed to change the postings of business customers: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'S_TRVL_BKS' &lt;/P&gt;&lt;P&gt;ID 'ACTVT' FIELD '02' &lt;/P&gt;&lt;P&gt;ID 'CUSTTYPE' FIELD 'B'. &lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;MESSAGE E... &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the authorization S_TRVL_CUS1 exists in the user's master record, the authorization check is successful. However, if the authorization S_TRVL_CUS2 exists, but not the authorization S_TRVL_CUS1, the check fails. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization assignment &lt;/P&gt;&lt;P&gt;The system administrator is responsible for assigning user master records with the correct authorizations. You should use the Profile Generator to maintain authorization profiles. However, you can also change them manually. Each authorization object contains authorizations. These are grouped together in authorization profiles such that each authorization profile represents a job description, for example 'flight reservations clerk'. You assign one or more authrization profiles to each user master record. You can assign an authorization to as many authorization profiles as you like, and an authorization profile to as many composite profiles and users as you like. Composite profiles are used in manual authorization maintenance, and form a further division in the authorization structure. However, they are not strictly necessary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User master record &lt;/P&gt;&lt;P&gt;/ ... \ &lt;/P&gt;&lt;P&gt;/ \ &lt;/P&gt;&lt;P&gt;Auth. profile Composite auth. profile &lt;/P&gt;&lt;P&gt;/ .. \ / .. \ &lt;/P&gt;&lt;P&gt;/ \ / \ &lt;/P&gt;&lt;P&gt;Authorization Auth. profile &lt;/P&gt;&lt;P&gt;/ / ... \ &lt;/P&gt;&lt;P&gt;/ / \ &lt;/P&gt;&lt;P&gt;Values Authorization &lt;/P&gt;&lt;P&gt;/ &lt;/P&gt;&lt;P&gt;/ &lt;/P&gt;&lt;P&gt;Values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this&amp;#146;ll give you idea!!&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;P.S award the points.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Good luck &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saquib Khan&lt;/P&gt;&lt;P&gt;"Some are wise and some are otherwise"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 19:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346379#M174402</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-05-23T19:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization for Specific tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346380#M174403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saquib,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_TABU_DIS does not take a table name as input. So you cannot specifically check if a user has display access to a particular table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 19:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346380#M174403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T19:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization for Specific tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346381#M174404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right , its just check "02"03" Etc . I&amp;#146;m also investigating other options . As You can control on the basis of TR.SE11  but still you can by pass it by using SE16. &lt;/P&gt;&lt;P&gt;Let me look in to that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 19:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346381#M174404</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-05-23T19:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization for Specific tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346382#M174405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to  use the object :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization Obj. : S_DEVELOP &lt;/P&gt;&lt;P&gt;with values :&lt;/P&gt;&lt;P&gt;DEVCLASS   &lt;/P&gt;&lt;P&gt;OBJTYPE    TABL      &lt;/P&gt;&lt;P&gt;OBJNAME    &amp;lt;b&amp;gt;AGR_1251&amp;lt;/b&amp;gt;  ( Table name )&lt;/P&gt;&lt;P&gt;P_GROUP              &lt;/P&gt;&lt;P&gt;ACTVT      02        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;u&amp;gt;You can use &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Tr.ST01&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; to trace authorization .&amp;lt;/u&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;Hope this&amp;#146;ll give you idea!!&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;P.S award the points.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Good luck &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saquib Khan&lt;/P&gt;&lt;P&gt;"Some are wise and some are otherwise"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 19:38:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346382#M174405</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-05-23T19:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization for Specific tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346383#M174406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again Saquib, sorry to bother you, but this is for checking if the user has display access(or change or create of course) to the structure of the table not the contents of the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 19:44:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-specific-tables/m-p/1346383#M174406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T19:44:59Z</dc:date>
    </item>
  </channel>
</rss>

