<?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 Authorization Checks in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checks/m-p/1916835#M381264</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 am doing an ALV report for Handling Units. Selection-screen consists of 3 fields-Plant(mandatory), Material Number and Warehouse Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Security Restrictions: The following authorization checks or security restrictions must be programmed in the report.&lt;/P&gt;&lt;P&gt;1.The report has to be run by the person from Logistic and Warehouse department. &lt;/P&gt;&lt;P&gt;2.The report should have a provision to execute the report for a particular plant only. &lt;/P&gt;&lt;P&gt;3.The users from one plant should not be able to run the report for other plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tell me the logic for the above authorization checks. Is there any FM for the above requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2007 12:27:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-16T12:27:29Z</dc:date>
    <item>
      <title>Authorization Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checks/m-p/1916835#M381264</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 am doing an ALV report for Handling Units. Selection-screen consists of 3 fields-Plant(mandatory), Material Number and Warehouse Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Security Restrictions: The following authorization checks or security restrictions must be programmed in the report.&lt;/P&gt;&lt;P&gt;1.The report has to be run by the person from Logistic and Warehouse department. &lt;/P&gt;&lt;P&gt;2.The report should have a provision to execute the report for a particular plant only. &lt;/P&gt;&lt;P&gt;3.The users from one plant should not be able to run the report for other plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tell me the logic for the above authorization checks. Is there any FM for the above requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checks/m-p/1916835#M381264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T12:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checks/m-p/1916836#M381265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make that object Authorization specific.Assign roles,profiles (PFCG)to the object.Then run the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        SAI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:33:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checks/m-p/1916836#M381265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T12:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checks/m-p/1916837#M381266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You dont need a function module to check the authorizations, instead just check the authority objects (the code for the same can be generated through pattern function in ABAP editor).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main challenge is to find the appropriate authority object, once thats done you can ask your basis team to generated profiles on the object, assign the profile to a role and attach users to the roles.&lt;/P&gt;&lt;P&gt;All of the above is through Role Maintenance transaction PFCG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To search for an appropriate authorization object goto transaction SUIM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example for plant level authority object (and popular choice) is M_MATE_WRK&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information helps you to get a head start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-checks/m-p/1916837#M381266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T12:46:20Z</dc:date>
    </item>
  </channel>
</rss>

