<?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: Display fields in two different alvgrids in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614475#M275319</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;Can you please send me the code with splitter container and alvgrids in it. The 1st half container is top and 2nd is down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code..&lt;/P&gt;&lt;P&gt;SELECT * FROM zflp_cualcondpri&lt;/P&gt;&lt;P&gt;    INTO TABLE gt_zflp_ttcualcondpri&lt;/P&gt;&lt;P&gt;      UP TO g_max ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;filtering the condition and alerts&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  LOOP AT  gt_zflp_ttcualcondpri INTO gs_zflp_stcualcondpri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF gs_zflp_stcualcondpri-indcopr = 'C'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND gs_zflp_stcualcondpri TO gt_zflp_ttcualcond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ELSEIF gs_zflp_stcualcondpri-indcopr = 'P'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND gs_zflp_stcualcondpri TO gt_zflp_ttcualpri.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR gs_zflp_stcualcondpri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your reply.&lt;/P&gt;&lt;P&gt;Thanks madhavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Sep 2006 21:42:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-12T21:42:26Z</dc:date>
    <item>
      <title>Display fields in two different alvgrids</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614468#M275312</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 want to display one table values in two different ALV grids in the same screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I select values from the table according to the conditions. For eg: my table has a column with char field as "m" for males and "f" for females. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i do this?&lt;/P&gt;&lt;P&gt;Waiting for your replies.&lt;/P&gt;&lt;P&gt;madhavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 21:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614468#M275312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T21:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Display fields in two different alvgrids</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614469#M275313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be achieved using custom controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create two different custom controls in a screen and display the Alv grids.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 22:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614469#M275313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T22:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Display fields in two different alvgrids</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614470#M275314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sudhir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i code or loop the table to display in two different custom controls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to display values in one alvgrid. If I want to display the  half table fields in 1 alv  &amp;amp; other half fields in another alvgrid..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;madhavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 22:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614470#M275314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T22:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Display fields in two different alvgrids</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614471#M275315</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;  If you are using OO Grid create another container in the screen and display the records separately..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  use REUSE_ALV_BLOCK_LIST_DISPLAY to create multiple ALV lists..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 22:19:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614471#M275315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T22:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Display fields in two different alvgrids</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614472#M275316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhavi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAP program BALVBT01 provides an example of displying multiple ALV LIST reports on one page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azaz Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 22:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614472#M275316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T22:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Display fields in two different alvgrids</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614473#M275317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example you have an internal table PEOPLE which has information about Males and Females.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare two more tables same as PEOPLE and move all the Males data into one of this and Females into the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have data seperated into two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create two custom controls in a screen. Pass the males intrnal table in one of it and females in the other.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 22:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614473#M275317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T22:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Display fields in two different alvgrids</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614474#M275318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Split the values of the internal table into two global internal tables say eg. t_male and t_female. Split the container with sash position = 50 (half). Now create two grids based on the split containers w_contr_top and w_contnr_bot. Display the values.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;IF cl_gui_alv_grid=&amp;gt;offline( ) IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Creating the container&lt;/P&gt;&lt;P&gt;    CREATE OBJECT w_container&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        container_name              = 'container'&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        cntl_error                  = 1&lt;/P&gt;&lt;P&gt;        cntl_system_error           = 2&lt;/P&gt;&lt;P&gt;        create_error                = 3&lt;/P&gt;&lt;P&gt;        lifetime_error              = 4&lt;/P&gt;&lt;P&gt;        lifetime_dynpro_dynpro_link = 5&lt;/P&gt;&lt;P&gt;        others                      = 6.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CREATE THE SPLITTER CONTROL&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CREATE OBJECT w_split&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;         parent            = w_container&lt;/P&gt;&lt;P&gt;         orientation       = 0&lt;/P&gt;&lt;P&gt;         sash_position     = 50&lt;/P&gt;&lt;P&gt;         with_border       = 0&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;         cntl_error        = 1&lt;/P&gt;&lt;P&gt;         cntl_system_error = 2&lt;/P&gt;&lt;P&gt;         others            = 3.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get the containers of splitter control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    w_contnr_top = w_split-&amp;gt;top_left_container.&lt;/P&gt;&lt;P&gt;    w_contnr_bot = w_split-&amp;gt;bottom_right_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2006 04:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614474#M275318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-12T04:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display fields in two different alvgrids</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614475#M275319</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;Can you please send me the code with splitter container and alvgrids in it. The 1st half container is top and 2nd is down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code..&lt;/P&gt;&lt;P&gt;SELECT * FROM zflp_cualcondpri&lt;/P&gt;&lt;P&gt;    INTO TABLE gt_zflp_ttcualcondpri&lt;/P&gt;&lt;P&gt;      UP TO g_max ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;filtering the condition and alerts&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  LOOP AT  gt_zflp_ttcualcondpri INTO gs_zflp_stcualcondpri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF gs_zflp_stcualcondpri-indcopr = 'C'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND gs_zflp_stcualcondpri TO gt_zflp_ttcualcond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ELSEIF gs_zflp_stcualcondpri-indcopr = 'P'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND gs_zflp_stcualcondpri TO gt_zflp_ttcualpri.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR gs_zflp_stcualcondpri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your reply.&lt;/P&gt;&lt;P&gt;Thanks madhavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2006 21:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-fields-in-two-different-alvgrids/m-p/1614475#M275319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-12T21:42:26Z</dc:date>
    </item>
  </channel>
</rss>

