<?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 Automate Authorization Checks and minimize coding effort. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548810#M853764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello SAPients!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the scenario: the company I work for has around of 200 programs (mostly reports) that are going to be used in different geographic areas around the globe (new acquisition of companies). The executive areas (the bosses) want that the new companies have access to only their information (the reports should display information only for the corresponding Company Code, Sales Organization, Purchasing Organization, Plant, etc.) But, that wasn't considered in those programs and none of them use AUTHORITY-CHECK statement.&lt;/P&gt;&lt;P&gt;We came out with one idea to minimize the coding effort: Create one Function Module per field (BUKRS, VKORG, EKORG, WERKS) and put the AUTHORITY-CHECK statements in these FMs. As input, these FMs will receive the selection screen fields (so_bukrs, pa_vkorg, ...) and as output the FMs will return the same fields with only the values that the user has access to, for example, if the system has company code 100, 200, 300 and 400 but the user has access only to 200, the FM should return only that value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think about this approach? Is it feasible? Do you have a better idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I'm being clear in my explanation. Let me know if you need further information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2008 22:59:01 GMT</pubDate>
    <dc:creator>ricardo_fernndezvzquez3</dc:creator>
    <dc:date>2008-03-14T22:59:01Z</dc:date>
    <item>
      <title>Automate Authorization Checks and minimize coding effort.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548810#M853764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello SAPients!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the scenario: the company I work for has around of 200 programs (mostly reports) that are going to be used in different geographic areas around the globe (new acquisition of companies). The executive areas (the bosses) want that the new companies have access to only their information (the reports should display information only for the corresponding Company Code, Sales Organization, Purchasing Organization, Plant, etc.) But, that wasn't considered in those programs and none of them use AUTHORITY-CHECK statement.&lt;/P&gt;&lt;P&gt;We came out with one idea to minimize the coding effort: Create one Function Module per field (BUKRS, VKORG, EKORG, WERKS) and put the AUTHORITY-CHECK statements in these FMs. As input, these FMs will receive the selection screen fields (so_bukrs, pa_vkorg, ...) and as output the FMs will return the same fields with only the values that the user has access to, for example, if the system has company code 100, 200, 300 and 400 but the user has access only to 200, the FM should return only that value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think about this approach? Is it feasible? Do you have a better idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I'm being clear in my explanation. Let me know if you need further information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 22:59:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548810#M853764</guid>
      <dc:creator>ricardo_fernndezvzquez3</dc:creator>
      <dc:date>2008-03-14T22:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Authorization Checks and minimize coding effort.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548811#M853765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What benefits you will achieve using FM?&lt;/P&gt;&lt;P&gt;You need to call this FM in your program anyway.&lt;/P&gt;&lt;P&gt;Better modify programs using Authority check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 23:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548811#M853765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T23:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Authorization Checks and minimize coding effort.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548812#M853766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Atish, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to show the list of messages in the FM ("You don't have access to company codes XXX, YYY, ZZZ") and return the selection field with the corresponding values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 23:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548812#M853766</guid>
      <dc:creator>ricardo_fernndezvzquez3</dc:creator>
      <dc:date>2008-03-14T23:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Authorization Checks and minimize coding effort.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548813#M853767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any other idea will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 18:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548813#M853767</guid>
      <dc:creator>ricardo_fernndezvzquez3</dc:creator>
      <dc:date>2008-03-17T18:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Authorization Checks and minimize coding effort.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548814#M853768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved! Yes, we used the mentioned approach and everything worked just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 18:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automate-authorization-checks-and-minimize-coding-effort/m-p/3548814#M853768</guid>
      <dc:creator>ricardo_fernndezvzquez3</dc:creator>
      <dc:date>2009-07-08T18:29:30Z</dc:date>
    </item>
  </channel>
</rss>

