<?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: Subscreen ALV reload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883402#M1325283</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;Clearing reference variable is not enough here, as corresponding proxy object still resides in frontend. You need to free that object before clearing alv ref.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
r_alv-&amp;gt;free( ).
clear r_alv.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now each time you enter that screen recreate alv. New object will replace old one .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2009 12:25:00 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2009-07-27T12:25:00Z</dc:date>
    <item>
      <title>Subscreen ALV reload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883399#M1325280</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 got a dynpro which contains a subscreen. The dynpro is called after a selection screen. In the dynpro, I add a couple of lines to the alv-table and refresh it - works fine.&lt;/P&gt;&lt;P&gt;Problem is if i leave the dynpro with the back button (leave to screen 0) and enter it again, the old alv-table is displayed, even the internal table in the background is empty?! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why this happens? Do I have to delete the alv instance in a certain way? A clear doesn't work 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;Regards,&lt;/P&gt;&lt;P&gt;Tobi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 11:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883399#M1325280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T11:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Subscreen ALV reload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883400#M1325281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Debug the program. When data is displayed in the subscreen, it stayed there and not cleared. Write code that when back button is press, clear the data in the subscreen fields also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhanunjaya Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 11:51:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883400#M1325281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T11:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Subscreen ALV reload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883401#M1325282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer. &lt;/P&gt;&lt;P&gt;When I hit the back button, I clear all relevant data of course (internal table for the alv, reference to the alv...) but with no effect, the old data is still displayed when I reload the alv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 11:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883401#M1325282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T11:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Subscreen ALV reload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883402#M1325283</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;Clearing reference variable is not enough here, as corresponding proxy object still resides in frontend. You need to free that object before clearing alv ref.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
r_alv-&amp;gt;free( ).
clear r_alv.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now each time you enter that screen recreate alv. New object will replace old one .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 12:25:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883402#M1325283</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-27T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Subscreen ALV reload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883403#M1325284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once again a very helpful answer from you! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 13:03:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883403#M1325284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T13:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Subscreen ALV reload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883404#M1325285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad, I could help you:) thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 13:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen-alv-reload/m-p/5883404#M1325285</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-27T13:07:30Z</dc:date>
    </item>
  </channel>
</rss>

