<?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/6525714#M1425804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if for the same field i have to check 2 values then how i should do ?thats y i repeated the same field to check for those 2 values..if it is not correct then how i should do...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2010 13:10:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-06T13:10:49Z</dc:date>
    <item>
      <title>Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525711#M1425801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an requirement to check the authorization for FILENAME for activities 33 and 34. and some other field like bsart for 03 and 08..for this i have created auth object with these fields...and supllying these activities like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID 'FILENAME' FIELD '33'&lt;/P&gt;&lt;P&gt;ID 'FILENAME' FIELD '34'&lt;/P&gt;&lt;P&gt;ID 'BSART' FIELD '03'&lt;/P&gt;&lt;P&gt;ID 'BSART' FIELD '08'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it correct?  and how it works can you please explain...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 12:44:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525711#M1425801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T12:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525712#M1425802</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;The first problem is to understand hiw your object is, I don0t believe u have placed the sames fields twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creating the object, u need to assign it to profile and inseret the values valid for that profile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your program u should have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AUTHORITY-CHECK OBJECT '&amp;lt;object&amp;gt;'
         ID '&amp;lt;field1&amp;gt;' FIELD '......'
         ID '&amp;lt;field2&amp;gt;' FIELD '.....'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After checking the authorization u need to check SY-SUBRC: if it's not equal to zero, it means the user is not authorized&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 12:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525712#M1425802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T12:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525713#M1425803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 13:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525713#M1425803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T13:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525714#M1425804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if for the same field i have to check 2 values then how i should do ?thats y i repeated the same field to check for those 2 values..if it is not correct then how i should do...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 13:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525714#M1425804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T13:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525715#M1425805</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;After creating an object, it can assign more tham 1 value to a field of the object in the profile, if a user is authorized to all values an asteric is assigned instead of the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means it doesn't need to repeat the same field in the objrct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway u should explain what u need to do? what's your object for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 13:19:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525715#M1425805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T13:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525716#M1425806</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;If the combination of values for FILENAME and BSART is not important you will need to preform four checks;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AUTHORITY-CHECK OBJECT &amp;lt;your_object&amp;gt;
ID 'FILENAME' FIELD '33'.
IF SY-SUBRC = 0.
  AUTHORITY-CHECK OBJECT &amp;lt;your_object&amp;gt;
  ID 'FILENAME' FIELD '33'.
  IF SY-SUBRC = 0.
    AUTHORITY-CHECK OBJECT &amp;lt;your_object&amp;gt;  
    ID 'FILENAME' FIELD '33'.
    IF SY-SUBRC = 0.
          AUTHORITY-CHECK OBJECT &amp;lt;your_object&amp;gt;  
          ID 'BSART' FIELD '03'

etc.....
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the combinations of FILENAME and BSART are important then you will need to check each required combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 13:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object/m-p/6525716#M1425806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T13:24:06Z</dc:date>
    </item>
  </channel>
</rss>

