<?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: About authorization object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448791#M828412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are all missing the main theme here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There is no direct relation from a sales document (using 'sales organization' for an org-object and thus for an authorization object) to a company code&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so - kiran kumar - i'm not an abaper, i cannot give you a code but i will describe in words how you have to make that relation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take your sales organisation from your sd-document (VBAK), go to table TVKO and search with that sales-organization. in field TVKO-BUKRS you will find the company-code related to your sales organisation. with the value of this field you can check against table T001.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2008 12:47:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-26T12:47:02Z</dc:date>
    <item>
      <title>About authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448785#M828406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  can u tell me if i am keeping company code authorization then, i used tables vbak, and vbap. Shall i select bukrs from vbak and pass to authorization object or shall i take bukrs from t001 table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 10:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448785#M828406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T10:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: About authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448786#M828407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's better select the company code from T001 and then validate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 11:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448786#M828407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T11:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: About authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448787#M828408</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;It is better to check authorization of Company Codes based on the table T001 as that is the base table which holds all the company codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kiran&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 26, 2008 12:10 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 11:10:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448787#M828408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T11:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: About authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448788#M828409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here i dont have company code as input , only vbeln is input, then what should i do then, can u give me a sample code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 11:18:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448788#M828409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T11:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: About authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448789#M828410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Authorization Object is different from just doing data validation for that compancy code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization object checks for the is that user having the authorization to execute the program or to do some job with that program or tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;validattion that you will to for check wether the data is correct or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization object:&lt;/P&gt;&lt;P&gt;Take the authorzation object from your basis/security consultant after that write following code in start-of-selection or at selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_bukrs like t001-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  authority-check object 'BUKRS' " Your autho object&lt;/P&gt;&lt;P&gt;             id 'ACTVT' field '03'&lt;/P&gt;&lt;P&gt;             id 'BUKRS' field p_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if sy-subrc ne 0 .&lt;/P&gt;&lt;P&gt; message e444 with text-022.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on p_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from t001 where bukrs = p_bukrs.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt; message e444 with text-022.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&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, 26 Feb 2008 11:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448789#M828410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T11:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: About authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448790#M828411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank  u for the reply, but my question here is that , i dont have input company code , i have only sales order no., then how should, i collect company code for that and keep authorization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 11:30:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448790#M828411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T11:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: About authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448791#M828412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are all missing the main theme here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There is no direct relation from a sales document (using 'sales organization' for an org-object and thus for an authorization object) to a company code&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so - kiran kumar - i'm not an abaper, i cannot give you a code but i will describe in words how you have to make that relation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take your sales organisation from your sd-document (VBAK), go to table TVKO and search with that sales-organization. in field TVKO-BUKRS you will find the company-code related to your sales organisation. with the value of this field you can check against table T001.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 12:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-authorization-object/m-p/3448791#M828412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T12:47:02Z</dc:date>
    </item>
  </channel>
</rss>

