<?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: VA01 Authorization Check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-authorization-check/m-p/1670328#M296328</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;for your comment I think that you have Insert The AUTHORITY-CHECK statment in a user-exit of SAPMV45A.&lt;/P&gt;&lt;P&gt;But you need to control de return code of the authority check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'ZVKBUR'&lt;/P&gt;&lt;P&gt;     ID 'VKBUR' FIELD vbak-vkbur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;  MESSAGE Ennn(ZZ) WITH 'No authority for this Sales Area'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2006 15:10:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-27T15:10:33Z</dc:date>
    <item>
      <title>VA01 Authorization Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-authorization-check/m-p/1670327#M296327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  We have created Z - Authorization Object for VKBUR to control Sales Area wise Access to the Customers.It is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the Sales order Creation for Branch Transfer, the user is entering his Sales Office and Creating Sales order for any Branch Customer.&lt;/P&gt;&lt;P&gt;It is not stoping the user.I have checked in the ST01 Trace File,this customized Auth Object is Checking the and returning the Return Code as RC=4, but allowing the user to create the entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to stop the user to create the sales order for other Sales Area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;R.Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 14:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-authorization-check/m-p/1670327#M296327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: VA01 Authorization Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-authorization-check/m-p/1670328#M296328</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;for your comment I think that you have Insert The AUTHORITY-CHECK statment in a user-exit of SAPMV45A.&lt;/P&gt;&lt;P&gt;But you need to control de return code of the authority check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'ZVKBUR'&lt;/P&gt;&lt;P&gt;     ID 'VKBUR' FIELD vbak-vkbur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;  MESSAGE Ennn(ZZ) WITH 'No authority for this Sales Area'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 15:10:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-authorization-check/m-p/1670328#M296328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T15:10:33Z</dc:date>
    </item>
  </channel>
</rss>

