<?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 programe in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505794#M566419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;wher can i get userdailog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2007 04:43:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-12T04:43:14Z</dc:date>
    <item>
      <title>module pool programe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505791#M566416</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;i want to create module pool programme.&lt;/P&gt;&lt;P&gt;tell me the steps.&lt;/P&gt;&lt;P&gt;i want to develop one selection screen by that selection i want to display that data in screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 04:38:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505791#M566416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T04:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505792#M566417</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;goto &amp;lt;b&amp;gt;abapdocu&amp;lt;/b&amp;gt; tcode&lt;/P&gt;&lt;P&gt;select ABAP User Dialogs -&amp;gt;Screens-&amp;gt;Processing Screens &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see all those programs,they will be surely helpful to u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 04:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505792#M566417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T04:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505793#M566418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Check the below link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm" target="test_blank"&gt;http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.mis.cmich.edu/sap-abap/abap09/index.htm" target="test_blank"&gt;http://sap.mis.cmich.edu/sap-abap/abap09/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/ZSAPcHAT" target="test_blank"&gt;http://www.geocities.com/ZSAPcHAT&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/files/using_table_in_screen.pdf" target="test_blank"&gt;http://www.allsaplinks.com/files/using_table_in_screen.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/dialog/dialoghome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/dialog/dialoghome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/" target="test_blank"&gt;http://www.sap-img.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/links/abap.htm" target="test_blank"&gt;http://www.sapgenie.com/links/abap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also check the transaction ABAPDOCU which gives you lot of sample programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can see the below examples...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to se38 and give demo&lt;STRONG&gt;dynpro&lt;/STRONG&gt; and press F4.&lt;/P&gt;&lt;P&gt;YOu will get a list of demo module pool programs.&lt;/P&gt;&lt;P&gt;One more T-Code is ABAPDOCU.&lt;/P&gt;&lt;P&gt;YOu can find more examples there.&lt;/P&gt;&lt;P&gt;See the prgrams:&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement &lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/ZSAPcHAT" target="test_blank"&gt;http://www.geocities.com/ZSAPcHAT&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/files/using_table_in_screen.pdf" target="test_blank"&gt;http://www.allsaplinks.com/files/using_table_in_screen.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 04:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505793#M566418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T04:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505794#M566419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;wher can i get userdailog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 04:43:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505794#M566419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T04:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505795#M566420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi venkat&lt;/P&gt;&lt;P&gt;Use bcalv* in program and select f4, you will get all the alv programs.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;P&gt;*reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Prasanth Narayanasetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 04:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505795#M566420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T04:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505796#M566421</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;goto SE80 -&amp;gt; &lt;/P&gt;&lt;P&gt;give program name -&amp;gt;&lt;/P&gt;&lt;P&gt;create or click on save -&amp;gt; &lt;/P&gt;&lt;P&gt;give type M for report program -&amp;gt; &lt;/P&gt;&lt;P&gt;give top include if u want or disable that check box -&amp;gt;&lt;/P&gt;&lt;P&gt; right click on program name -&amp;gt; &lt;/P&gt;&lt;P&gt;select create screen -&amp;gt;&lt;/P&gt;&lt;P&gt;  u ll get flow logic and decomment the pbo and pai module -&amp;gt; &lt;/P&gt;&lt;P&gt;click on layout and design the screen -&amp;gt; activate -&amp;gt;&lt;/P&gt;&lt;P&gt; double click on pbo module and decomment  title bar and menu status [create as required] save -&amp;gt; back -&amp;gt; &lt;/P&gt;&lt;P&gt;double click on pai module -&amp;gt; write ur code in this pai module -&amp;gt; activate -&amp;gt; &lt;/P&gt;&lt;P&gt;right click on program -&amp;gt; &lt;/P&gt;&lt;P&gt;create a transaction -&amp;gt; &lt;/P&gt;&lt;P&gt;give transaction name starting with Z******* and select GUI FOR WINDOWS radio button -&amp;gt; save -&amp;gt;&lt;/P&gt;&lt;P&gt; back -&amp;gt; activate  -&amp;gt; &lt;/P&gt;&lt;P&gt;create a new session -&amp;gt; give transaction code which u have created in command box &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.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 04:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505796#M566421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T04:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505797#M566422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;1) Create zreport save and activate and close&lt;/P&gt;&lt;P&gt;2) then go to SE51 type same z report name and give screen No.&lt;/P&gt;&lt;P&gt;3) click on change button on se51 then remove comment from PBO , PAI event.&lt;/P&gt;&lt;P&gt;4) click on layout button and desing screen as per your requirment , save check, and activate&lt;/P&gt;&lt;P&gt;5) click on PBO and PAI events write some code there.&lt;/P&gt;&lt;P&gt;now come to se38 select your z report and &lt;/P&gt;&lt;P&gt;before calling Module pool  write&lt;/P&gt;&lt;P&gt;CALL SCREEN 'screen-number' which you have selected during createion in se51.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save check and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if yousfull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 07:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505797#M566422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T07:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505798#M566423</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;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;ABAP Report Types&lt;/P&gt;&lt;BR /&gt;ABAP report types are those ones available in some report's attributes screen, i.e. : &lt;BR /&gt;· Executable program &lt;BR /&gt;· Function group (containing function modules) &lt;BR /&gt;· Include &lt;BR /&gt;· Interface pool &lt;BR /&gt;· Class pool &lt;BR /&gt;· Module pool &lt;BR /&gt;· Subroutine pool &lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;B&gt;ABAP/4 Module Pool&lt;/B&gt;&lt;/U&gt; &lt;BR /&gt;In the Object Browser, the module pool code belongs to one of the following categories: &lt;BR /&gt;&lt;B&gt;&lt;P&gt;Global fields:&lt;/P&gt;&lt;/B&gt; data declarations that can be used by all modules in the module pool &lt;BR /&gt;&lt;B&gt;&lt;P&gt;PBO modules:&lt;/P&gt;&lt;/B&gt; modules that are called before displaying the screen &lt;BR /&gt;&lt;B&gt;&lt;P&gt;PAI modules:&lt;/P&gt;&lt;/B&gt; modules that are called in response to the user input &lt;BR /&gt;&lt;B&gt;&lt;P&gt;Subroutines:&lt;/P&gt;&lt;/B&gt; subroutines that can be called from any position within the module pool &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, the system divides a module pool into one or several include programs. An include program can contain several modules of the same type (only PBO modules or only PAI modules). The main program then consists of a sequence of INCLUDE statements that link the modules to the module pool: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;--------------------------------------------------------------- 
