<?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: Double ALV using OO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-alv-using-oo/m-p/4650298#M1094345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SPLITTER CONTROL....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: gr_splitter TYPE REF TO cl_gui_splitter_container
        cont TYPE REF TO cl_gui_container,
        grid TYPE REF TO cl_gui_alv_grid,
        grid1 TYPE REF TO cl_gui_alv_grid.


  CREATE OBJECT gr_splitter
    EXPORTING
      link_repid        = sy-repid
      parent            = cl_gui_container=&amp;gt;screen0
      rows              = 2
      columns           = 1
    EXCEPTIONS
      cntl_error        = 1
      cntl_system_error = 2
      OTHERS            = 3
      .

  CALL METHOD gr_splitter-&amp;gt;set_row_height
    EXPORTING
      id                = 1
      height            = 30
    EXCEPTIONS
      cntl_error        = 1
      cntl_system_error = 2
      OTHERS            = 3
          .

  CALL METHOD gr_splitter-&amp;gt;get_container
    EXPORTING
      row       = 1
      column    = 1
    RECEIVING
      container = cont.


  CREATE OBJECT grid
    EXPORTING
      i_parent          = cont                "gr_splitter-&amp;gt;top_left_container
    EXCEPTIONS
      error_cntl_create = 1
      error_cntl_init   = 2
      error_cntl_link   = 3
      error_dp_create   = 4
      OTHERS            = 5.

  CALL METHOD gr_splitter-&amp;gt;get_container
    EXPORTING
      row       = 2
      column    = 1
    RECEIVING
      container = cont.


  CREATE OBJECT grid1
    EXPORTING
      i_parent          = cont                "gr_splitter-&amp;gt;bottom_right_container
    EXCEPTIONS
      error_cntl_create = 1
      error_cntl_init   = 2
      error_cntl_link   = 3
      error_dp_create   = 4
      OTHERS            = 5.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sukriti Saha on Oct 24, 2008 1:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Oct 2008 08:24:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-24T08:24:07Z</dc:date>
    <item>
      <title>Double ALV using OO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-alv-using-oo/m-p/4650297#M1094344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made an report that has 2 ALV in screen . I have in my screen 2 containers cc_alv and cc_alv1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My report is working fine . Now i want when i have a checkbox in the screen to display both the grids all one of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When i choose to display the one grid how can i tell to Custom control cc_alv to be maximized and take all the screen  ?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 08:21:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-alv-using-oo/m-p/4650297#M1094344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T08:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Double ALV using OO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-alv-using-oo/m-p/4650298#M1094345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SPLITTER CONTROL....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: gr_splitter TYPE REF TO cl_gui_splitter_container
        cont TYPE REF TO cl_gui_container,
        grid TYPE REF TO cl_gui_alv_grid,
        grid1 TYPE REF TO cl_gui_alv_grid.


  CREATE OBJECT gr_splitter
    EXPORTING
      link_repid        = sy-repid
      parent            = cl_gui_container=&amp;gt;screen0
      rows              = 2
      columns           = 1
    EXCEPTIONS
      cntl_error        = 1
      cntl_system_error = 2
      OTHERS            = 3
      .

  CALL METHOD gr_splitter-&amp;gt;set_row_height
    EXPORTING
      id                = 1
      height            = 30
    EXCEPTIONS
      cntl_error        = 1
      cntl_system_error = 2
      OTHERS            = 3
          .

  CALL METHOD gr_splitter-&amp;gt;get_container
    EXPORTING
      row       = 1
      column    = 1
    RECEIVING
      container = cont.


  CREATE OBJECT grid
    EXPORTING
      i_parent          = cont                "gr_splitter-&amp;gt;top_left_container
    EXCEPTIONS
      error_cntl_create = 1
      error_cntl_init   = 2
      error_cntl_link   = 3
      error_dp_create   = 4
      OTHERS            = 5.

  CALL METHOD gr_splitter-&amp;gt;get_container
    EXPORTING
      row       = 2
      column    = 1
    RECEIVING
      container = cont.


  CREATE OBJECT grid1
    EXPORTING
      i_parent          = cont                "gr_splitter-&amp;gt;bottom_right_container
    EXCEPTIONS
      error_cntl_create = 1
      error_cntl_init   = 2
      error_cntl_link   = 3
      error_dp_create   = 4
      OTHERS            = 5.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sukriti Saha on Oct 24, 2008 1:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 08:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-alv-using-oo/m-p/4650298#M1094345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T08:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Double ALV using OO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-alv-using-oo/m-p/4650299#M1094346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  If you want to display more than one alv in a screen the the better option is to use a Splitter .&lt;/P&gt;&lt;P&gt;The concept is same as the one you are using , but here , you split the container in rows and columns and each one acts are a different container  , which can be used for a  grid.&lt;/P&gt;&lt;P&gt;Please see the help of splitters for more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 08:28:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-alv-using-oo/m-p/4650299#M1094346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T08:28:05Z</dc:date>
    </item>
  </channel>
</rss>

