<?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: Resize ALV Grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/resize-alv-grid/m-p/1152890#M117984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the set_alignment method of cl_gui_custom_container class for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; create object my_container
        exporting
            container_name = 'OUTPUT_CONTAINER'
        exceptions
            others = 1.
    case sy-subrc.
      when 0.
      when others.
        raise cntl_error.
    endcase.

    alignment = my_container-&amp;gt;align_at_left +
              my_container-&amp;gt;align_at_right +
              my_container-&amp;gt;align_at_top +
              my_container-&amp;gt;align_at_bottom.

    call method my_container-&amp;gt;set_alignment
       exporting
         alignment = alignment.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Feb 2006 12:00:36 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2006-02-26T12:00:36Z</dc:date>
    <item>
      <title>Resize ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resize-alv-grid/m-p/1152889#M117983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks , &lt;/P&gt;&lt;P&gt;i'm using an alv grid in my program and might have change the initial size of it's custom container which seats above it . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way that i can chnage the initial size (H/V) of it ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i try via screen table but it can't cupture the custom container name within the loop .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Feb 2006 11:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resize-alv-grid/m-p/1152889#M117983</guid>
      <dc:creator>herzelhaimharel_gilor</dc:creator>
      <dc:date>2006-02-26T11:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Resize ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resize-alv-grid/m-p/1152890#M117984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the set_alignment method of cl_gui_custom_container class for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; create object my_container
        exporting
            container_name = 'OUTPUT_CONTAINER'
        exceptions
            others = 1.
    case sy-subrc.
      when 0.
      when others.
        raise cntl_error.
    endcase.

    alignment = my_container-&amp;gt;align_at_left +
              my_container-&amp;gt;align_at_right +
              my_container-&amp;gt;align_at_top +
              my_container-&amp;gt;align_at_bottom.

    call method my_container-&amp;gt;set_alignment
       exporting
         alignment = alignment.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Feb 2006 12:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resize-alv-grid/m-p/1152890#M117984</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-02-26T12:00:36Z</dc:date>
    </item>
  </channel>
</rss>

