<?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 set screen/leave screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208919#M132967</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&amp;#146;ve a problem with leaving screens/set screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I pretend to do:&lt;/P&gt;&lt;P&gt;	1 &amp;#150; I &amp;#145;ve a screen 100&lt;/P&gt;&lt;P&gt;	2 &amp;#150; I click a line on screen 100 and call screen 200&lt;/P&gt;&lt;P&gt;	3 -  I do something on screen 200&lt;/P&gt;&lt;P&gt;	4 &amp;#150; I want to return to screen 100&lt;/P&gt;&lt;P&gt;	5 &amp;#150; But I want a new line in screen 100 (created on screen 200) &amp;#150; How can I achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can return to screen 100 with no problem &amp;#150; set screen 0. leave screen.&lt;/P&gt;&lt;P&gt;The problem is that I need the screen 100 refreshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Maria João Rocha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Mar 2006 18:43:26 GMT</pubDate>
    <dc:creator>MariaJooRocha</dc:creator>
    <dc:date>2006-03-23T18:43:26Z</dc:date>
    <item>
      <title>set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208919#M132967</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&amp;#146;ve a problem with leaving screens/set screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I pretend to do:&lt;/P&gt;&lt;P&gt;	1 &amp;#150; I &amp;#145;ve a screen 100&lt;/P&gt;&lt;P&gt;	2 &amp;#150; I click a line on screen 100 and call screen 200&lt;/P&gt;&lt;P&gt;	3 -  I do something on screen 200&lt;/P&gt;&lt;P&gt;	4 &amp;#150; I want to return to screen 100&lt;/P&gt;&lt;P&gt;	5 &amp;#150; But I want a new line in screen 100 (created on screen 200) &amp;#150; How can I achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can return to screen 100 with no problem &amp;#150; set screen 0. leave screen.&lt;/P&gt;&lt;P&gt;The problem is that I need the screen 100 refreshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Maria João Rocha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 18:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208919#M132967</guid>
      <dc:creator>MariaJooRocha</dc:creator>
      <dc:date>2006-03-23T18:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208920#M132968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain in detail what exactly mean by 'Screen 100 refreshed'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 18:48:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208920#M132968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-23T18:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208921#M132969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen 100 is an ALV GRID witch reflects an internal table&lt;/P&gt;&lt;P&gt;On screen 200 I insert a new line on that internal table&lt;/P&gt;&lt;P&gt;When I return to screen 100 I want to see the new line automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Maria João Rocha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 18:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208921#M132969</guid>
      <dc:creator>MariaJooRocha</dc:creator>
      <dc:date>2006-03-23T18:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208922#M132970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From screen 100&lt;/P&gt;&lt;P&gt;set screen 200. Leave screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In screen 200.&lt;/P&gt;&lt;P&gt;Set screen 100. Leave screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should refresh data in screen 100.&lt;/P&gt;&lt;P&gt;And make sure that screen 100 PBO has updated internal table. (With new inserted record).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 18:54:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208922#M132970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-23T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208923#M132971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you go back to your screen 100, this new line added in screen 200 should be added whatever internal table you are displaying in 100.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 18:57:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208923#M132971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-23T18:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208924#M132972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use ABAP command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REFRESH CONTROL contrl FROM SCREEN dynnr.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 18:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208924#M132972</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-03-23T18:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208925#M132973</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've already do i, but doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remains a empty screen 100.!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Maria João Rocha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 19:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208925#M132973</guid>
      <dc:creator>MariaJooRocha</dc:creator>
      <dc:date>2006-03-23T19:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208926#M132974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you go back to the screen 100, you also need to do a refresh by setting UCOMM = '&amp;amp;REFRESH'. So I am assuming that you call the screen 200 in your user command routine of the ALV. Here is the sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the routine user command.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
case ucomm.
  when 'abc'.
    call screen 200.
    ucomm = '&amp;amp;REFRESH'.
endcase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your screen 200, before coming back to 100, you will add the new record to your internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 19:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208926#M132974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-23T19:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208927#M132975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm on 4.6c.&lt;/P&gt;&lt;P&gt;This instruction doesn&amp;#146;t exist on 4.6c.&lt;/P&gt;&lt;P&gt;LEAVE SCREEN 200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Maria João Rocha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 19:04:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208927#M132975</guid>
      <dc:creator>MariaJooRocha</dc:creator>
      <dc:date>2006-03-23T19:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208928#M132976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in the PBO of screen 100, you can call method REFRESH_TABLE_DISPLAY of CL_GUI_ALV_GRID.&lt;/P&gt;&lt;P&gt;so that when you return to screen 100, the changes in the internal table will be reflected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA :  G_GRID  TYPE REF TO CL_GUI_ALV_GRID,&lt;/P&gt;&lt;P&gt;         WA_LVC_S_STBL TYPE LVC_S_STBL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module PBO_100. &lt;/P&gt;&lt;P&gt;CALL METHOD G_GRID-&amp;gt;REFRESH_TABLE_DISPLAY&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      IS_STABLE      = WA_LVC_S_STBL&lt;/P&gt;&lt;P&gt;      I_SOFT_REFRESH = ' '&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      FINISHED       = 1&lt;/P&gt;&lt;P&gt;      OTHERS         = 2.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shashank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 08:52:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208928#M132976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T08:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: set screen/leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208929#M132977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did solved the problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call screen 100. &lt;/P&gt;&lt;P&gt;leave sreen.  -&amp;gt; New&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---on screen 200.&lt;/P&gt;&lt;P&gt;set screen 0. Leave screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maria João Rocha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 10:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-screen-leave-screen/m-p/1208929#M132977</guid>
      <dc:creator>MariaJooRocha</dc:creator>
      <dc:date>2006-03-24T10:22:28Z</dc:date>
    </item>
  </channel>
</rss>

