<?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: Leave screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351051#M1036173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suker,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use SAP Memory to populate the value of the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Set parameter / Get Parameter Syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Aug 2008 13:00:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-14T13:00:11Z</dc:date>
    <item>
      <title>Leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351050#M1036172</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 calling a dialogue screen from a program. The screen accepts a value from the user, performs a calculation and should return the calculated value , say A when I press back button. &lt;/P&gt;&lt;P&gt;I am using&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if okcode = 'BACK' or okcode = 'E' or
   okcode = 'ENDE'.
 SET SCREEN 0.
LEAVE SCREEN.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now on the execution of this statement, the control returns to my include, what should I do to ensure that I have the value A available in my Include.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 12:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351050#M1036172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T12:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351051#M1036173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suker,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use SAP Memory to populate the value of the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Set parameter / Get Parameter Syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 13:00:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351051#M1036173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T13:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351052#M1036174</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;If you are using a global variable, which can be seen from both programs, then that's one solution.&lt;/P&gt;&lt;P&gt;The another solution, to use the global SAP memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT myvariable TO MEMORY ID 'MYVARIABLE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then retrieve it like this:&lt;/P&gt;&lt;P&gt;EXPORT myvariable FROM MEMORY ID 'MYVARIABLE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 13:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351052#M1036174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T13:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351053#M1036175</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;You can export the value 'A' to the memory and then import that in the screen program...&lt;/P&gt;&lt;P&gt;[Export value to memory|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bd1358411d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;[Import value from memory|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bd1358411d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Narin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 13:03:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351053#M1036175</guid>
      <dc:creator>narin_nandivada3</dc:creator>
      <dc:date>2008-08-14T13:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Leave screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351054#M1036176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;STRONG&gt;LEAVE TO SCREEN 0&lt;/STRONG&gt; even though it means the same thing as what you have done..( set screen 0. leave screen)&lt;/P&gt;&lt;P&gt;coz i had a similar scenario like yours and this worked for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 13:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-screen/m-p/4351054#M1036176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T13:09:52Z</dc:date>
    </item>
  </channel>
</rss>

