<?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? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141724#M1191715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to update your internal table which is passed to ALV and then&amp;nbsp; you call method refresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2012 10:35:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-07-06T10:35:16Z</dc:date>
    <item>
      <title>CL_SALV_TABLE   refresh?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141721#M1191712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using cl_salv_table to dispaly ALV (fullscreen)&lt;/P&gt;&lt;P&gt;with customized toolbar button.&lt;/P&gt;&lt;P&gt;The problem is, that my table is not getting updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using on_user:command and after that REFRESH.&lt;/P&gt;&lt;P&gt;********************************************************************&lt;/P&gt;&lt;P&gt;CLASS lcl_handle_events IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;  METHOD on_user_command.&lt;/P&gt;&lt;P&gt;    PERFORM handle_user_command USING e_salv_function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gr_table-&amp;gt;refresh(  refresh_mode = 2 ).&lt;/P&gt;&lt;P&gt;  ENDMETHOD.                    "on_user_command&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "lcl_handle_events IMPLEMENTATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something here? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaryM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 09:10:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141721#M1191712</guid>
      <dc:creator>MaryM</dc:creator>
      <dc:date>2009-01-30T09:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE   refresh?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141722#M1191713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw the problem myself.&lt;/P&gt;&lt;P&gt;I just had to clear and refill gt_outtab before calling   gr_table-&amp;gt;refresh( ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 10:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141722#M1191713</guid>
      <dc:creator>MaryM</dc:creator>
      <dc:date>2009-01-30T10:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE   refresh?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141723#M1191714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm facing the same problem here.&lt;/P&gt;&lt;P&gt;I've tried this logic and it still doesn't work.&lt;/P&gt;&lt;P&gt;        data: lt_outtab like gt_outtab.&lt;/P&gt;&lt;P&gt;        lt_outtab = gt_outtab.&lt;/P&gt;&lt;P&gt;        refresh gt_outtab.&lt;/P&gt;&lt;P&gt;        gt_outtab = lt_outtab.&lt;/P&gt;&lt;P&gt;        gr_alv_table-&amp;gt;refresh( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain how you clear and refill data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 00:02:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141723#M1191714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T00:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE   refresh?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141724#M1191715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to update your internal table which is passed to ALV and then&amp;nbsp; you call method refresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2012 10:35:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141724#M1191715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-06T10:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE   refresh?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141725#M1191716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;Hi ketlin,&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;use this code,wherever u want to update the table. for example.........&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;-------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;*****refresh the internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; refresh &lt;/SPAN&gt;lt_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;******Append the empty table first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; lo_nd_sflight-&amp;gt;bind_table( new_items = lt_sflight set_initial_elements = abap_true ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;******whatever u want, u can fetch the data from dictionary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;SELECT &lt;/SPAN&gt;CARRID CONNID FLDATE &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;CURRENCY &lt;/SPAN&gt;PLANETYPE &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit;"&gt;SFLIGHT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO &lt;/SPAN&gt;CORRESPONDING &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;FIELDS &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;OF &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit;"&gt;LT_SFLIGHT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE &lt;/SPAN&gt;CARRID = LV_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;******Append the data internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; lo_nd_sflight-&amp;gt;bind_table( new_items = lt_sflight set_initial_elements = abap_true ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;Regards,&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;Anand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 07:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-refresh/m-p/5141725#M1191716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-11T07:13:03Z</dc:date>
    </item>
  </channel>
</rss>

