<?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: 2 Alv on same screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277668#M1531066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there is a concept called Block ALVs. Try searching for it.&lt;/P&gt;&lt;P&gt;Example: &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="506865"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Oct 2010 11:21:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-06T11:21:55Z</dc:date>
    <item>
      <title>2 Alv on same screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277665#M1531063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to use two alv on the same screen, for example when you clicked one key field on one of the alvs, the details of this data should be displayed in the second alv without disappering the main alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;Moderator Message: Easily searchable. Thread locked.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kishan P on Oct 6, 2010 5:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 11:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277665#M1531063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T11:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Alv on same screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277666#M1531064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes it's possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 11:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277666#M1531064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T11:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Alv on same screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277667#M1531065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Standard functionality of the display button on ALV toolbar.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, question is not new, search the forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 11:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277667#M1531065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Alv on same screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277668#M1531066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there is a concept called Block ALVs. Try searching for it.&lt;/P&gt;&lt;P&gt;Example: &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="506865"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 11:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277668#M1531066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T11:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Alv on same screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277669#M1531067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search in sdn for &lt;STRONG&gt;ALV Splitter Container&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 11:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277669#M1531067</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-10-06T11:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Alv on same screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277670#M1531068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;yes it is possible&lt;/P&gt;&lt;P&gt;you can do this by splitter container or define two diffrent containers on the same screen say container1 and container2.&lt;/P&gt;&lt;P&gt;then by using the OOPs concepts you can assign your both the alvs to respective containers.&lt;/P&gt;&lt;P&gt;for that you need to go through the ALV OOPS concepts and the classes and methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can define one container and by using splitter container you can dplit your one container in two containers and then define your ALV to respective container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot write the whole code, for this you need to search on net&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define container, ALV and fieldcatalog as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : CUST_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER .&lt;/P&gt;&lt;P&gt;DATA : CUST_CONTAINER1 TYPE REF TO CL_GUI_CUSTOM_CONTAINER .&lt;/P&gt;&lt;P&gt;DATA : MY_ALV TYPE REF TO CL_GUI_ALV_GRID .&lt;/P&gt;&lt;P&gt;DATA : MY_ALV1 TYPE REF TO CL_GUI_ALV_GRID .&lt;/P&gt;&lt;P&gt;*DATA : EVENT TYPE REF TO MY_EVENT_HANDLER .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: I_FCAT TYPE LVC_T_FCAT,&lt;/P&gt;&lt;P&gt;WA_FCAT TYPE LVC_S_FCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: I_FCAT1 TYPE LVC_T_FCAT,&lt;/P&gt;&lt;P&gt;      WA_FCAT1 TYPE LVC_S_FCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a class MY_EVENT_HANDLER DEFINITION.&lt;/P&gt;&lt;P&gt;and use the METHOD  HANDLE_DOUBLE_CLICK For handling the double click on the first ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create objects for container and AVL and then call method set_table_for_first_display to display the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean It may not be clear to you so you need to sear on the net and see the class CL_GUI_ALV_GRID for ALv and CL_GUI_CUSTOM_CONTAINER for container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lalit Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 11:45:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277670#M1531068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T11:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Alv on same screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277671#M1531069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  hakaramakara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SBP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{search before post}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 11:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/2-alv-on-same-screen/m-p/7277671#M1531069</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-10-06T11:55:46Z</dc:date>
    </item>
  </channel>
</rss>

