<?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: ALV Grid save layout in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-save-layout/m-p/3048036#M721564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ALV/ALVLayout/Variant.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ALV/ALVLayout/Variant.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2007 09:04:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-26T09:04:43Z</dc:date>
    <item>
      <title>ALV Grid save layout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-save-layout/m-p/3048034#M721562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a programm there is a ALV grid of type cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;When I run the programm, I can change the layout (hide columns etc) but I can't&lt;/P&gt;&lt;P&gt;save the changes I make. What do I have to do to activate the saving of the layout?&lt;/P&gt;&lt;P&gt;Which field do I have to set to activate it or what can already be set which disables the showing of the save possibility?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings Fred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 08:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-save-layout/m-p/3048034#M721562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T08:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid save layout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-save-layout/m-p/3048035#M721563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fred&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to transfer the name of the report and the user to the grid class in order to allow to save the layout:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: LT_VARIANT  TYPE DISVARIANT.

LT_VARIANT-REPORT   = SY-REPID.
LT_VARIANT-USERNAME = SY-UNAME.

CALL METHOD ALV_GRID-&amp;gt;SET_TABLE_FOR_FIRST_DISPLAY
       EXPORTING 
                 IS_VARIANT                      = LT_VARIANT
                 I_SAVE                             = 'A'
                 IS_LAYOUT                       = LT_LAYOUT
                 IT_TOOLBAR_EXCLUDING = GT_NO_CODES
       CHANGING  
                 IT_OUTTAB                  = T_OUTPUT
                 IT_FIELDCATALOG      = GT_FIELDCAT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user has to have the authorizations to manage the layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 08:16:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-save-layout/m-p/3048035#M721563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T08:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid save layout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-save-layout/m-p/3048036#M721564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ALV/ALVLayout/Variant.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ALV/ALVLayout/Variant.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 09:04:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-save-layout/m-p/3048036#M721564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T09:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid save layout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-save-layout/m-p/3048037#M721565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much!&lt;/P&gt;&lt;P&gt;I already tried the i_save = 'A', but there was no variant, now it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings Fred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 10:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-save-layout/m-p/3048037#M721565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T10:17:19Z</dc:date>
    </item>
  </channel>
</rss>