*&amp;amp;
*&amp;amp; Module pool      SAPMTZ10 
*&amp;amp; 
*&amp;amp;--------------------------------------------------------------- 
*&amp;amp; 
*&amp;amp; Display data of Table SPFLI 
*&amp;amp; 
*&amp;amp;--------------------------------------------------------------- 

* Global data 
INCLUDE MTZ10TOP. 

* PAI modules 
INCLUDE MTZ10I01. 

* PBO modules 
INCLUDE MTZ10O01. 
In the ABAP/4 editor, you can display the code hidden behind the INCLUDE statements by choosing Edit ---&amp;gt; More functions ---&amp;gt; EXPAND include. With all INCLUDE statements expanded, the module pool looks like this: 
*&amp;amp;--------------------------------------------------------------- 
*&amp;amp; Module pool      SAPMTZ10 
*&amp;amp;           FUNCTION: Display data from Table SPFLI 
*&amp;amp; 
*&amp;amp;--------------------------------------------------------------- 
*----------------------------------------------------------------- 
* INCLUDE MTZ10TOP (This is the TOP include: 
* the TOP module contains global data declarations) 
*---------------------------------------------------------------- 
PROGRAM SAPMTZ10. 
     TABLES: SPFLI. 

     DATA OK_CODE(4). 

