<?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 program development in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-development/m-p/4127209#M986906</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 believe if you give leave to screen 0 will work for both the scenarios..if you use call screen 400...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'BACK'.&lt;/P&gt;&lt;P&gt;  LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2008 18:06:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-09T18:06:53Z</dc:date>
    <item>
      <title>module pool program development</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-development/m-p/4127208#M986905</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 three screens 200 300 and 400.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in 200 i have a push button so by clicking on that it should call the screen 400. and after that if u press back button then it shuld get to the screen 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly in 300 if i click the push button then it will call screen 400 and by clicking back button it shuld come to the screen 300...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so my question is how can proceed with the coding part for the back button in 400 screen because depending on the called screen the back button shuld work dynamically...ieee...if the screen is called from screen 200 then it shuld get back to that screen and if it is called by screen 300 then it shuld get back to that screen...all this happens dynamically depending on the user selection.so how can we handle that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me on this.&lt;/P&gt;&lt;P&gt;points will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 17:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-development/m-p/4127208#M986905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T17:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: module pool program development</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-development/m-p/4127209#M986906</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 believe if you give leave to screen 0 will work for both the scenarios..if you use call screen 400...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'BACK'.&lt;/P&gt;&lt;P&gt;  LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 18:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-development/m-p/4127209#M986906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T18:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: module pool program development</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-development/m-p/4127210#M986907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the PAI of 200 screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
v_pscreen = '200'.  " Move sy-dynnr (200) to this variable
call screen 400.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PAI of 300 screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
v_pscreen = '300'.  " Move sy-dynnr (300) to this variable
call screen 400
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in 400 PAI after back&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
leave to screen v_pscreen.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 18:12:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-development/m-p/4127210#M986907</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-07-09T18:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: module pool program development</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-development/m-p/4127211#M986908</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Leaves the current screen and processes the next screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the next screen has the number 0 (either defined statically or set dynamically by SET SCREEN 0), processing in CALL mode continues after the CALL SCREEN statement. Otherwise, you branch to the transaction selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;If the next screen is specified dynamically, you can use the short form " LEAVE TO SCREEN scr." instead of a combination of the "SET SCREEN scr." and "LEAVE SCREEN." commands.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 19:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-development/m-p/4127211#M986908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T19:01:23Z</dc:date>
    </item>
  </channel>
</rss>

