<?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: cl_salv_table: refresh on second grid does nothing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681837#M886641</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;&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>Fri, 18 Apr 2008 07:43:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-18T07:43:57Z</dc:date>
    <item>
      <title>cl_salv_table: refresh on second grid does nothing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681836#M886640</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&gt;I have two customcontainers on one dynpro, one at the left side of the dynpro, one at the right side. Each of it assigned with an ALV-grid of class cl_salv_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when data in one grid is clicked, I change the number of rows in the other grid and call the refresh method( full ) for this second grid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine, when I click data in the left grid. New data appears in the right grid. But strangely, when clicking in the right grid, which should change data in the left one, nothing happens, the screen does not change.&lt;/P&gt;&lt;P&gt;Then, when I click a function at this second grid (for example get layout) the new data selection appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any method to get the refresh work? The event at grid one ought to change data at grid two and refresh it on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Herbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 06:57:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681836#M886640</guid>
      <dc:creator>103343</dc:creator>
      <dc:date>2008-04-18T06:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: cl_salv_table: refresh on second grid does nothing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681837#M886641</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;&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>Fri, 18 Apr 2008 07:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681837#M886641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T07:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: cl_salv_table: refresh on second grid does nothing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681838#M886642</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 coded this, but it doesn't work. I did it before doing the refresh and as a second try after doing the refresh, but either did change anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 07:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681838#M886642</guid>
      <dc:creator>103343</dc:creator>
      <dc:date>2008-04-18T07:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: cl_salv_table: refresh on second grid does nothing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681839#M886643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I found it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I accidentally left a 'LEAVE TO SCREEN...' in my handle_user_command. This seems to have destroyed something.&lt;/P&gt;&lt;P&gt;Now I removed this line and everything works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Herbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 09:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681839#M886643</guid>
      <dc:creator>103343</dc:creator>
      <dc:date>2008-04-18T09:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: cl_salv_table: refresh on second grid does nothing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681840#M886644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;refer to the standard examples giving bc&lt;STRONG&gt;alv&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2008 10:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681840#M886644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-19T10:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: cl_salv_table: refresh on second grid does nothing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681841#M886645</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;Thank you for sharing the solution. I've spent hours to figure out how to making the Refresh works but without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;LNC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 19:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh-on-second-grid-does-nothing/m-p/3681841#M886645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-09T19:38:34Z</dc:date>
    </item>
  </channel>
</rss>

