<?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 check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-check/m-p/8509256#M1654724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if customers/managers don't trust in the authorisation checks you could go a "Stone Age" way:&lt;/P&gt;&lt;P&gt;create a table where you hold all the users names who are allowed to run the report.&lt;/P&gt;&lt;P&gt;At the beginning of your report SELECT from that table with SY-UNAME and if you don't find the name EXIT the report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2012 16:18:15 GMT</pubDate>
    <dc:creator>former_member226519</dc:creator>
    <dc:date>2012-01-18T16:18:15Z</dc:date>
    <item>
      <title>Authorization check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-check/m-p/8509254#M1654722</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 developed a custom report that creates Material master record, Bill of Material and Routing. As it includes, Master data, I want to have authorization check.  Access for tcode of my custom report will be given only to a few members, but there are chances of having access for tcode is given to an user(who is not eligible), So my manager want to have 1 more authorization check inside the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not understanding on what can I preventing the execution or program or stop creation of New Material Record, BOM, and ROUTING.  Please comment on this along with Objects for Material Master, BOM and Routing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 14:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-check/m-p/8509254#M1654722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-18T14:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-check/m-p/8509255#M1654723</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;At program level you can restrict by calling function module AUTHORITY-CHECK.&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;In the ABAP Development workbench goto More Tools - Authorization - Objects. You will find a list of all the objects with the relevant fields and documents, organized by class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively,&lt;/P&gt;&lt;P&gt;You can try creating authorisation object with the help of Tcode SU21.&lt;/P&gt;&lt;P&gt;Take help of your basis team to restrict authorisation for particular user group .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 15:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-check/m-p/8509255#M1654723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-18T15:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-check/m-p/8509256#M1654724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if customers/managers don't trust in the authorisation checks you could go a "Stone Age" way:&lt;/P&gt;&lt;P&gt;create a table where you hold all the users names who are allowed to run the report.&lt;/P&gt;&lt;P&gt;At the beginning of your report SELECT from that table with SY-UNAME and if you don't find the name EXIT the report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 16:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-check/m-p/8509256#M1654724</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2012-01-18T16:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-check/m-p/8509257#M1654725</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;For performing the authorization you can create a an authorization object and ask the basis team to configure the usernames having the authorization.Then use that authorization object to limit the users using your program to create Material master record, Bill of Material and Routing.&lt;/P&gt;&lt;P&gt;For creating the authorization object and using it in your program follow the below link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.richardsantos.net/2009/03/16/sap-how-to-create-and-use-the-authorization-objects-in-abap/" target="test_blank"&gt;http://www.richardsantos.net/2009/03/16/sap-how-to-create-and-use-the-authorization-objects-in-abap/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;begging removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Jan 20, 2012&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 06:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-check/m-p/8509257#M1654725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-20T06:24:19Z</dc:date>
    </item>
  </channel>
</rss>

