<?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: linking the screens in module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729669#M633598</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;use SET SCREEN 'SCRNO' OR CALL SCREEN 'SCRNO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set screen: used when we want to go to next screen after executing current screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen: navigates to the next screen executes it and comes back to current screen and process it before it had left. and also call screen is used for calling sub screens also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leave screen: used to go out of current screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ur case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PAI event of 1st screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN '200' // 200 IS NEXT SCREEN&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;SET SCREEN '200'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2007 07:05:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-06T07:05:25Z</dc:date>
    <item>
      <title>linking the screens in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729666#M633595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i am raja here and i was creating a simple transaction .... when you are entering customer number on the first screen and on the next screen data is displayed for that customer number and the data is "city" and the "name".. and i am using the table "scustom" and i am unable to link the screens could any one help me in resolving this issue or send me some code. and i used the leave to screen option but could not get the out put its not going to the next screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 06:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729666#M633595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T06:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: linking the screens in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729667#M633596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use CALL SCREEN 200 (second one - display data) in the PAI of SCREEN 100 (first one - input customer) when leaving 200 in PAI (BACK) use LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 06:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729667#M633596</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-09-06T06:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: linking the screens in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729668#M633597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but i am unable to display the values also in the second screen its giving blank output.. and i wanted the data for the custoemr number which i entered...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 07:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729668#M633597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T07:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: linking the screens in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729669#M633598</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;use SET SCREEN 'SCRNO' OR CALL SCREEN 'SCRNO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set screen: used when we want to go to next screen after executing current screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen: navigates to the next screen executes it and comes back to current screen and process it before it had left. and also call screen is used for calling sub screens also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leave screen: used to go out of current screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ur case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PAI event of 1st screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN '200' // 200 IS NEXT SCREEN&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;SET SCREEN '200'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 07:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729669#M633598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T07:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: linking the screens in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729670#M633599</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;in second screen u created a database field or ur own if ita a database table field then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while designing only -&amp;gt; click on goto -&amp;gt; select from data dictionary -&amp;gt; give table name -&amp;gt; select required fields of given databse table field -&amp;gt; dra g and drop on screen -&amp;gt; save  n activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in flow logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in pbo event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single fld1, fld2 from zstudent where condition. for ex where stud = 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 07:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729670#M633599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T07:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: linking the screens in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729671#M633600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi suresh thank you for providing the answer but i am still unable to go from first screen to second screen when i click on the display button in the first screen.. after entering the custoemr number... and i am sending the program and flow logic plz revert to this with the changes so tht i can excute it and hte porgram and flow logic is as follows...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e code which i wrote is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp; Module pool       ZSAPMTFBA                                         *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM  ZSAPMTFBA                               .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : scustom.&lt;/P&gt;&lt;P&gt;DATA  : OKCODE(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE INPUT1 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE OKCODE.&lt;/P&gt;&lt;P&gt;     WHEN 'DISPLAY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       select name,city from scustom where id = scustom-id.&lt;/P&gt;&lt;P&gt;       endselect.&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;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0200 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE OKCODE.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 100.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.              "USER_COMMAND_0200 INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*module check.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   select single * from scustom where id = scustom-id.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   if sy-subrc ne 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      message E001(wrongnumber).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and flow logic for screen 100 is &lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MODULE STATUS_0100.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field scustom-id module check.&lt;/P&gt;&lt;P&gt;MODULE INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and for screen 200 is &lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module  USER_COMMAND_0200.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 08:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linking-the-screens-in-module-pool-program/m-p/2729671#M633600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T08:52:50Z</dc:date>
    </item>
  </channel>
</rss>

