<?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/3606658#M868776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have written some code like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AUTHORITY-CHECK OBJECT &amp;lt;obj&amp;gt;&lt;/P&gt;&lt;P&gt; ID 'TCD' FIELD '&amp;lt;field&amp;gt;'&lt;/P&gt;&lt;P&gt; ID 'ACTVT' FIELD '*'.      &lt;/P&gt;&lt;P&gt;                            &lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.           &lt;/P&gt;&lt;P&gt;  MESSAGE e004.             &lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;perform &amp;lt;perform&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to debug mode and change the value of sy-subrc as 4.&lt;/P&gt;&lt;P&gt;Then it will shows the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2008 07:21:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-20T07:21:48Z</dc:date>
    <item>
      <title>Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3606657#M868775</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;I have coded in my program abt the authority check on a particular field of selection screen..&lt;/P&gt;&lt;P&gt;what i want is to test it..what shud i do or how shud i test whether the authority check is functioning properly or not...i tried changing the user name sy-user in debug mode by using some user name..but it is displaying the report output..&lt;/P&gt;&lt;P&gt;i want to do some testing where i want to see an error message that iam not authorised to see the output..&lt;/P&gt;&lt;P&gt;what shud i do??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tahnks&lt;/P&gt;&lt;P&gt;Shakir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 07:14:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3606657#M868775</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2008-03-20T07:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Authority Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3606658#M868776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have written some code like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AUTHORITY-CHECK OBJECT &amp;lt;obj&amp;gt;&lt;/P&gt;&lt;P&gt; ID 'TCD' FIELD '&amp;lt;field&amp;gt;'&lt;/P&gt;&lt;P&gt; ID 'ACTVT' FIELD '*'.      &lt;/P&gt;&lt;P&gt;                            &lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.           &lt;/P&gt;&lt;P&gt;  MESSAGE e004.             &lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;perform &amp;lt;perform&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to debug mode and change the value of sy-subrc as 4.&lt;/P&gt;&lt;P&gt;Then it will shows the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 07:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/3606658#M868776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T07:21:48Z</dc:date>
    </item>
  </channel>
</rss>

