<?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: Container/ALV cannot be refreshed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764409#M905728</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gr_selections type ref to cl_salv_selections,&lt;/P&gt;&lt;P&gt;gt_rows type salv_t_row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh : gt_rows. " clear out selections&lt;/P&gt;&lt;P&gt;clear : gt_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gr_selections = gr_table-&amp;gt;get_selections( ). &lt;/P&gt;&lt;P&gt;gr_selections-&amp;gt;set_selected_rows( gt_rows ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2008 11:58:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-23T11:58:36Z</dc:date>
    <item>
      <title>Container/ALV cannot be refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764408#M905727</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 have one container with a splitter to split the container in :&lt;/P&gt;&lt;P&gt;container1&lt;/P&gt;&lt;P&gt;container2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both containers I show an ALV (CL_SALV_TABLE). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to refresh the table of container2 (ALV2) when I click on a button in container1 (ALV1). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first time the ALV2 is shown but then it is not getting new data (no refresh). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i make myself clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input will be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 11:53:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764408#M905727</guid>
      <dc:creator>b_deterd2</dc:creator>
      <dc:date>2008-04-23T11:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Container/ALV cannot be refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764409#M905728</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gr_selections type ref to cl_salv_selections,&lt;/P&gt;&lt;P&gt;gt_rows type salv_t_row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh : gt_rows. " clear out selections&lt;/P&gt;&lt;P&gt;clear : gt_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gr_selections = gr_table-&amp;gt;get_selections( ). &lt;/P&gt;&lt;P&gt;gr_selections-&amp;gt;set_selected_rows( gt_rows ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 11:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764409#M905728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T11:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Container/ALV cannot be refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764410#M905729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i_callback_user_command = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;case UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;IC1'. "this is for double click.&lt;/P&gt;&lt;P&gt;READ TABLE it_idoc INDEX selfield-tabindex.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'DCN' FIELD it_idoc-docnum.&lt;/P&gt;&lt;P&gt;SUBMIT RSEIDOC2 WITH DOCNUM = it_idoc-docnum&lt;/P&gt;&lt;P&gt;WITH CREDAT = It_idoc-credat AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 12:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764410#M905729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T12:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Container/ALV cannot be refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764411#M905730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have one method in cl-gui-alv-grid...which is REFRESH_TABLE_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Dara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 12:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764411#M905730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T12:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Container/ALV cannot be refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764412#M905731</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;Thanks for answering but i am using cl_salv_table and not cl_gui_alv_grid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In cl_salv_table i already use o_table-&amp;gt;refresh( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is in the container. It seems persistent in keeping the old ALV and data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 13:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/container-alv-cannot-be-refreshed/m-p/3764412#M905731</guid>
      <dc:creator>b_deterd2</dc:creator>
      <dc:date>2008-04-23T13:14:40Z</dc:date>
    </item>
  </channel>
</rss>

