<?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: authorization checking in ABAP program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checking-in-abap-program/m-p/1534911#M244107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check these,&lt;/P&gt;&lt;P&gt;M_MATE_VKO Material Master: Sales Organization/Distribution Channe&lt;/P&gt;&lt;P&gt;V_KNA1_BRG Customer: Account Authorization for Sales Areas&lt;/P&gt;&lt;P&gt;V_KNA1_VKO Customer: Authorization for Sales Organizations&lt;/P&gt;&lt;P&gt;V_KONH_VKO Condition: Authorization for Sales Organizations&lt;/P&gt;&lt;P&gt;V_VBAK_AAT Sales Document: Authorization for Sales Document Types&lt;/P&gt;&lt;P&gt;V_VBAK_VKO Sales Document: Authorization for Sales Areas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else&lt;/P&gt;&lt;P&gt;use tcode SU22/Su21.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2006 08:38:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-07T08:38:57Z</dc:date>
    <item>
      <title>authorization checking in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checking-in-abap-program/m-p/1534910#M244106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a customed report which shows sales order information, with sales order no., sales. org, distribution channel, division and some others as selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can limit a user that can view only 1 or 2 specific sales. org. (according to his/her authorization profile) even though he/she hasn't input anything in the sales org. field during selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 08:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checking-in-abap-program/m-p/1534910#M244106</guid>
      <dc:creator>former_member220801</dc:creator>
      <dc:date>2006-09-07T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: authorization checking in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checking-in-abap-program/m-p/1534911#M244107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check these,&lt;/P&gt;&lt;P&gt;M_MATE_VKO Material Master: Sales Organization/Distribution Channe&lt;/P&gt;&lt;P&gt;V_KNA1_BRG Customer: Account Authorization for Sales Areas&lt;/P&gt;&lt;P&gt;V_KNA1_VKO Customer: Authorization for Sales Organizations&lt;/P&gt;&lt;P&gt;V_KONH_VKO Condition: Authorization for Sales Organizations&lt;/P&gt;&lt;P&gt;V_VBAK_AAT Sales Document: Authorization for Sales Document Types&lt;/P&gt;&lt;P&gt;V_VBAK_VKO Sales Document: Authorization for Sales Areas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else&lt;/P&gt;&lt;P&gt;use tcode SU22/Su21.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 08:38:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checking-in-abap-program/m-p/1534911#M244107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T08:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: authorization checking in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checking-in-abap-program/m-p/1534912#M244108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gundam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to select all sales organisations with the select-option (if it is empty you will get all of them). Then you have to loop over the sales orgs and make the AUTHORITY-CHECK for each sales org.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an authority-check fails your report could react in two different ways:&lt;/P&gt;&lt;P&gt;(1) Stop executing the report and tell the user to enter a sales org for which he/she is authorized&lt;/P&gt;&lt;P&gt;(2) Remove all sales orgs for which the user is not authorized and run the report with the authorized orgs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 08:41:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checking-in-abap-program/m-p/1534912#M244108</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-09-07T08:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: authorization checking in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checking-in-abap-program/m-p/1534913#M244109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gundam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If the user doesnt input any sales organization then&lt;/P&gt;&lt;P&gt;you can get the list of sales organizations defined from&lt;/P&gt;&lt;P&gt;table TVKO and then check for the authorization using each entry. Prepare a range for all sales organizations &lt;/P&gt;&lt;P&gt;whereby later you can use in extraction process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Other better way is to make the parameter/select-option &lt;/P&gt;&lt;P&gt;mandatory so the user has to enter the sales organization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Hope the above info helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 08:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checking-in-abap-program/m-p/1534913#M244109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T08:41:59Z</dc:date>
    </item>
  </channel>
</rss>

