<?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: clear alv container in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377353#M184821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you have to clear the instance of class CL_GUI_CUSTOM_CONTAINER.&lt;/P&gt;&lt;P&gt;call method FREE of CL_GUI_CUSTOM_CONTAINER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sharath kumar R&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2006 08:10:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-13T08:10:01Z</dc:date>
    <item>
      <title>clear alv container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377351#M184819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; I am displaying my ALV grid in subscreen,i am using    CALL METHOD g_alv_grid-&amp;gt;set_table_for_first_display,it is working fine for first time but when user is changing input in first subscreen ,and click push button to call ALV grid in 2nd subscreen it is displaying previous records.how to clear the container ,I tried   CALL METHOD g_alv_grid-&amp;gt;refresh_table_display.but no result,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 06:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377351#M184819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T06:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: clear alv container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377352#M184820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the End-of-selection event, use:&lt;/P&gt;&lt;P&gt; CALL METHOD g_alv_grid-&amp;gt;free.&lt;/P&gt;&lt;P&gt; CLEAR g_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should clear the contents of the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points, if ur query is resolved.&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Subbu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 07:20:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377352#M184820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T07:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: clear alv container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377353#M184821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you have to clear the instance of class CL_GUI_CUSTOM_CONTAINER.&lt;/P&gt;&lt;P&gt;call method FREE of CL_GUI_CUSTOM_CONTAINER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sharath kumar R&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 08:10:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377353#M184821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T08:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: clear alv container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377354#M184822</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;that means the problem is not with the REFRESH. since you are editing the grid the values are not updated to frontend. did you call this method in the PAI of the screen if not call this and try.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE PAI INPUT.
  CALL METHOD G_GRID-&amp;gt;CHECK_CHANGED_DATA
    IMPORTING
      E_VALID = L_VALID.
  CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH.
  CALL METHOD CL_GUI_CFW=&amp;gt;DISPATCH.
okcode hadnlings here...
.....
....
...
  CALL METHOD G_GRID-&amp;gt;REFRESH_TABLE_DISPLAY
    EXCEPTIONS
      FINISHED = 1
      OTHERS   = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
ENDMODULE.                    "pai INPUT &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 08:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377354#M184822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T08:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: clear alv container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377355#M184823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this method &lt;/P&gt;&lt;P&gt;CALL METHOD g_alv_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just write this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD g_alv_grid-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more clarifications chk program BCALV_GRID_07 , line no 312&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 08:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-alv-container/m-p/1377355#M184823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T08:28:11Z</dc:date>
    </item>
  </channel>
</rss>

