<?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 layout variant default for 2 ALV in same program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout-variant-default-for-2-alv-in-same-program/m-p/2424013#M541333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ALV are in 2 different screens of the same program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can control in the program the values in the variants but what I want is to use the ALV feature to manage layout. The user could create a User-specific layout settings but if he put default, this layout will be the default for both screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which variables you are talking about?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2007 20:40:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-22T20:40:10Z</dc:date>
    <item>
      <title>ALV layout variant default for 2 ALV in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout-variant-default-for-2-alv-in-same-program/m-p/2424011#M541331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a program with 2 ALV reports (OO). The list of layout variant is common to the 2 ALV because there are in the same program. When I save a layout with default for ALV1, it is also used for ALV2 that has completely different fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to have 2 lists of layout variants when 2 ALVs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 20:23:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout-variant-default-for-2-alv-in-same-program/m-p/2424011#M541331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV layout variant default for 2 ALV in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout-variant-default-for-2-alv-in-same-program/m-p/2424012#M541332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marise,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you have a splitter control to have 2 ALV at the same time. In case you have 2 different ALV, you should control the layout  with different variables, and control which one to create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 20:28:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout-variant-default-for-2-alv-in-same-program/m-p/2424012#M541332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T20:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV layout variant default for 2 ALV in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout-variant-default-for-2-alv-in-same-program/m-p/2424013#M541333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ALV are in 2 different screens of the same program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can control in the program the values in the variants but what I want is to use the ALV feature to manage layout. The user could create a User-specific layout settings but if he put default, this layout will be the default for both screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which variables you are talking about?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 20:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout-variant-default-for-2-alv-in-same-program/m-p/2424013#M541333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T20:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV layout variant default for 2 ALV in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout-variant-default-for-2-alv-in-same-program/m-p/2424014#M541334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marise,&lt;/P&gt;&lt;P&gt;I had the same problem and I could solve it by changing the report value for the variant in Method set_table_for_first_display.&lt;/P&gt;&lt;P&gt;For example, CONCATENATE sy-repid '2' INTO lw_variant&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;report.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Then you can save different layouts for different ALVs inside the same program.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 08:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout-variant-default-for-2-alv-in-same-program/m-p/2424014#M541334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-07T08:28:59Z</dc:date>
    </item>
  </channel>
</rss>

