<?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  and S_Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-and-s-program/m-p/1832934#M354834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The requirement is to restrict the execution of a report to only a certain group of users. So what I've done is create an authorization group for the report/program. How do I use the authority-check keyword to check for it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program: Z_MMRALV&lt;/P&gt;&lt;P&gt;auth. group: ZMMR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: This program is being called by another program (ZPROGA) so it should first check if user is authorized to use it. This check should be incorporated in the calling program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'S_PROGRAM'&lt;/P&gt;&lt;P&gt;                  ID 'ZMMR' FIELD 'Z_MMRALV'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the correct way to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2007 00:43:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-05T00:43:29Z</dc:date>
    <item>
      <title>Authority-Check  and S_Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-and-s-program/m-p/1832934#M354834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The requirement is to restrict the execution of a report to only a certain group of users. So what I've done is create an authorization group for the report/program. How do I use the authority-check keyword to check for it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program: Z_MMRALV&lt;/P&gt;&lt;P&gt;auth. group: ZMMR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: This program is being called by another program (ZPROGA) so it should first check if user is authorized to use it. This check should be incorporated in the calling program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'S_PROGRAM'&lt;/P&gt;&lt;P&gt;                  ID 'ZMMR' FIELD 'Z_MMRALV'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the correct way to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 00:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-and-s-program/m-p/1832934#M354834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T00:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Authority-Check  and S_Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-and-s-program/m-p/1832935#M354835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does not matter where you put it...i.e. in the calling program or in the actual program...as in both the places the check will be done and will stop the report if he is not authorised to execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Guru&lt;/P&gt;&lt;P&gt;Reward points for helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 00:57:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-and-s-program/m-p/1832935#M354835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T00:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Authority-Check  and S_Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-and-s-program/m-p/1832936#M354836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the option we have in attributes of a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can find field "Authorization Group" in attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is extract from documentation:&lt;/P&gt;&lt;P&gt;Authorization Group&lt;/P&gt;&lt;P&gt;Authorization group to which the program is assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The assignment of a program to an authorization group plays a role when the system checks whether the user is authorized to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute a program&lt;/P&gt;&lt;P&gt;--&amp;gt; Authorization object S_PROGRAM&lt;/P&gt;&lt;P&gt;Edit a program (-Include) in the ABAP Workbench&lt;/P&gt;&lt;P&gt;--&amp;gt; Authorization object S_DEVELOP&lt;/P&gt;&lt;P&gt;Programs that are not assigned to an authorization group are not protected against display and execution.&lt;/P&gt;&lt;P&gt;Security-related programs should, therefore, always be assigned to an authorization group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report RSCSAUTH can also be used to assign programs to authorization groups. This report is documented in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 01:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-and-s-program/m-p/1832936#M354836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T01:00:55Z</dc:date>
    </item>
  </channel>
</rss>

