<?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 autharization chek in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/autharization-chek/m-p/2059441#M425474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;how to chek autharization chek in sales order change va02.? how to idenify the authraization group? plz give me sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by&lt;/P&gt;&lt;P&gt;jai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 03:12:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-21T03:12:56Z</dc:date>
    <item>
      <title>autharization chek</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/autharization-chek/m-p/2059441#M425474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;how to chek autharization chek in sales order change va02.? how to idenify the authraization group? plz give me sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by&lt;/P&gt;&lt;P&gt;jai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 03:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/autharization-chek/m-p/2059441#M425474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T03:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: autharization chek</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/autharization-chek/m-p/2059442#M425475</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 you want to restrict user access in VA02 based on sales org / sales office etc, then you need not do anything. Normally it is done at security level using auth group and roles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to check something programtically then you can use the command&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AUTHORITY-CHECK&amp;lt;/b&amp;gt;. Let's say you want to check the authorization for sales organization programatically then you would write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;   AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'
         ID 'ACTVT' FIELD '*'             
         ID 'VKORG' FIELD p_vkorg.
   IF sy-subrc &amp;lt;&amp;gt; 0.
      MESSAGE exxx(zxx).
   ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;Here p_vkorg is the sales org value which you want to check the authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let  me know if you have any question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 03:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/autharization-chek/m-p/2059442#M425475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T03:47:33Z</dc:date>
    </item>
  </channel>
</rss>

