<?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 usage in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-usage/m-p/1967545#M397263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example taken from the SAP Documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, M_EINF_WRK is the object name, whilst ACTVT andWERKS are authorization fields. For example, a user with theauthorizations &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M_EINF_WRK_BERECH1 &lt;/P&gt;&lt;P&gt;   ACTVT 01-03 &lt;/P&gt;&lt;P&gt;   WERKS 0001-0003 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can display and change plants within the Purchasing and MaterialsManagement areas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Such a user would thus pass the checks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AUTHORITY-CHECK OBJECT 'M_EINF_WRK' 
    ID 'WERKS' FIELD '0002' 
    ID 'ACTVT' FIELD '02'. 

AUTHORITY-CHECK OBJECT 'M_EINF_WRK' 
    ID 'WERKS' DUMMY 
    ID 'ACTVT' FIELD '01': &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but would fail the check &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AUTHORITY-CHECK OBJECT 'M_EINF_WRK' 
    ID 'WERKS' FIELD '0005' 
    ID 'ACTVT' FIELD '04'. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2007 15:37:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-07T15:37:05Z</dc:date>
    <item>
      <title>Authorization object usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-usage/m-p/1967544#M397262</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;I have an authorization object with following fields.&lt;/P&gt;&lt;P&gt;ACTVT = 02&lt;/P&gt;&lt;P&gt;WERKS = 1001&lt;/P&gt;&lt;P&gt;RANGE_FROM  = 0&lt;/P&gt;&lt;P&gt;RANGE_TO      = 999,999.00&lt;/P&gt;&lt;P&gt;I want to validate whether the user enters a value in between these two RANGE_FROM and RANGE_TO. How can i achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also is there any way by which i can read the values maintained in the profile of the user for this authorization object. If this is possible then i can read the RANGE_FROM And RANGE_TO and then put a logic to validate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any of the ways are possible.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 14:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-usage/m-p/1967544#M397262</guid>
      <dc:creator>pankajs_dwivedi</dc:creator>
      <dc:date>2007-02-07T14:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization object usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-usage/m-p/1967545#M397263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example taken from the SAP Documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, M_EINF_WRK is the object name, whilst ACTVT andWERKS are authorization fields. For example, a user with theauthorizations &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M_EINF_WRK_BERECH1 &lt;/P&gt;&lt;P&gt;   ACTVT 01-03 &lt;/P&gt;&lt;P&gt;   WERKS 0001-0003 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can display and change plants within the Purchasing and MaterialsManagement areas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Such a user would thus pass the checks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AUTHORITY-CHECK OBJECT 'M_EINF_WRK' 
    ID 'WERKS' FIELD '0002' 
    ID 'ACTVT' FIELD '02'. 

AUTHORITY-CHECK OBJECT 'M_EINF_WRK' 
    ID 'WERKS' DUMMY 
    ID 'ACTVT' FIELD '01': &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but would fail the check &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AUTHORITY-CHECK OBJECT 'M_EINF_WRK' 
    ID 'WERKS' FIELD '0005' 
    ID 'ACTVT' FIELD '04'. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 15:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-usage/m-p/1967545#M397263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T15:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization object usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-usage/m-p/1967546#M397264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the input. I do have the idea of how authorization works. &lt;/P&gt;&lt;P&gt;My only issue is how can i check for a range of values. Like &lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'M_EINF_WRK' &lt;/P&gt;&lt;P&gt;    ID 'WERKS' FIELD '0002' &lt;/P&gt;&lt;P&gt;    ID 'ACTVT' FIELD '02'&lt;/P&gt;&lt;P&gt;    ID 'FROM_RANGE &amp;gt;= 1000&lt;/P&gt;&lt;P&gt;    ID TO_RANGE &amp;lt;= 1000&lt;/P&gt;&lt;P&gt;Where 1000 is the value entered by user in some cost field and&lt;/P&gt;&lt;P&gt;FROM_RANGE = 0&lt;/P&gt;&lt;P&gt;TO_RANGE = 9999999.&lt;/P&gt;&lt;P&gt;I hope this is clear.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 17:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-usage/m-p/1967546#M397264</guid>
      <dc:creator>pankajs_dwivedi</dc:creator>
      <dc:date>2007-02-07T17:06:02Z</dc:date>
    </item>
  </channel>
</rss>

