<?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 using object 'P_ORGINCON' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-using-object-p-orgincon/m-p/362535#M7744</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am using 'P_ORGINCON' for an authority check for User's Personnel area (PA0001-WERKS). The code is as follows. But it returns SY-SUBRC = 0 for all cases. Even if we give invalid PA, it returns success. Is my code ok? Or we need to pass any other
parameters?&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'P_ORGINCON'&lt;BR /&gt;
 ID 'INFTY' DUMMY&lt;BR /&gt;
 ID 'SUBTY' DUMMY&lt;BR /&gt;
 ID 'AUTHC' FIELD 'R'&lt;BR /&gt;
 ID 'PERSA' FIELD lx_p0001-werks&lt;BR /&gt;
 ID 'PERSG' DUMMY&lt;BR /&gt;
 ID 'PERSK' DUMMY&lt;BR /&gt;
 ID 'VDSK1' DUMMY&lt;BR /&gt;
 ID 'PROFL' DUMMY.&lt;BR /&gt;
&lt;BR /&gt;
 IF sy-subrc EQ 0. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2016 17:43:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-11-24T17:43:44Z</dc:date>
    <item>
      <title>Authority check using object 'P_ORGINCON'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-using-object-p-orgincon/m-p/362535#M7744</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am using 'P_ORGINCON' for an authority check for User's Personnel area (PA0001-WERKS). The code is as follows. But it returns SY-SUBRC = 0 for all cases. Even if we give invalid PA, it returns success. Is my code ok? Or we need to pass any other
parameters?&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'P_ORGINCON'&lt;BR /&gt;
 ID 'INFTY' DUMMY&lt;BR /&gt;
 ID 'SUBTY' DUMMY&lt;BR /&gt;
 ID 'AUTHC' FIELD 'R'&lt;BR /&gt;
 ID 'PERSA' FIELD lx_p0001-werks&lt;BR /&gt;
 ID 'PERSG' DUMMY&lt;BR /&gt;
 ID 'PERSK' DUMMY&lt;BR /&gt;
 ID 'VDSK1' DUMMY&lt;BR /&gt;
 ID 'PROFL' DUMMY.&lt;BR /&gt;
&lt;BR /&gt;
 IF sy-subrc EQ 0. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 17:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-using-object-p-orgincon/m-p/362535#M7744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-11-24T17:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Authority check using object 'P_ORGINCON'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-using-object-p-orgincon/m-p/362536#M7745</link>
      <description>&lt;P&gt;There are many DUMMY values in this check, nevertheless, you should execute SU53, SU56 or a trace ST01 on authorization check to find which authorization was allowing the success. Maybe you have a generic authorization value '*' in some role/profile?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt; &lt;A href="https://help.sap.com/saphelp_nw70ehp2/helpdata/en/52/6716c0439b11d1896f0000e8322d00/content.htm"&gt;Analyzing
Authorizations with the System Trace&lt;BR /&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt; &lt;A href="https://help.sap.com/saphelp_nw70ehp2/helpdata/en/46/d51851548e12bee10000000a1553f7/content.htm?frameset=/en/46/d51851548e12bee10000000a1553f7/frameset.htm&amp;amp;current_toc=/en/06/371640b7b6dd5fe10000000a155106/plain.htm&amp;amp;node_id=80"&gt;Authorization Error Analysis Functions&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;A href="https://help.sap.com/saphelp_nw70ehp2/helpdata/en/52/6716c0439b11d1896f0000e8322d00/content.htm"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Raymond&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 07:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-using-object-p-orgincon/m-p/362536#M7745</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-11-25T07:04:17Z</dc:date>
    </item>
  </channel>
</rss>

