<?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 Authority Check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/2420840#M540398</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;   Can any one give me brief description on the below ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) what do you mean by authority check &amp;amp; how we can create them ?&lt;/P&gt;&lt;P&gt;2) How we can compare authority checks with Lock objects ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of sending links, just give me example with explanation ...would be really useful for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will surely reward for helpful answers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2007 15:35:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-03T15:35:03Z</dc:date>
    <item>
      <title>Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/2420840#M540398</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;   Can any one give me brief description on the below ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) what do you mean by authority check &amp;amp; how we can create them ?&lt;/P&gt;&lt;P&gt;2) How we can compare authority checks with Lock objects ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of sending links, just give me example with explanation ...would be really useful for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will surely reward for helpful answers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 15:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/2420840#M540398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T15:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/2420841#M540399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A programmer wants to make an authorization check before bookings for business customers can be changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this, the programmer should create an authorization fields ( ACTVT and CUSTTYPE ) and assign for each field defined the value to be checked ( 02, B ). Authorization fields are created under Tools--&lt;DEL&gt;-&amp;gt;ABAP Workbench&lt;/DEL&gt;&amp;gt;Development&lt;DEL&gt;-&amp;gt;Other tools&lt;/DEL&gt;&lt;DEL&gt;&amp;gt;Authorization objects&lt;/DEL&gt;-&amp;gt;Fields (transaction SU20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Programmers should also create an authorization object (here S_TRVL_BKS ) and assign the authorization object to an object class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization fields are created under Tools--&lt;DEL&gt;&amp;gt;ABAP Workbench&lt;/DEL&gt;&lt;DEL&gt;&amp;gt;Development&lt;/DEL&gt;&lt;DEL&gt;&amp;gt;Other tools&lt;/DEL&gt;&lt;DEL&gt;?Authorization objects&lt;/DEL&gt;--&amp;gt;Objects (transaction SU21). Authorization objects can also be created in the Object Navigator (transaction SE80).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You program the authorization check using the ABAP statement 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;The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more details follow this link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/52/6712ac439b11d1896f0000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/52/6712ac439b11d1896f0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 15:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/2420841#M540399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T15:37:54Z</dc:date>
    </item>
  </channel>
</rss>

