<?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: OO ALV refresh problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019728#M1608595</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 think, actually whenever you are going back and then coming again, those fields are not getting cleared and thus the value still exists in them. So, If you do not want to see the data filled in those fields: After BACK you have to use At USER COMMAND and clear them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkatesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jul 2011 10:52:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-18T10:52:29Z</dc:date>
    <item>
      <title>OO ALV refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019727#M1608594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I open an editable ALV report by pushing a button from main screen of my program. &lt;/P&gt;&lt;P&gt;The program reads data from database and prints them on OO editable ALV.&lt;/P&gt;&lt;P&gt;At the first time, there is no problem, I can edit fields and save them, no problem so far, but if i write sth on some editable fields and press BACK button without saving, and then again open the ALV  from main screen, although i cleared everthing and read the data from db table, i still see the fields that i filled. They arent on the DB table becouse i didnt save before pushing BACK button and i cleared them. &lt;/P&gt;&lt;P&gt;I shouldnt see them after pushing BACK and opening ALV again.&lt;/P&gt;&lt;P&gt;I couldnt catch this problem at debug. I think i should clear some tables or areas but i couldnt be sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 10:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019727#M1608594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-18T10:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: OO ALV refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019728#M1608595</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 think, actually whenever you are going back and then coming again, those fields are not getting cleared and thus the value still exists in them. So, If you do not want to see the data filled in those fields: After BACK you have to use At USER COMMAND and clear them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkatesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 10:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019728#M1608595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-18T10:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: OO ALV refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019729#M1608596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the code for of back in gui status and in your code write at user command and clear the data there using refresh or clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 08:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019729#M1608596</guid>
      <dc:creator>koolspy_ultimate</dc:creator>
      <dc:date>2011-07-19T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: OO ALV refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019730#M1608597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refresh the Grid controls which you have defined for ALV when BACK/EXIT is pressed. &lt;/P&gt;&lt;P&gt;and reassign them again during ALV display for next time ...&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; Seemanthini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 09:21:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019730#M1608597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-21T09:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: OO ALV refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019731#M1608598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ,&lt;/P&gt;&lt;P&gt;This problem is coming because ,you must not have cleared grid and container on click of Back button &lt;/P&gt;&lt;P&gt;use this code in PAI where you have handled Back &lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;   CALL METHOD &amp;lt;grid_name-&amp;gt;free.&lt;/P&gt;&lt;P&gt;        CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;        CALL METHOD &amp;lt;container_name&amp;gt;-&amp;gt;free.&lt;/P&gt;&lt;P&gt;        FREE: &amp;lt;grid_name-&amp;gt;,&amp;lt;container_name&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 06:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019731#M1608598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-22T06:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: OO ALV refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019732#M1608599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you press the back button, perform a flush and free of your table container before performing the back operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 06:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019732#M1608599</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2011-07-22T06:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: OO ALV refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019733#M1608600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi aydn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should register enter and modified event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ro_grid-&amp;gt;register_edit_event( cl_gui_alv_grid=&amp;gt;mc_evt_enter ).
ro_grid-&amp;gt;register_edit_event( cl_gui_alv_grid=&amp;gt;mc_evt_modified ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also do not forget to call check changed data in every PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;mo_grid-&amp;gt;check_changed_data( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, after leaving the grid container it is not enough to free the data, please first call free method of voth the grid object and the container:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;mo_grid-&amp;gt;free( ).
mo_container-&amp;gt;free( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise the new grid is hidden by the old one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 23:42:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019733#M1608600</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-07-29T23:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: OO ALV refresh problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019734#M1608601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don´t know if you used the class CL_GUI_ALV_GRID to make the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really used, you can call the method refresh_table_display, after you call the method set_table_for_first_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 19:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-alv-refresh-problem/m-p/8019734#M1608601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T19:13:24Z</dc:date>
    </item>
  </channel>
</rss>

