<?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: Refresh a subscreen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243211#M774074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;I 'm having the same problem, but this still not the perfect for the issue, because:&lt;/P&gt;&lt;P&gt;this action actually equals to "call screen 0", which will force refresh the whole screen, but it will cause some lost information for the other screen we didn't plan to refresh, for example, the selected status, the scrollbar position... etc&lt;/P&gt;&lt;P&gt;Of course, these data can be preserved and restored after the refresh, but it is not an elegant way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a solution for just refresh the "target subscreen" instead of the whole one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Leon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jul 2010 09:10:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-06T09:10:05Z</dc:date>
    <item>
      <title>Refresh a subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243204#M774067</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;how can I refresh / redraw a subscreen after an event on the main screen? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 16:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243204#M774067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T16:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243205#M774068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just allow the logic in the PAI to flow around to the PBO again whereupon you can refresh any data you need to before the main screen and subscreen are displayed again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 01:32:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243205#M774068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T01:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243206#M774069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call method  CL_ALV&amp;gt;-&amp;gt;REFRESH_TABLE_DISPLAY with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_STABLE-ROW = 'X' &lt;/P&gt;&lt;P&gt;I_STABLE-COL = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check and Let me know the status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kanagaraja L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 04:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243206#M774069</guid>
      <dc:creator>Kanagaraja_L</dc:creator>
      <dc:date>2008-01-16T04:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243207#M774070</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I do that without using the statement CALL SCREEN 100 (same screen that is already being displayed)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the subscreen I use textboxes that are linked to a structure of the program.So the first time the screen loads automatically the data that is present in the structure. On the double_click event of the ALV grid I change the content of the structure, but the textboxes on the subscreen do not refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, even though the contents of the structure has changed, the contents of the textboxes remains the old.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. Points will obviously be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 14:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243207#M774070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T14:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243208#M774071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for delay - been a busy week.  I didn't realise from your initial posting that you had controls in your screen -&amp;gt; within the "double click" of your ALV, you could look at using logic like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  l_ucomm  = 'ZREFRESH'.
  call method cl_gui_cfw=&amp;gt;set_new_ok_code
    exporting
      new_code = l_ucomm
    importing
      rc       = l_rc.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to force the program to move out of the ALV control and back into your screen's PAI and user_command whereupon you simply react to sy-ucomm = 'ZREFRESH' (set above) and allow the flow back to PBO and refill the text boxes with the appropriate text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2008 00:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243208#M774071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-18T00:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243209#M774072</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;Just use clear and refresh statements for all screen fields you have used. like;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear sfight-connid.&lt;/P&gt;&lt;P&gt;refresh sflight-carrid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear &amp;lt;fieldname&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like that. No need to calll it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2008 03:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243209#M774072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-18T03:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243210#M774073</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;For all who look for a solution, Jonathan Coleman's idea works great exactly how he described it, so you are encouraged to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Jonathan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 07:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243210#M774073</guid>
      <dc:creator>yes_sapteam</dc:creator>
      <dc:date>2008-02-03T07:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243211#M774074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;I 'm having the same problem, but this still not the perfect for the issue, because:&lt;/P&gt;&lt;P&gt;this action actually equals to "call screen 0", which will force refresh the whole screen, but it will cause some lost information for the other screen we didn't plan to refresh, for example, the selected status, the scrollbar position... etc&lt;/P&gt;&lt;P&gt;Of course, these data can be preserved and restored after the refresh, but it is not an elegant way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a solution for just refresh the "target subscreen" instead of the whole one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Leon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 09:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243211#M774074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-06T09:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243212#M774075</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 have just stared to program with ABAP. Hope it is not too late to give an answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To refresh you could try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN (Dynpro number) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works fine in my program to refresh the subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sudhir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 12:43:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-a-subscreen/m-p/3243212#M774075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-07T12:43:30Z</dc:date>
    </item>
  </channel>
</rss>

