<?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: authorisation check? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorisation-check/m-p/2804996#M655369</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;&amp;lt;b&amp;gt;example:&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program an AUTHORITY-CHECK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT &amp;lt;authorization object&amp;gt;  &lt;/P&gt;&lt;P&gt;   ID &amp;lt;authority field 1&amp;gt; FIELD &amp;lt;field value 1&amp;gt;.  &lt;/P&gt;&lt;P&gt;   ID &amp;lt;authority field 2&amp;gt; FIELD &amp;lt;field value 2&amp;gt;.  &lt;/P&gt;&lt;P&gt;   ...  &lt;/P&gt;&lt;P&gt;   ID &amp;lt;authority-field n&amp;gt; FIELD &amp;lt;field value n&amp;gt;.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OBJECT parameter specifies the authorization object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ID parameter specifies an authorization field (in the authorization object). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FIELD parameter specifies a value for the authorization field. &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 SY-SUBRC is ZETO then the user has the authority else User does not have the Authorization&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2007 12:47:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-07T12:47:28Z</dc:date>
    <item>
      <title>authorisation check?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorisation-check/m-p/2804994#M655367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some BOMs in ITAB.&lt;/P&gt;&lt;P&gt;i need to check whether the user has acces to BOMS using AUTHORISATION OBJECT  &amp;lt;b&amp;gt;C_ASUE&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;i have BOMs auth group MBPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by using these tewo how can i check weather user have access or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vkr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 12:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorisation-check/m-p/2804994#M655367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T12:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: authorisation check?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorisation-check/m-p/2804995#M655368</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;You have to use the Authorization object in Authority-check statement for this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps to implement authorization checks:&lt;/P&gt;&lt;P&gt;1. Creating Authorization object in SU21. (If it is not existing already)&lt;/P&gt;&lt;P&gt;Assign the Fields here&lt;/P&gt;&lt;P&gt;This is done by ABAP resource.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Creating authorizations using these Auth Objects. (PFCG)&lt;/P&gt;&lt;P&gt;This is done by BASIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Assigning these authorizations to users (SU01)&lt;/P&gt;&lt;P&gt;This is done by BASIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Checking the Authorization of a user in a program&lt;/P&gt;&lt;P&gt;This is done by ABAP resource &lt;/P&gt;&lt;P&gt;using the Statement called AUTHORITY-CHECK in a program. (Thru PATTERN)&lt;/P&gt;&lt;P&gt;This statement accepts the Values for the Fields and if a suitable authorization found in the User profile then it returns SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REWARD IF HELPFUL&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 12:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorisation-check/m-p/2804995#M655368</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-07T12:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: authorisation check?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorisation-check/m-p/2804996#M655369</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;&amp;lt;b&amp;gt;example:&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program an AUTHORITY-CHECK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT &amp;lt;authorization object&amp;gt;  &lt;/P&gt;&lt;P&gt;   ID &amp;lt;authority field 1&amp;gt; FIELD &amp;lt;field value 1&amp;gt;.  &lt;/P&gt;&lt;P&gt;   ID &amp;lt;authority field 2&amp;gt; FIELD &amp;lt;field value 2&amp;gt;.  &lt;/P&gt;&lt;P&gt;   ...  &lt;/P&gt;&lt;P&gt;   ID &amp;lt;authority-field n&amp;gt; FIELD &amp;lt;field value n&amp;gt;.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OBJECT parameter specifies the authorization object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ID parameter specifies an authorization field (in the authorization object). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FIELD parameter specifies a value for the authorization field. &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 SY-SUBRC is ZETO then the user has the authority else User does not have the Authorization&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 12:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorisation-check/m-p/2804996#M655369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T12:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: authorisation check?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorisation-check/m-p/2804997#M655370</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;  choose the button 'Pattern" beside pretty printer.&lt;/P&gt;&lt;P&gt; then choose autority check radio button&lt;/P&gt;&lt;P&gt;there u pass ur authorization object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u will get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 12:53:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorisation-check/m-p/2804997#M655370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T12:53:33Z</dc:date>
    </item>
  </channel>
</rss>

