<?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: Authority Check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3877912#M932142</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;/P&gt;&lt;P&gt;&lt;STRONG&gt;Authority Check&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Much of the data in an R/3 system has to be protected so that unauthorized users cannot access it. Therefore the appropriate authorization is required before a user can carry out certain actions in the system. When you log on to the R/3 system, the system checks in the user master record to see which transactions you are authorized to use. An authorization check is implemented for every sensitive transaction. &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 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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2008 04:44:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-28T04:44:12Z</dc:date>
    <item>
      <title>Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3877911#M932141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;1) Whats all about Authority checks?&lt;/P&gt;&lt;P&gt;2) Will this check be used in ABAP Custom Reports? If its so then how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Mohandoss P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 04:38:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3877911#M932141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T04:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3877912#M932142</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;/P&gt;&lt;P&gt;&lt;STRONG&gt;Authority Check&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Much of the data in an R/3 system has to be protected so that unauthorized users cannot access it. Therefore the appropriate authorization is required before a user can carry out certain actions in the system. When you log on to the R/3 system, the system checks in the user master record to see which transactions you are authorized to use. An authorization check is implemented for every sensitive transaction. &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 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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 04:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3877912#M932142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T04:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3877913#M932143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. AUTHORITY CHECK is used to determine whether an user has authorization to perform particular task.&lt;/P&gt;&lt;P&gt;   This will be determined on various fields. This will configured in SAP through customization and roles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can use this custom report when standard SAP authorization is not sufficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. You have to use the statement AUTHORITY CHECK, along with the authorization object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you, revert in case any more information needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 04:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3877913#M932143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T04:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3877914#M932144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Raja,&lt;/P&gt;&lt;P&gt;Thanks for your extended support.&lt;/P&gt;&lt;P&gt;POints granted.&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Mohandoss P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 05:52:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3877914#M932144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T05:52:09Z</dc:date>
    </item>
  </channel>
</rss>

