<?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 objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-objects/m-p/4845136#M1133218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EXAMPLE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AUTHORITY-CHECK&lt;/P&gt;&lt;P&gt;         OBJECT 'ZPLANT'&lt;/P&gt;&lt;P&gt;             ID 'WERKS' FIELD vbrp-werks&lt;/P&gt;&lt;P&gt;             ID 'ACTVT'  FIELD '01'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2008 11:27:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-26T11:27:25Z</dc:date>
    <item>
      <title>authorization objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-objects/m-p/4845134#M1133216</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 a requirement to check the authoriazation of the user while executing a module pool for some fuctions, As i have two icons for the said to functions,on the application tool bar('Stage' and 'Process').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has to check whether a user is authorized to execute the above said functions in a particular client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have create an authorization object 'Y_CHECK_AUTH' with two fields client and the function(which i have mentioned earlier).and also i have implemented the following code in my program to check the authorizations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;authority-check object 'Y_USER_CHK'&lt;/P&gt;&lt;P&gt;                  id 'Y_EVENT'    field my_ok_code&lt;/P&gt;&lt;P&gt;                  id 'Y_ENDPOINT' field my_client.&lt;/P&gt;&lt;P&gt;  if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;    rvv_flag = 'X'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from this what i need to do..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do i need to add this authorization object to the user profiles or the authorization profiles... if so how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ram prasad on Nov 26, 2008 11:34 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ram prasad on Nov 26, 2008 11:36 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 10:06:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-objects/m-p/4845134#M1133216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T10:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: authorization objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-objects/m-p/4845135#M1133217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you have done in the program is looking ok.&lt;/P&gt;&lt;P&gt;Now you need to inform your basis team to give and restrict the authorizations for the users .&lt;/P&gt;&lt;P&gt;You can tell them about the authorization object you have created and activities ofr those objects.&lt;/P&gt;&lt;P&gt;And they can assign those authorizations to the users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this for the information on assigning roles and autohrization object .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c&lt;/A&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; Neha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Neha Shukla on Nov 26, 2008 4:14 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 10:43:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-objects/m-p/4845135#M1133217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T10:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: authorization objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-objects/m-p/4845136#M1133218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EXAMPLE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AUTHORITY-CHECK&lt;/P&gt;&lt;P&gt;         OBJECT 'ZPLANT'&lt;/P&gt;&lt;P&gt;             ID 'WERKS' FIELD vbrp-werks&lt;/P&gt;&lt;P&gt;             ID 'ACTVT'  FIELD '01'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 11:27:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-objects/m-p/4845136#M1133218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T11:27:25Z</dc:date>
    </item>
  </channel>
</rss>

