<?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 multiple alvs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-alvs/m-p/6753800#M1460569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i urgently need to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have three internal tables that may or may not get populated. &lt;/P&gt;&lt;P&gt;i have to display these tables in ooalv depending on whether &lt;/P&gt;&lt;P&gt;these tables have data or not.&lt;/P&gt;&lt;P&gt;as in if only one table has data and remaining two dont, then i display &lt;/P&gt;&lt;P&gt;only one alv. if two tables have data, then two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem i am facing is that if i use three containers and display grids &lt;/P&gt;&lt;P&gt;on them separately, these containers have fixed places on screen, so that part&lt;/P&gt;&lt;P&gt;of the screen gets fixed and cannot be used if in case the alv in that &lt;/P&gt;&lt;P&gt;container need not be displayed as there in no data in the table that needs&lt;/P&gt;&lt;P&gt;to be displayed in the alv in that container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried using a single container and using splitter, but the problem with splitter &lt;/P&gt;&lt;P&gt;is that it only divides the container in to  halves. so when i call splitter function once, it &lt;/P&gt;&lt;P&gt;divides the containers into half, and if i call it again it divides either of the earlier &lt;/P&gt;&lt;P&gt;two halves into half again. so the container get divided into 50 25 25 ratio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just want to know if  there is anway if at runtime i can dynamically create alvs&lt;/P&gt;&lt;P&gt;depending on if the table that needs to be displayed in the alv has data or not.&lt;/P&gt;&lt;P&gt;i guess using three containers doesnt seem right....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: rohan_naidu on Apr 16, 2010 6:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Apr 2010 16:39:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-16T16:39:38Z</dc:date>
    <item>
      <title>multiple alvs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-alvs/m-p/6753800#M1460569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i urgently need to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have three internal tables that may or may not get populated. &lt;/P&gt;&lt;P&gt;i have to display these tables in ooalv depending on whether &lt;/P&gt;&lt;P&gt;these tables have data or not.&lt;/P&gt;&lt;P&gt;as in if only one table has data and remaining two dont, then i display &lt;/P&gt;&lt;P&gt;only one alv. if two tables have data, then two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem i am facing is that if i use three containers and display grids &lt;/P&gt;&lt;P&gt;on them separately, these containers have fixed places on screen, so that part&lt;/P&gt;&lt;P&gt;of the screen gets fixed and cannot be used if in case the alv in that &lt;/P&gt;&lt;P&gt;container need not be displayed as there in no data in the table that needs&lt;/P&gt;&lt;P&gt;to be displayed in the alv in that container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried using a single container and using splitter, but the problem with splitter &lt;/P&gt;&lt;P&gt;is that it only divides the container in to  halves. so when i call splitter function once, it &lt;/P&gt;&lt;P&gt;divides the containers into half, and if i call it again it divides either of the earlier &lt;/P&gt;&lt;P&gt;two halves into half again. so the container get divided into 50 25 25 ratio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just want to know if  there is anway if at runtime i can dynamically create alvs&lt;/P&gt;&lt;P&gt;depending on if the table that needs to be displayed in the alv has data or not.&lt;/P&gt;&lt;P&gt;i guess using three containers doesnt seem right....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: rohan_naidu on Apr 16, 2010 6:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 16:39:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-alvs/m-p/6753800#M1460569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-16T16:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: multiple alvs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-alvs/m-p/6753801#M1460570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the Splitter Container. You can create 2 or 3 Children of the Splitter Container as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CREATE OBJECT o_split
    EXPORTING
      parent  = o_cc_main
      rows    = 3    " &amp;lt;&amp;lt;
      columns = 1.

  lo_3rd_cc = me-&amp;gt;o_split-&amp;gt;get_container(
                         row    = 3
                         column = 1 ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also set the height of the row of the Splitter by calling this method:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      o_split-&amp;gt;set_row_height( id = 3 height = 33 ).  " 0 - to hide it
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 18:18:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-alvs/m-p/6753801#M1460570</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-04-16T18:18:04Z</dc:date>
    </item>
  </channel>
</rss>

