<?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 Object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979724#M1160402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_scm50/helpdata/en/9f/dbacbe35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_scm50/helpdata/en/9f/dbacbe35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2009 09:34:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-08T09:34:04Z</dc:date>
    <item>
      <title>Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979722#M1160400</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;I have to give authorization object for the specific plants..where they should only be able to eter the respectivebilling document numbers...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to find out the authorization object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 09:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979722#M1160400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T09:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979723#M1160401</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 the below link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/52/671285439b11d1896f0000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/52/671285439b11d1896f0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 09:33:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979723#M1160401</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-01-08T09:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979724#M1160402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_scm50/helpdata/en/9f/dbacbe35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_scm50/helpdata/en/9f/dbacbe35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 09:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979724#M1160402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T09:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979725#M1160403</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;See t-code su21.&lt;/P&gt;&lt;P&gt;you can assign those authorization through SU24.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 09:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979725#M1160403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T09:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979726#M1160404</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;&lt;/P&gt;&lt;P&gt;SU21 is the tcode for authorization objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
authority-check object 'V_VBAK_VKO'
id 'VKORG' field it_salesorg-vkorg
id 'VTWEG' dummy "FIELD '*'
id 'SPART' dummy "FIELD '*'
id 'ACTVT' dummy.
*If the user is not authorised
if sy-subrc 0.
*Give the error message.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Formatted by: Alvaro Tejada Galindo on Jan 8, 2009 2:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 09:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979726#M1160404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T09:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979727#M1160405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my requirement is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my screen..i have billing document field which will be entered by the users of different plants..&lt;/P&gt;&lt;P&gt;the users of the respective plant should be able to enter the billing document numbers generated by that plant only..other wise they sholud get an error message...how to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i coded it like this..&lt;/P&gt;&lt;P&gt;assuming they have authorization for only their respective plants....is this correct way to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SELECT SINGLE WERKS FROM YYY_VBRK
                      INTO W_WERKS
                      WHERE VBELN = YYY_VBRK-VBELN.

  AUTHORITY-CHECK OBJECT 'M_BCO_WERK'
               ID 'WERKS' FIELD W_WERKS
               ID 'ACTVT' FIELD '03'.
  IF SY-SUBRC = 4.
    MESSAGE E004(ZMICRO) WITH TEXT-001.
  ELSEIF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE E004(ZMICRO) WITH TEXT-001.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anil Kalive on Jan 8, 2009 4:09 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Formatted by: Alvaro Tejada Galindo on Jan 8, 2009 2:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 10:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979727#M1160405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T10:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979728#M1160406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can achive the same in below way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. first check if the user has authorization to the plant( hope plant is afiled on the selection screen or you have a plant with you by otgher means).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. if user has authorization for that plant, get the document number from selection screen and check if the plant of that document number is the one which user belongs to,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. if no flag a error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 10:45:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979728#M1160406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T10:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979729#M1160407</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;try this link out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2047127"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 11:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/4979729#M1160407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T11:40:50Z</dc:date>
    </item>
  </channel>
</rss>

