<?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: OOALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525026#M1425691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;Regarding your first question: &lt;/P&gt;&lt;P&gt;1- Define a big Dynpro size. Larger than the largest screen resolution you have to cope with. You can define the Dynpro size in  Lines / Columns of the dynpro.&lt;/P&gt;&lt;P&gt;2- Set a custom container in your dynpro which fills all the dynpro.&lt;/P&gt;&lt;P&gt;3- In the Attributes of the custom container, check vertical and horizontal resizing.&lt;/P&gt;&lt;P&gt;4- In the Attributes of the custom container, set proper min lines and min columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way, OOALV will fill the screen, no matter the screen resolution is, without the annoying double scrollbars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your second question, set and define define properly the parameter is_variant of the method set_table_for_first_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your third question, define in is_layout with ZEBRA='X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally, I don't like using REUSE_ALV_GRID_DISPLAY, because this is old function and not OO.&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;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2010 15:19:15 GMT</pubDate>
    <dc:creator>jordi_escodaruiz</dc:creator>
    <dc:date>2010-01-19T15:19:15Z</dc:date>
    <item>
      <title>OOALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525019#M1425684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following requirements which i am finding difficult to implement. Can you kindly suggest me if there is any way to do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Please let me know how i can fit the ALV grid to the monitor size of the user. That is The grids should be layered and expanded to the full width of the users monitor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Provide the option for the user to change the layout and save the layout chagnes as a standard option in ALV tool bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Display the ALV-GRID withe stripped pattern by default. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using OO ALV. Any inputs would be very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Jmello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 14:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525019#M1425684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T14:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: OOALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525020#M1425685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a container which fits the screen size else use REUSE_ALV_GRID_DISPLAY&lt;/P&gt;&lt;P&gt;2. I_SAVE = 'A'&lt;/P&gt;&lt;P&gt;3. Pass IS_LAYOUT-ZEBRA = 'X' to the IS_LAYOUT import field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manas M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 14:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525020#M1425685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T14:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: OOALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525021#M1425686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gentleman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However for the first requirement here is my further inputs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The custom container on the screen is made to fit the max size properly so it covers the entire screen as expected. However when I change the resolution of my screen ( pixel resolution increase or decrease from properties on right click on task bar) and execute the application this time the ALV does not fit the entire screen if the screen resolution is increased. Instead it only covers half the screen and scroll bar is provided. How do i ensure that if the resolution is varied the length gets adjusted automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope for the last two you are right.&lt;/P&gt;&lt;P&gt;Let me check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 14:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525021#M1425686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T14:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: OOALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525022#M1425687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well i checked this with standard ALV programs - BCALV* but even &lt;/P&gt;&lt;P&gt;those programs are behaving in the same way i.e. after &lt;/P&gt;&lt;P&gt;changing the screen size, the ALV is not displayed full &lt;/P&gt;&lt;P&gt;screen. Looks like this is a limitation.. wl check if there is any workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manas M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 15:03:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525022#M1425687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T15:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: OOALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525023#M1425688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for the inputs. Meanwhile i changed the &lt;/P&gt;&lt;P&gt;coding and set the parameter I_SAVE = 'A'. However i &lt;/P&gt;&lt;P&gt;still dont get the option to save the layout. The problem is as explained:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the ALV grid i find the button ( i am not able to paste &lt;/P&gt;&lt;P&gt;the picture ) on click of which i am able to change the layout &lt;/P&gt;&lt;P&gt;i.e., the coloumns displayed, hidden however i dont have the &lt;/P&gt;&lt;P&gt;option to save this changed layout. How do i acheive this? &lt;/P&gt;&lt;P&gt;Setting the parameter does not provide any means of acheiving it. &lt;/P&gt;&lt;P&gt;Am i missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jmello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 15:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525023#M1425688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T15:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: OOALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525024#M1425689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : lv_repid type repid.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;lv_repid  = sy-repid.   " Make sure that this statment is being passed with correct report name&lt;/P&gt;&lt;P&gt;is_variant-report = lv_repid.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;i_default = 'X'.&lt;/P&gt;&lt;P&gt;i_save    = 'U'.&lt;/P&gt;&lt;P&gt;is_variant = is_variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check you can get lots of examples.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 15:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525024#M1425689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T15:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: OOALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525025#M1425690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bravo....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 15:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525025#M1425690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T15:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: OOALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525026#M1425691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;Regarding your first question: &lt;/P&gt;&lt;P&gt;1- Define a big Dynpro size. Larger than the largest screen resolution you have to cope with. You can define the Dynpro size in  Lines / Columns of the dynpro.&lt;/P&gt;&lt;P&gt;2- Set a custom container in your dynpro which fills all the dynpro.&lt;/P&gt;&lt;P&gt;3- In the Attributes of the custom container, check vertical and horizontal resizing.&lt;/P&gt;&lt;P&gt;4- In the Attributes of the custom container, set proper min lines and min columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way, OOALV will fill the screen, no matter the screen resolution is, without the annoying double scrollbars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your second question, set and define define properly the parameter is_variant of the method set_table_for_first_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your third question, define in is_layout with ZEBRA='X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally, I don't like using REUSE_ALV_GRID_DISPLAY, because this is old function and not OO.&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;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 15:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525026#M1425691</guid>
      <dc:creator>jordi_escodaruiz</dc:creator>
      <dc:date>2010-01-19T15:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: OOALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525027#M1425692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Please let me know how i can fit the ALV grid to the monitor size of the user. That is The grids should be layered and expanded to the full width of the users monitor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand this is standard ALV behaviour &amp;amp; cannot be changed through any attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Provide the option for the user to change the layout and save the layout chagnes as a standard option in ALV tool bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can pass the I_SAVE = 'A'. But the catch is you have to pass IS_VARIANT to the method without it the button will not work properly &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Display the ALV-GRID withe stripped pattern by default. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass IS_LAYOUT-ZEBRA = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 15:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ooalv/m-p/6525027#M1425692</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-01-19T15:20:57Z</dc:date>
    </item>
  </channel>
</rss>

