<?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/1000216#M76234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yifat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below link might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/52/6712ac439b11d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/52/6712ac439b11d1896f0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points for helpfull answers and close the thread if your question is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;venu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2005 08:43:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-27T08:43:04Z</dc:date>
    <item>
      <title>authority check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000214#M76232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;i wrote authority check for an object.&lt;/P&gt;&lt;P&gt;the problrm is that i get always subrc = 12, eventhough&lt;/P&gt;&lt;P&gt;i have sap all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the code&lt;/P&gt;&lt;P&gt;IF SY-TCODE = 'VA21' OR SY-TCODE = 'VA22' OR SY-TCODE = 'VA23'.&lt;/P&gt;&lt;P&gt;   AUTHORITY-CHECK OBJECT 'Z_VBKA_VKD'&lt;/P&gt;&lt;P&gt;     ID 'VKBUR' FIELD VBAK-VKBUR.&lt;/P&gt;&lt;P&gt;   IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;      MESSAGE E016(ZSD).&lt;/P&gt;&lt;P&gt;   ENDIF.   &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why am i getting always subrc 12?&lt;/P&gt;&lt;P&gt;what is the syntax for field 'ACTVT'&lt;/P&gt;&lt;P&gt;if the values have to be between 01-04?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;yifat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2005 08:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000214#M76232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-27T08:29: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/1000215#M76233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yifat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the profil sap_all didn't contain your Customer object.&lt;/P&gt;&lt;P&gt;Create a new profil with your object and assign it to your user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Frank Brackmann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2005 08:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000215#M76233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-27T08:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: authority check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000216#M76234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yifat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below link might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/52/6712ac439b11d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/52/6712ac439b11d1896f0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points for helpfull answers and close the thread if your question is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;venu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2005 08:43:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000216#M76234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-27T08:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: authority check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000217#M76235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you regenerate SAP_ALL after making the autorization object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2005 08:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000217#M76235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-27T08:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: authority check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000218#M76236</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;check with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  AUTHORITY-CHECK OBJECT 'Z_VBKA_VKD'&lt;/P&gt;&lt;P&gt;                  ID 'ACTVT' FIELD '03'&lt;/P&gt;&lt;P&gt;                  ID 'VKBUR' FIELD VBAK-VKBUR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2005 08:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000218#M76236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-27T08:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: authority check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000219#M76237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check which are the fields in Z_VBKA_VKD. This seems to be a custom authorization object . Your auth check should have all the fields and in the order in which they are defined even if you want some of them to be dummy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'Z_VBKA_VKD'&lt;/P&gt;&lt;P&gt;    ID VKBUR  FIELD VBAK-VKBUR &lt;/P&gt;&lt;P&gt;    ID name2  FIELD f2 &lt;/P&gt;&lt;P&gt;    ID name3 dummy.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you have actvt also defined in your object by dont want to control it , then try something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'Z_VBKA_VKD'&lt;/P&gt;&lt;P&gt;    ID VKBUR  FIELD VBAK-VKBUR &lt;/P&gt;&lt;P&gt;    ID ACTVT  DUMMY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also sy-subrc 12 is when specified object not maintained in the user master record. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to create an authorization for your custom object , attach it to a profile and then add this profile to a user master. You can take help from BASIS folks on this . This will have to be done for all users who will require to have this authorization.&lt;/P&gt;&lt;P&gt;Just by having SAP_ALL does not mean that you will have auth. of Custom developed auth. objects also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2005 09:05:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000219#M76237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-27T09:05: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/1000220#M76238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have u updated user master&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2005 09:07:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1000220#M76238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-27T09:07:13Z</dc:date>
    </item>
  </channel>
</rss>