*---------------------------------------------------------------- 
* INCLUDE MTZ10I01 (This is a PAI include.) 
*---------------------------------------------------------------- 
*&amp;amp;--------------------------------------------------------------- 
*&amp;amp; Module USER_COMMAND_0100 INPUT 
*&amp;amp;--------------------------------------------------------------- 
* Retrieve data from SPFLI or leave transaction 
*---------------------------------------------------------------- 
MODULE USER_COMMAND_0100 INPUT. 
CASE OK_CODE. 
     WHEN 'SHOW'. 
          CLEAR OK_CODE. 
          SELECT SINGLE * FROM SPFLI WHERE CARRID = SPFLI-CARRID 
                                                                  AND       CONNID = SPFLI-CONNID. 
     WHEN SPACE. 
     WHEN OTHERS. 
          CLEAR OK_CODE. 
          SET SCREEN 0.
          LEAVE SCREEN. 
     ENDCASE. 
ENDMODULE. 
*---------------------------------------------------------------- 
* INCLUDE MTZ10O01 (This is a PBO include.) 
*---------------------------------------------------------------- 
*&amp;amp;--------------------------------------------------------------- 
*&amp;amp; Module STATUS_0100 
*&amp;amp;--------------------------------------------------------------- 
* Specify GUI status and title for screen 100 
*---------------------------------------------------------------- 
MODULE STATUS_0100. 
     SET PF-STATUS 'TZ0100'. 
     SET TITLEBAR '100'. 
