<?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 logn as authorization value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logn-as-authorization-value/m-p/5534554#M1264252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For on of our clients, we recived the demand of limiting the view for purchase orders on the creator-field (ekko-ernam).&lt;/P&gt;&lt;P&gt;The only thing we found so far, is to built a user exit where we check a custom authorization object. &lt;/P&gt;&lt;P&gt;But maybe we're overlooking something , so I decided to put the question on sdn &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2009 15:08:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-22T15:08:29Z</dc:date>
    <item>
      <title>logn as authorization value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logn-as-authorization-value/m-p/5534554#M1264252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For on of our clients, we recived the demand of limiting the view for purchase orders on the creator-field (ekko-ernam).&lt;/P&gt;&lt;P&gt;The only thing we found so far, is to built a user exit where we check a custom authorization object. &lt;/P&gt;&lt;P&gt;But maybe we're overlooking something , so I decided to put the question on sdn &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 15:08:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logn-as-authorization-value/m-p/5534554#M1264252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T15:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: logn as authorization value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logn-as-authorization-value/m-p/5534555#M1264253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether you are going to check &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Authorisation object with ekko-ernam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Authorisation object with sy-uname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. sy-uname = ekko-ernam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 15:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logn-as-authorization-value/m-p/5534555#M1264253</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-04-22T15:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: logn as authorization value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logn-as-authorization-value/m-p/5534556#M1264254</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;we want to check if the ekko-ernam field is equal to sy-uname...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 15:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logn-as-authorization-value/m-p/5534556#M1264254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T15:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: logn as authorization value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logn-as-authorization-value/m-p/5534557#M1264255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But i think this is not a good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implications:users only view their own PO's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion will be create a custom authorisation object . Give access this custom auth obhect to super users ( some specific users who are treated as business owners and wanted to see all PO's)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
call authorisation-check      " Check for super users 
if sy-subrc ne 0.                 " If don't have auth then check for sy-uname eq ekko-ernam
   if sy-uname ne ekko-ernam
      Message Error
   endif
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 15:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logn-as-authorization-value/m-p/5534557#M1264255</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-04-22T15:32:37Z</dc:date>
    </item>
  </channel>
</rss>

