<?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: when to use module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544197#M852588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your ABAP program requires a user dialog then dialog programming is required.&lt;/P&gt;&lt;P&gt;A user dialog is any form of interaction between the user and the program :&lt;/P&gt;&lt;P&gt;Entering data&lt;/P&gt;&lt;P&gt;Choosing a menu item&lt;/P&gt;&lt;P&gt;Clicking a button&lt;/P&gt;&lt;P&gt;Clicking or double clicking an entry&lt;/P&gt;&lt;P&gt;It is also used when we need to navigate back and forth between screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Programs which are partially or wholly user dialog driven CAN NOT BE EXECUTED IN BACKGROUND. They are therefore referred to as Dialog programs.&lt;/P&gt;&lt;P&gt;Dialog programming skills are useful for developing bolt on functionality and for performing enhancements in standard R/3 applications.&lt;/P&gt;&lt;P&gt;Dialog programs are created with type as &amp;#145;M&amp;#146; &amp;#150; Module Pool. They cannot be executed independently and must be attached to at least one transaction code in which you specify an initial screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why Dialog Programming&lt;/P&gt;&lt;P&gt;Most of Business applications now a days require manual input of data that must be available at a later time.&lt;/P&gt;&lt;P&gt;Interface between system and user should be as comfortable and friendly as possible.&lt;/P&gt;&lt;P&gt;Logical coherence of the data and correct processing should also be guaranteed.&lt;/P&gt;&lt;P&gt;Reports: &lt;/P&gt;&lt;P&gt;As you have previously explored, a report is a program that typically reads and analyzes data in database tables without changing the database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dialog Programs: &lt;/P&gt;&lt;P&gt;A dialog program allows you to work interactively with the system and to change the contents of the database tables. Each dialog program has a certain sequence of screens that are processed by the system one after the other. &lt;/P&gt;&lt;P&gt;From the view of a user, a dialog step consists of receiving a screen for entering data, then after the users clicks a button or selects a menu entry, processing is started. From the view of the SAP system, the screen is prepared and sent. After this, the user receives it and fills it out. Then the system analyzes and processes the data contained on the screen after receiving it from the user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A dialog program must offer: &lt;/P&gt;&lt;P&gt;a user-friendly user interface &lt;/P&gt;&lt;P&gt;format and consistency checks for the data entered by the user &lt;/P&gt;&lt;P&gt;easy correction of input errors &lt;/P&gt;&lt;P&gt;access to data by storing it in the database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;palak behal&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2008 09:12:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-25T09:12:15Z</dc:date>
    <item>
      <title>when to use module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544192#M852583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could any one give me inf abt module pool i.e. when to use and what are the main benefits by using that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 12:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544192#M852583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T12:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: when to use module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544193#M852584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is module pool program in simple words&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;P&gt;Module pools are programs that provide a user fairly good and continuous interaction with the system..take the example of standard transactions in modules like SD,MM..etc...&lt;/P&gt;&lt;P&gt;eg: Sales Order creation -&amp;gt;VA01/02/03 -&amp;gt; program SAPMV45A&lt;/P&gt;&lt;P&gt;is a module pool program..here first screen we enter some data,press some buttons it will take you to another screen and session involves a lot of interaction until you save the data with correct validations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module pools..where are they used?&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------" /&gt;&lt;P&gt;Generally module pools are used when user decides to adda process/scenario that involved multiple screens and/or complex processing logic and validations&lt;/P&gt;&lt;P&gt;eg: consider the creation of sales order in standard screen itself..it is a basic process/step in itself and forms a part of the entire sales module&lt;/P&gt;&lt;P&gt;We can also have module pools that stand independently but in the end they focus on satisfying a user's business process&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main Benifits&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;You can provide a variety of screen interfaces like tabstrips,ALVs,table controls,pop-ups...and at the same time support complex functionality of the user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls revert if you need  any specific clarifications&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 13:41:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544193#M852584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T13:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: when to use module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544194#M852585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Byju Edamana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for u r reply. Could u pls give some inf abt chain , endchain , pbo and pai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 12:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544194#M852585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T12:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: when to use module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544195#M852586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a coding example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
* MODULE STATUS_0105.
  MODULE init_0105.
*
PROCESS AFTER INPUT.

  CHAIN.
    field zlmref-kunnr.

    MODULE check_customer_number.
  ENDCHAIN.

  CHAIN.
    FIELD: ZLMREF-STATE.

    MODULE edit_state_0105.
  ENDCHAIN.


  CHAIN.
    FIELD: refphone1-area,
           refphone1-pref,
           refphone1-sufx.

    MODULE refphone1_nbrs_0105.
  ENDCHAIN.

  CHAIN.
    FIELD: refphone2-area,
           refphone2-pref,
           refphone2-sufx.

    MODULE refphone2_nbrs_0105.
  ENDCHAIN.

  MODULE user_command_0105.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the fields listed in teh CHAIN/ENDCHAIN  will be open for input if there is an error, all other fields will be output only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of an edit module&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  edit_state_0105  INPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE edit_state_0105 INPUT.
  CHECK rb_rt_none NE 'X'.
  CHECK zlmref-state NE space.

  PERFORM edit_state USING  zlmref-state.
ENDMODULE.                 " edit_state_0105  INPUT

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  edit_state
*&amp;amp;---------------------------------------------------------------------*
FORM edit_state USING    p_state.

  CHECK mode NE c_display.

  SELECT SINGLE * FROM t005s
    WHERE land1 = 'US'
      AND bland = p_state.

  CHECK NOT sy-subrc = 0.
  MESSAGE e084.

