<?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: Authority Check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358405#M1037588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the &lt;STRONG&gt;authority-check&lt;/STRONG&gt; command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS carr TYPE spfli-carrid. 

AT SELECTION-SCREEN. 
  AUTHORITY-CHECK OBJECT 'S_CARRID' 
    ID 'CARRID' FIELD carr 
    ID 'ACTVT'  FIELD '03'. 

  IF sy-subrc &amp;lt;&amp;gt; 0. 
    MESSAGE 'No authorization' TYPE 'E'. 
  ENDIF. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user has the authority object associated to his profile, the resul of sy-subrc will be 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Aug 2008 12:44:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-29T12:44:27Z</dc:date>
    <item>
      <title>Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358404#M1037587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have a small problem ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i check wether a particular user is authorized to execute a transaction or not ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the issue is .. i have created a Module pool program ... now i need to have a authority check to execute the transaction..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;chandu reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 12:40:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358404#M1037587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T12:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358405#M1037588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the &lt;STRONG&gt;authority-check&lt;/STRONG&gt; command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS carr TYPE spfli-carrid. 

AT SELECTION-SCREEN. 
  AUTHORITY-CHECK OBJECT 'S_CARRID' 
    ID 'CARRID' FIELD carr 
    ID 'ACTVT'  FIELD '03'. 

  IF sy-subrc &amp;lt;&amp;gt; 0. 
    MESSAGE 'No authorization' TYPE 'E'. 
  ENDIF. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user has the authority object associated to his profile, the resul of sy-subrc will be 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 12:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358405#M1037588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T12:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358406#M1037589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create the transaction in SE93 as a dialog transaction for that module pool program / screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To start the program, the (normal) user would need the authority for that transaction (object S_TCODE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think if you search for "transaction to start a module pool program" then you would probably also have found some hits....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 12:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358406#M1037589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T12:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358407#M1037590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/52/67129f439b11d1896f0000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/52/67129f439b11d1896f0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 12:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358407#M1037590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T12:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358408#M1037591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Hiiiii guys ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all ur responses ....issue got resolved ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chandu reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 13:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358408#M1037591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T13:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358409#M1037592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW: If you are coding an authority-check statement into your program (as mentioned by David) for object S_TCODE (as mentioned by me - at transaction start), I recommend that you do this by calling function module 'AUTHORITY_CHECK_TCODE' as you might want more than 1 transaction to be able to &lt;EM&gt;use&lt;/EM&gt; this program, but no other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 13:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/4358409#M1037592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T13:40:01Z</dc:date>
    </item>
  </channel>
</rss>

