<?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 Creating a custom authorization object. Please help! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-custom-authorization-object-please-help/m-p/4763333#M1116757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I have a ABAP report. I am querying a custom table "YPROG_STATUS" in this report. Now as per security requirement I want to restrict this report for execution. Only those users who have change access to the custom table "YPROG_STATUS" can run the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To accomplish this how shall I configure and use my new custom authorization object "YPROG_AUTH".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Apart from ACTVT field what shall I enter under the "Authorization fields" section while creating a authorization object via SU21 transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Do I have to include this authrorization object in my custom table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. How do I use the authorization check in my ABAP code?&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'YPROG_AUTH'&lt;/P&gt;&lt;P&gt;          ID ? FIELD ?&lt;/P&gt;&lt;P&gt;          ID 'ACTVT' FIELD '03'.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;  MESSAGE E000.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2008 09:10:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-05T09:10:17Z</dc:date>
    <item>
      <title>Creating a custom authorization object. Please help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-custom-authorization-object-please-help/m-p/4763333#M1116757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I have a ABAP report. I am querying a custom table "YPROG_STATUS" in this report. Now as per security requirement I want to restrict this report for execution. Only those users who have change access to the custom table "YPROG_STATUS" can run the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To accomplish this how shall I configure and use my new custom authorization object "YPROG_AUTH".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Apart from ACTVT field what shall I enter under the "Authorization fields" section while creating a authorization object via SU21 transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Do I have to include this authrorization object in my custom table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. How do I use the authorization check in my ABAP code?&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'YPROG_AUTH'&lt;/P&gt;&lt;P&gt;          ID ? FIELD ?&lt;/P&gt;&lt;P&gt;          ID 'ACTVT' FIELD '03'.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;  MESSAGE E000.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 09:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-custom-authorization-object-please-help/m-p/4763333#M1116757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T09:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom authorization object. Please help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-custom-authorization-object-please-help/m-p/4763334#M1116758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Gopal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you only want to restrict the access to this report, you can build up an own transaction for this report (transaction code: SE93). After this, the users only needs the authorization object S_TCODE with the value of your new transaction to run the report. This is an easy way. No further coding in the ABAP report is necessary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards SWS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 11:20:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-custom-authorization-object-please-help/m-p/4763334#M1116758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T11:20:47Z</dc:date>
    </item>
  </channel>
</rss>