ENDFORM.                    " edit_state
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 12:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544195#M852586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T12:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: when to use module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544196#M852587</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;/P&gt;&lt;P&gt;ABAP/4 Module Pool &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Object Browser, the module pool code belongs to one of the following categories: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global fields: data declarations that can be used by all modules in the module pool &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO modules: modules that are called before displaying the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI modules: modules that are called in response to the user input &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subroutines: subroutines that can be called from any position within the module pool &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;*&amp;amp;----&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; Module pool      SAPMTZ10 &lt;/P&gt;&lt;P&gt;*&amp;amp; &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; &lt;/P&gt;&lt;P&gt;*&amp;amp; Display data of Table SPFLI &lt;/P&gt;&lt;P&gt;*&amp;amp; &lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Global data &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;INCLUDE MTZ10TOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PAI modules &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;INCLUDE MTZ10I01. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PBO modules &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;INCLUDE MTZ10O01. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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: &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      SAPMTZ10 &lt;/P&gt;&lt;P&gt;*&amp;amp;           FUNCTION: Display data from Table SPFLI &lt;/P&gt;&lt;P&gt;*&amp;amp; &lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INCLUDE MTZ10TOP (This is the TOP include: &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the TOP module contains global data declarations) &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PROGRAM SAPMTZ10. &lt;/P&gt;&lt;P&gt;     TABLES: SPFLI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     DATA OK_CODE(4). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INCLUDE MTZ10I01 (This is a PAI include.) &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&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 USER_COMMAND_0100 INPUT &lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Retrieve data from SPFLI or leave transaction &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT. &lt;/P&gt;&lt;P&gt;CASE OK_CODE. &lt;/P&gt;&lt;P&gt;     WHEN 'SHOW'. &lt;/P&gt;&lt;P&gt;          CLEAR OK_CODE. &lt;/P&gt;&lt;P&gt;          SELECT SINGLE * FROM SPFLI WHERE CARRID = SPFLI-CARRID &lt;/P&gt;&lt;P&gt;                                                                  AND       CONNID = SPFLI-CONNID. &lt;/P&gt;&lt;P&gt;     WHEN SPACE. &lt;/P&gt;&lt;P&gt;     WHEN OTHERS. &lt;/P&gt;&lt;P&gt;          CLEAR OK_CODE. &lt;/P&gt;&lt;P&gt;          SET SCREEN 0.&lt;/P&gt;&lt;P&gt;          LEAVE SCREEN. &lt;/P&gt;&lt;P&gt;     ENDCASE. &lt;/P&gt;&lt;P&gt;ENDMODULE. &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INCLUDE MTZ10O01 (This is a PBO include.) &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&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 STATUS_0100 &lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Specify GUI status and title for screen 100 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MODULE STATUS_0100. &lt;/P&gt;&lt;P&gt;     SET PF-STATUS 'TZ0100'. &lt;/P&gt;&lt;P&gt;     SET TITLEBAR '100'. &lt;/P&gt;&lt;P&gt;ENDMODULE. &lt;/P&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;&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;P&gt;SET PF-STATUS 'TZ0100'. &lt;/P&gt;&lt;P&gt;SET TITLEBAR '100'. &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;&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;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;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;sowjanyagosala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 05:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544196#M852587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T05:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: when to use module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544197#M852588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your ABAP program requires a user dialog then dialog programming is required.&lt;/P&gt;&lt;P&gt;A user dialog is any form of interaction between the user and the program :&lt;/P&gt;&lt;P&gt;Entering data&lt;/P&gt;&lt;P&gt;Choosing a menu item&lt;/P&gt;&lt;P&gt;Clicking a button&lt;/P&gt;&lt;P&gt;Clicking or double clicking an entry&lt;/P&gt;&lt;P&gt;It is also used when we need to navigate back and forth between screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Programs which are partially or wholly user dialog driven CAN NOT BE EXECUTED IN BACKGROUND. They are therefore referred to as Dialog programs.&lt;/P&gt;&lt;P&gt;Dialog programming skills are useful for developing bolt on functionality and for performing enhancements in standard R/3 applications.&lt;/P&gt;&lt;P&gt;Dialog programs are created with type as &amp;#145;M&amp;#146; &amp;#150; Module Pool. They cannot be executed independently and must be attached to at least one transaction code in which you specify an initial screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why Dialog Programming&lt;/P&gt;&lt;P&gt;Most of Business applications now a days require manual input of data that must be available at a later time.&lt;/P&gt;&lt;P&gt;Interface between system and user should be as comfortable and friendly as possible.&lt;/P&gt;&lt;P&gt;Logical coherence of the data and correct processing should also be guaranteed.&lt;/P&gt;&lt;P&gt;Reports: &lt;/P&gt;&lt;P&gt;As you have previously explored, a report is a program that typically reads and analyzes data in database tables without changing the database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dialog Programs: &lt;/P&gt;&lt;P&gt;A dialog program allows you to work interactively with the system and to change the contents of the database tables. Each dialog program has a certain sequence of screens that are processed by the system one after the other. &lt;/P&gt;&lt;P&gt;From the view of a user, a dialog step consists of receiving a screen for entering data, then after the users clicks a button or selects a menu entry, processing is started. From the view of the SAP system, the screen is prepared and sent. After this, the user receives it and fills it out. Then the system analyzes and processes the data contained on the screen after receiving it from the user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A dialog program must offer: &lt;/P&gt;&lt;P&gt;a user-friendly user interface &lt;/P&gt;&lt;P&gt;format and consistency checks for the data entered by the user &lt;/P&gt;&lt;P&gt;easy correction of input errors &lt;/P&gt;&lt;P&gt;access to data by storing it in the database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;palak behal&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544197#M852588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: when to use module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544198#M852589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot for u r clarrification...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 05:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-to-use-module-pool/m-p/3544198#M852589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T05:28:09Z</dc:date>
    </item>
  </channel>
</rss>

