<?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 for saving Default Layout Settings in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-saving-default-layout-settings/m-p/6700575#M1452328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When object S_ALV_LAYO was taken out of my security profile, I was only able to save User-specific layouts and not Default layouts.  This was our objective.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Mar 2010 17:28:47 GMT</pubDate>
    <dc:creator>chris_mowl</dc:creator>
    <dc:date>2010-03-03T17:28:47Z</dc:date>
    <item>
      <title>Authorization for saving Default Layout Settings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-saving-default-layout-settings/m-p/6700574#M1452327</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;In transaction /AFS/MD04, we would like to restrict users from changing the default screen layout.  When they try to save a screen layout, we would like the checkbox to default to "User-specific" and not allow them to change the default.  &lt;/P&gt;&lt;P&gt;     Also, we would like to restrict those who can change the default with a parameter id.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To recreate:  Enter a material and plant number and press enter.  On screen 2000, subscreen 800 is the screen to which I'm referring.  It is here that we would like to control the settings.  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I have done this in custom reports using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
*Check authorization to change default layout
  GET PARAMETER ID 'ZSD_VARIANT_RETURNS' FIELD lv_pid.
  IF lv_pid = 'X'.
    lo_layout-&amp;gt;set_default( abap_true ).
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen some posts refer to transaction SHD0.  Can this be handled with that transaction code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update on 3/2/2010:&lt;/P&gt;&lt;P&gt;I have seen some other posts regarding this issue and also seen OSS notes 409190 &amp;amp; 601803.  &lt;/P&gt;&lt;P&gt;Our security team says that changing auth object S_ALV_LAYO would prevent users from changing the layout at all.  Is this correct?  We want to restrict who can set the Default Layout and give everyone else the ability to set the User Specific settings.  &lt;/P&gt;&lt;P&gt;I have seen other posts refer to the I_SAVE parameter, the OSS notes also mention it, but it isn't clear to me how to use that.&lt;/P&gt;&lt;P&gt;We would like to do this in a SAP transaction - /AFS/MD04 - is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3/3/2010:&lt;/P&gt;&lt;P&gt;It appears taking away authority to object S_ALV_LAYO was the answer after all.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Mowl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chris  Mowl on Mar 2, 2010 10:52 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chris  Mowl on Mar 3, 2010 11:24 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 23:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-saving-default-layout-settings/m-p/6700574#M1452327</guid>
      <dc:creator>chris_mowl</dc:creator>
      <dc:date>2010-03-01T23:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization for saving Default Layout Settings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-saving-default-layout-settings/m-p/6700575#M1452328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When object S_ALV_LAYO was taken out of my security profile, I was only able to save User-specific layouts and not Default layouts.  This was our objective.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 17:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-for-saving-default-layout-settings/m-p/6700575#M1452328</guid>
      <dc:creator>chris_mowl</dc:creator>
      <dc:date>2010-03-03T17:28:47Z</dc:date>
    </item>
  </channel>
</rss>

