<?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: Report parameters - user authorization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-parameters-user-authorization/m-p/1550357#M249729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One option is to create your own status in SE41 &amp;amp; disable the 'GET' function code on the application toolbar. In your report SET PF-STATUS to point to this menu based on authorization check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2006 18:09:23 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2006-09-07T18:09:23Z</dc:date>
    <item>
      <title>Report parameters - user authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-parameters-user-authorization/m-p/1550356#M249728</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;We are trying to limit the ways a particular user can run a report (with a standard selection screen 1000).  For example, the report has a parameter for company code on the selection screen - but the user should only be allowed to run the report for ONE particular company code.  We can obviously create a transaction code that starts with a particular variant in order that the appropriate data is populated.  However, we want to limit the user's access to other variants available to that report.  Is there a way we can disable the "Get variant" button for a report selection screen?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody has another suggestion as to how we can run a report where the user only has authorization to run with particular parameters, I would really appreciate hearing about it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks -&lt;/P&gt;&lt;P&gt;Abby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 17:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-parameters-user-authorization/m-p/1550356#M249728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T17:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Report parameters - user authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-parameters-user-authorization/m-p/1550357#M249729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One option is to create your own status in SE41 &amp;amp; disable the 'GET' function code on the application toolbar. In your report SET PF-STATUS to point to this menu based on authorization check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 18:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-parameters-user-authorization/m-p/1550357#M249729</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-09-07T18:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Report parameters - user authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-parameters-user-authorization/m-p/1550358#M249730</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;  If it is only for company code then you can use the authorization check for the company code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Check this FM BAPI_COMPANYCODE_EXISTENCECHK for authorization check for the company code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 18:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-parameters-user-authorization/m-p/1550358#M249730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T18:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Report parameters - user authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-parameters-user-authorization/m-p/1550359#M249731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but unfortunately company code is just an example... there are other fields as well.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think I've found the solution...  limit the function code GET as shown below... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab TYPE TABLE OF sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS test(10) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;APPEND: 'GET' TO itab.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;p_status = sy-pfkey&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;p_exclude = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 18:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-parameters-user-authorization/m-p/1550359#M249731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T18:32:23Z</dc:date>
    </item>
  </channel>
</rss>