ENDMODULE. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use the ABAP/4 Dictionary to store frequently used data declarations centrally. Objects defined in the Dictionary are known throughout the system. Active Dictionary definitions can be accessed by any application. Data defined in the Dictionary can be included in a screen or used by an ABAP/4 program. You declare global data in the TOP module of the transaction, using the TABLES, STRUCTURE, LIKE statements and others. Transaction TZ10 accesses the Dictionary definition of Table SPFLI to provide the desired flight data display. If the TOP include contains the TABLES: SPFLI declaration, all modules in the module pool can access the table fields of Table SPFLI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PAI module USER_COMMAND_0100 checks which pushbutton the user activated (CASE OK_CODE). The Display pushbutton in Transaction TZ10 has the function code 'SHOW'. The program then tries to select those records in the SPFLI database that correspond to the data the user entered. The WHERE condition determines matching records by comparing the fields SPFLI-CARRID and SPFLI-CONNID with the database key fields CARRID and CONNID. As soon as a matching record is found, the database transfers all accompanying SPFLI fields to the program table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the screen is displayed again, the complete information appears in the output fields of the screen. The system automatically displays these fields, since the ABAP/4 field names SPFLI-CARRID and SPFLI-CONNID are the same as the screen field names. &lt;/P&gt;&lt;P&gt;In the PBO module STATUS_0100 of Transaction TZ10, the screen 100 receives a GUI status (using SET PF-STATUS) and a GUI title (using SET TITLEBAR): &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PF-STATUS 'TZ0100'. 
SET TITLEBAR '100'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A GUI status is a subset of the interface elements used for a certain screen. The status comprises those elements that are currently needed by the transaction. The GUI status for a transaction may be composed of several elements. &lt;/P&gt;&lt;P&gt;The GUI title is the screen title displayed in the title bar of the window. In contrast to the GUI status that can be used for several screens, a GUI title belongs to one screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create and edit GUI status and GUI title, you use the Menu Painter. To start the Menu Painter, create a GUI status or GUI title in an object list in the Object Browser (or double-click on an existing status or title). &lt;/P&gt;&lt;P&gt;For more information on the Menu Painter, see the &lt;EM&gt;SAP documentation ABAP/4 Development Workbench: Tools.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;B&gt;Interactions between Screens and ABAP/4 Modules&lt;/B&gt;&lt;/U&gt; &lt;BR /&gt;&lt;BR /&gt;In its most simple form, a transaction is a collection of screens and ABAP/4 routines, controlled and executed by a dialog processor. The dialog processor processes screen after screen, thereby triggering the appropriate ABAP/4 processing for each screen.&lt;BR /&gt;&lt;BR /&gt;For each screen, the system executes the flow logic that contains the corresponding ABAP/4 processing. The control passes from screen flow logic to ABAP/4 code and back.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The sequence of events for Transaction TZ10, for example, looks like this: &lt;BR /&gt;&lt;BR /&gt;1. In the PBO event, the statement MODULE STATUS_0100 passes control to the corresponding ABAP/4 module. In the ABAP/4 module pool, the screen to be displayed receives a menu interface.&lt;BR /&gt;&lt;BR /&gt;2. After processing the module STATUS_0100, control returns to the flow logic. For the PBO event, no further processing is required. The system display the screen and receives entries from the user. The entries are: &lt;BR /&gt;&lt;BR /&gt;§ the values for the fields Company and Flight number. &lt;BR /&gt;&lt;BR /&gt;§ the four-character function code that tells which pushbutton the user activated. &lt;BR /&gt;&lt;BR /&gt;3. The user input triggers the PAI event. The first PAI statement passes control to the ABAP/4 module USER_COMMAND_0100. Module USER_COMMAND_0100 processes the requests of the user. In our example, only one request is possible: displaying the flight data for the specified flight. The ABAP/4 statement SELECT retrieves the data from the database and displays it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4. After processing MODULE USER_COMMAND_0100, control returns to PAI. This terminates the dialog. &lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;B&gt;Communication: Screen &amp;#150; ABAP/4 Module Pool&lt;/B&gt;&lt;/U&gt; &lt;BR /&gt;&lt;BR /&gt;The screen flow logic is divided into two events for each screen: &lt;BR /&gt;· The PROCESS BEFORE OUTPUT event (PBO) is executed before the screen is displayed. &lt;BR /&gt;· The PROCESS AFTER INPUT event (PAI) is executed after the user has pressed ENTER. &lt;BR /&gt;· The system processes the modules in an event sequentially. &lt;BR /&gt;· In each module, control passes from the dialog processor to the ABAP/4 processor. After processing, control is returned to the dialog processor. &lt;BR /&gt;· When all the PBO modules have been processed, the contents of fields in the ABAP/4 work area are copied to the identically named fields in the screen work area. &lt;BR /&gt;· Before the PAI module is processed, the contents of fields in the screen work area are copied to the identically named fields in the ABAP/4 work area. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;B&gt;ABAP/4 module pool&lt;/B&gt;&lt;/U&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each dynpro refers to exactly one ABAP/4 dialog program. Such a dialog program is also called a module pool, since it consists of interactive modules. The flow logic of a dynpro contains calls of modules from the corresponding module pool. Interactive modules called at the PBO event are used to prepare the screen template in accordance to the context, for example by setting field contents or by suppressing fields from the display that are not needed. Interactive modules called at the PAI event are used to check the user input and to trigger appropriate dialog steps, such as the update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All dynpros to be called from within one transaction refer to a common module pool. The dynpros of a module pool are numbered. By default, the system stores for each dynpro the dynpro to be displayed next. This dynpro sequence or chain can be linear as well as cyclic. From within a dynpro chain, you can even call another dynpro chain and, after processing it, return to the original chain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pavan praveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 09:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505798#M566423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T09:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505799#M566424</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 create a module pool program accessing transaction SE80 and creating a new program of the type module pool. A module pool program is basically a pool of includes that separates the functionalities like PBO, PAI, etc.&lt;/P&gt;&lt;P&gt;After the program creation, you need to uncomment the includes of the main program and create them. Now, create a new windows, by right-clicking the main program name in the left menu and clicking Create&amp;gt;Screen.&lt;/P&gt;&lt;P&gt;There's a program to draw your screen, you can access it by selecting your screen and clicking the button "Screen Painter" (if I'm correct).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if usefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-h&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 12:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programe/m-p/2505799#M566424</guid>
      <dc:creator>hermanoclaro</dc:creator>
      <dc:date>2007-07-12T12:40:45Z</dc:date>
    </item>
  </channel>
</rss>

