<?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 OO ALV in same screen in module-pool. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675294#M1945246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement: First screen in Table control user inters values, according to that values i need to display multiple ALVs in second screen but one at a time. Like for material-1 first alv , when user clicks on "Next" button then second ALV for material-2 like wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue: For the first time i am getting proper data in ALV, when clicking on "Next" button or "Back" button again same data is displaying, but the internal table containing values to be displayed for next material holding correct data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Approach : in PAI of second screen Freeing the container and grid object as well with flush method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FREE OBJ_CONTAINER.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FREE &lt;/SPAN&gt;OBJ_GRID.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;CL_GUI_CFW=&amp;gt;FLUSH.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;in PBO again creating Container and Grid object.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Also tried with grid_obj=&amp;gt;REFRESH_TABLE_DISPLAY in PAI. but no success.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Please suggest where i am going wrong and what is to be done.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2016 04:57:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-04-15T04:57:02Z</dc:date>
    <item>
      <title>Multiple OO ALV in same screen in module-pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675294#M1945246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement: First screen in Table control user inters values, according to that values i need to display multiple ALVs in second screen but one at a time. Like for material-1 first alv , when user clicks on "Next" button then second ALV for material-2 like wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue: For the first time i am getting proper data in ALV, when clicking on "Next" button or "Back" button again same data is displaying, but the internal table containing values to be displayed for next material holding correct data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Approach : in PAI of second screen Freeing the container and grid object as well with flush method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FREE OBJ_CONTAINER.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FREE &lt;/SPAN&gt;OBJ_GRID.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;CL_GUI_CFW=&amp;gt;FLUSH.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;in PBO again creating Container and Grid object.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Also tried with grid_obj=&amp;gt;REFRESH_TABLE_DISPLAY in PAI. but no success.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Please suggest where i am going wrong and what is to be done.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 04:57:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675294#M1945246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-15T04:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple OO ALV in same screen in module-pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675295#M1945247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Try flushing the ALV in PBO of second ALV using the method&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;METHOD &lt;/SPAN&gt;cl_gui_cfw&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;=&amp;gt;&lt;/SPAN&gt;flush&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Or you can Free both ALV gird object and Container and recreate them all the time you call the 2nd ALV.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;A __default_attr="3153826" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="ALV OO doesn't refresh the displayed data" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 05:17:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675295#M1945247</guid>
      <dc:creator>pranay570708</dc:creator>
      <dc:date>2016-04-15T05:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple OO ALV in same screen in module-pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675296#M1945248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Firstly while creating the custom container object, Check If obj_container is initial, then create the OBJECT obj_container and inside that if check, create the object grid and display the table. Do in the same way for the next screen display. I hope you have set the custom PF-STATUS in both of the screen for BACK, EXIT and CANCEL. Now, once you are navigated to the next screen, and by clicking the BACK BUTTON in next screen, IN PAI of the next screen do the followings, Check IF sy-ucomm = 'BACK' OR sy-ucomm EQ 'ÇANCEL' .. here free the container object, grid object by checking If OBJ_CONTAINER is BOUND / not initial, then free the object, same for the grid also. Leave screen. So once you are back to screen1, again you selected the next material, it will goto the next screen and will create the container object and grid object and will finally display the table. Once you click the BACK button , it will free the objects and will come to the previous screen. Regards, Syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 06:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675296#M1945248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-15T06:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple OO ALV in same screen in module-pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675297#M1945249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must tell you one thing that all ALV reports is in single screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 06:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675297#M1945249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-15T06:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple OO ALV in same screen in module-pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675298#M1945250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;You can try free the container by using method free &lt;SPAN style="color: #333333; font-size: 12px;"&gt;OBJ_CONTAINER.-&amp;gt;FREE() &lt;/SPAN&gt;and also grid and then again call method set_table_for_first_display.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;But I prefer to use &lt;SPAN style="color: #333333; font-size: 12px;"&gt;REFRESH_TABLE_DISPLAY like that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;PBO:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if &lt;SPAN style="color: #333333; font-size: 12px;"&gt;OBJ_CONTAINER IS INITAL.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREATE &lt;SPAN style="color: #333333; font-size: 12px;"&gt;OBJ_CONTAINER.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREATE OBJ_ GRID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;SPAN style="color: #333333; font-size: 12px;"&gt;OBJ_ GRID&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;SET_TABLE_FOR_FIRST_DISPLAY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL METHOD &lt;SPAN style="color: #333333; font-size: 12px;"&gt;OBJ_ GRID-&amp;gt;REFRESH_TABLE_DISPLAY.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;PAI:&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERFORM CHANGE_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thanh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 09:18:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675298#M1945250</guid>
      <dc:creator>thanh_dinh</dc:creator>
      <dc:date>2016-04-15T09:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple OO ALV in same screen in module-pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675299#M1945251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omkar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use modal way calling the ALV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 09:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-oo-alv-in-same-screen-in-module-pool/m-p/11675299#M1945251</guid>
      <dc:creator>former_member185537</dc:creator>
      <dc:date>2016-04-15T09:38:13Z</dc:date>
    </item>
  </channel>
</rss>

