<?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: module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1544882#M247901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;LEAVE SCREEN.&amp;lt;/b&amp;gt;- if you want to quit from the current screen, you use this option. so by default the next screen from attributes will be picked but if you have defined the next screen using SET SCREEN that it will overwrite.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: SET SCREEN 100.&lt;/P&gt;&lt;P&gt;LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN.&amp;lt;/b&amp;gt;- Leave to screen is combination of above two statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this thread...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1763112"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2006 10:18:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-10T10:18:13Z</dc:date>
    <item>
      <title>module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1544880#M247899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  wht is the difference between leave screen and leave to screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 10:14:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1544880#M247899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T10:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1544881#M247900</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;The screen can branch out to new screen depending upon user selection. Following command in module pool program can do this:&lt;/P&gt;&lt;P&gt;&amp;#149;	SET SCREEM&lt;/P&gt;&lt;P&gt;&amp;#149;	CALL SCREEN&lt;/P&gt;&lt;P&gt;&amp;#149;	LEAVE TO SCREEN &amp;lt;NUMBER&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All these commands override the specifications given in the attributes. This overriding is temporary. The values stored in the attribute are not changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set screen &amp;lt;number&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In module pool program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case okcode.&lt;/P&gt;&lt;P&gt;	When  &amp;#145;DISP&amp;#146;.&lt;/P&gt;&lt;P&gt;		Set screen 200.&lt;/P&gt;&lt;P&gt;	When &amp;#145;LIST&amp;#146;.&lt;/P&gt;&lt;P&gt;		Set screen 300.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, the entire processing of current screen takes place and then the system branches out to next screen. If you want to branch out to the next screen without processing the current screen, LEAVE SCREEN should be used along with the SET SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case okcode..&lt;/P&gt;&lt;P&gt;	When  &amp;#145;DISP&amp;#146;.&lt;/P&gt;&lt;P&gt;		Set screen 200.&lt;/P&gt;&lt;P&gt;		Leave Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	When &amp;#145;LIST&amp;#146;.&lt;/P&gt;&lt;P&gt;		Set screen 300.&lt;/P&gt;&lt;P&gt;		Leave Screen.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;When SET SCREEN is used, control cannot be transferred to the main screen or previous screen, unless you write code for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call Screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually used for pop up screens. Many times, there is a need for user to enter additional information or secondary information on another screen or pop up screen. Once the user enters the data, he should be able to go back to main screen or to the screen where he started. This is not possible by using SET SCREEN. CALL SCREEN achieves this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;Call Screen 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will simply call a screen number 200 from a main screen. Once the screen is displayed the user can enter all the data and return to the main screen by clicking BACK button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To call screen as pop up screen the syntax is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call screen starting at &amp;lt;col.no.&amp;gt; &amp;lt;line no&amp;gt;&lt;/P&gt;&lt;P&gt;				 Ending at &amp;lt;col no&amp;gt; &amp;lt;line no&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case window will be popped as window and user can close it by using BACK button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leave to screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To SET a new screen without processing current screen, you need to use the following two statements together:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET SCREEN 200.&lt;/P&gt;&lt;P&gt;LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or a Single statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 200.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 10:15:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1544881#M247900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T10:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1544882#M247901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;LEAVE SCREEN.&amp;lt;/b&amp;gt;- if you want to quit from the current screen, you use this option. so by default the next screen from attributes will be picked but if you have defined the next screen using SET SCREEN that it will overwrite.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: SET SCREEN 100.&lt;/P&gt;&lt;P&gt;LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN.&amp;lt;/b&amp;gt;- Leave to screen is combination of above two statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this thread...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1763112"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 10:18:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1544882#M247901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T10:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1544883#M247902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LEAVE SCREEN :&lt;/P&gt;&lt;P&gt; this will leaves the current screen &amp;amp; goto the screen which you mentioned thru SET SCREEN &amp;lt;SCREEN NO&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN &amp;lt;SCREEN NO&amp;gt;:&lt;/P&gt;&lt;P&gt; leaves the current screen &amp;amp; goes to the screen specified here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or we can say &lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN is equal to the COMBINATION OF SET SCRREEN &amp;amp; LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 10:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1544883#M247902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T10:18:48Z</dc:date>
    </item>
  </channel>
</rss>

