<?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 module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3315597#M794170</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;can any one please explain what is module pool , what is the purpose and steps to how to create a sample module pool program as i am a fresher please explain with steps to create a module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please dont say to refer the links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2008 09:56:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-05T09:56:29Z</dc:date>
    <item>
      <title>module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3315597#M794170</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;can any one please explain what is module pool , what is the purpose and steps to how to create a sample module pool program as i am a fresher please explain with steps to create a module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please dont say to refer the links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 09:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3315597#M794170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T09:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3315598#M794171</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;Module pool programs are also called dialog programs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The module Pool are reports prepared for different screens and to manage the sequeence of events of these screens, in the transaction SE80 you can see all the dynpros that you have for this kind of report, add new ones, add all types of element to the report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process Before Output is the part of the dynpro code that is precessed before the user can do anithing with the data in the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process After Input is the part of the dynpro code that is preocessed after the interaction with the user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module pool programs are excuited using Transaction codes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP program with the program type 'M'.&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;&lt;/P&gt;&lt;P&gt;Screens are the most general type of user dialog that you can use in ABAP programs. You do not define them in ABAP programs, but instead in the Screen Painter. A screen consists of the input/output mask and the flow logic. You can define screens for any program with type 1, M, or F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screens in a single ABAP program can be combined to form screen sequences. You can call single screens or screen sequences either using a transaction code from outside the ABAP program, or by using the CALL SCREEN statement in the corresponding ABAP program. When you call a screen or screen sequence, the screen flow logic takes control of the ABAP program execution. You can define screen sequences dynamically by setting the next screen attribute for a screen dynamically in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A screen consists of the input/output mask and the flow logic. The screen flow logic is divided into the Process Before Output (PBO) event, which is processed before the screen is displayed, and the Process After Input (PAI) event, which is processed after a user action on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following diagram shows the place of screens between the GUI status and the ABAP program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen flow logic calls dialog modules in the ABAP program, either to prepare the screen for display (PBO event) or to process the user's entries (PAI event). Screens are dynamic programs, and have their own data objects, called screen fields. These are linked to the input/output fields that appear on the screen itself. When the screen is displayed, and when it finishes processing, the system passes data between the screen fields and data objects in the ABAP program. Data is copied between identically-named fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each screen has a GUI status, containing a menu bar, standard toolbar, and an application toolbar. Like screens, GUI statuses are independent components of the ABAP program. You create them in the ABAP Workbench using the Menu Painter. You assign GUI statuses to screens dynamically in your ABAP programs. Each screen is linked to the current GUI status by a special screen field into which the corresponding function code is placed whenever the user chooses a function. The screen passes the function code to the ABAP program just like any other screen field. You can then read it in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen Attributes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like all objects in the R/3 Repository, screens have attributes that both describe them and determine how they behave at runtime. Important screen attributes for ABAP programming:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program&lt;/P&gt;&lt;P&gt;The name of the ABAP program (type 1, M, or F) to which the screen belongs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen number&lt;/P&gt;&lt;P&gt;A four-digit number, unique within the ABAP program, that identifies the screen within the program. If your program contains selection screens, remember that selection screens and Screen Painter screens use the same namespace. For example, if you have a program with a standard selection screen, you may not contain any further screens with the number 1000. Lists, on the other hand, have their own namespace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen type&lt;/P&gt;&lt;P&gt;A normal screen occupies a whole GUI window. Modal dialog boxes only cover a part of a GUI window. Their interface elements are also arranged differently. Selection screens are generated automatically from the definition in the ABAP program. You may not define them using the Screen Painter. A subscreen is a screen that you can display in a subscreen area on a different screen in the same ABAP program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next screen&lt;/P&gt;&lt;P&gt;Statically-defined screen number, specifying the next screen in the sequence. If you enter zero or leave the field blank, you define the current screen as the last in the chain. If the next screen is the same as the current screen, the screen will keep on calling itself. You can override the statically-defined next screen in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cursor position&lt;/P&gt;&lt;P&gt;Static definition of the screen element on which the cursor is positioned when the screen is displayed. By default, the cursor appears on the first input field. You can overwrite the static cursor position dynamically in your ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen group&lt;/P&gt;&lt;P&gt;Four-character ID, placed in the system field SY-DYNGR while the screen is being processed. This allows you to assign several screens to a common screen group. You can use this, for example, to modify all of the screens in the group in a uniform way. Screen groups are stored in table TFAWT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hold data&lt;/P&gt;&lt;P&gt;If the user calls the screen more than once during a terminal session, he or she can retain changed data as default values by choosing System ® User profile ® Hold data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen Attributes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like all objects in the R/3 Repository, screens have attributes that both describe them and determine how they behave at runtime. Important screen attributes for ABAP programming:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program&lt;/P&gt;&lt;P&gt;The name of the ABAP program (type 1, M, or F) to which the screen belongs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen number&lt;/P&gt;&lt;P&gt;A four-digit number, unique within the ABAP program, that identifies the screen within the program. If your program contains selection screens, remember that selection screens and Screen Painter screens use the same namespace. For example, if you have a program with a standard selection screen, you may not contain any further screens with the number 1000. Lists, on the other hand, have their own namespace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen type&lt;/P&gt;&lt;P&gt;A normal screen occupies a whole GUI window. Modal dialog boxes only cover a part of a GUI window. Their interface elements are also arranged differently. Selection screens are generated automatically from the definition in the ABAP program. You may not define them using the Screen Painter. A subscreen is a screen that you can display in a subscreen area on a different screen in the same ABAP program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next screen&lt;/P&gt;&lt;P&gt;Statically-defined screen number, specifying the next screen in the sequence. If you enter zero or leave the field blank, you define the current screen as the last in the chain. If the next screen is the same as the current screen, the screen will keep on calling itself. You can override the statically-defined next screen in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cursor position&lt;/P&gt;&lt;P&gt;Static definition of the screen element on which the cursor is positioned when the screen is displayed. By default, the cursor appears on the first input field. You can overwrite the static cursor position dynamically in your ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen group&lt;/P&gt;&lt;P&gt;Four-character ID, placed in the system field SY-DYNGR while the screen is being processed. This allows you to assign several screens to a common screen group. You can use this, for example, to modify all of the screens in the group in a uniform way. Screen groups are stored in table TFAWT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hold data&lt;/P&gt;&lt;P&gt;If the user calls the screen more than once during a terminal session, he or she can retain changed data as default values by choosing System ® User profile ® Hold data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;bgan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 09:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3315598#M794171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T09:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3315599#M794172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The module pool consists of modularized ABAP/4 syntax which is placed inside include programs belonging to the dialog program. &lt;/P&gt;&lt;P&gt;These modules are invoked when called upon by flow logic. &lt;/P&gt;&lt;P&gt;Processing of flow logic and ABAP/4 modules is handled by different processors in the SAP system. &lt;/P&gt;&lt;P&gt;Flow logic is processed by the dialog processor while all ABAP/4 is processed by the ABAP/4 processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP/4 module pool consists of the following components: &lt;/P&gt;&lt;P&gt;The main program which will contain a series of include programs. Customer dialog programs should begin with SAPMZ or SAPMY. &lt;/P&gt;&lt;P&gt;Global data declarations in the form of a top include program. The program is named with the last five characters of the main program followed by &amp;#145;TOP&amp;#146; (for TOP include). All data declarations will be placed within this program during development. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For modularization purposes, remaining ABAP/4 is developed using the following structure of include programs: &lt;/P&gt;&lt;P&gt;A PBO module include program is created to hold modules invoked by the PBO event of any of the screens in the dialog program. A PAI module include program is created to hold modules invoked by the PAI event of any of the screens in the dialog program. The proper naming convention uses the last five characters of the main program followed by either &amp;#145;O&amp;#146; for PBO modules or &amp;#145;I&amp;#146; for PAI modules, ending with a sequential number beginning with &amp;#145;01&amp;#146;. All PBO and PAI modules are placed inside their respective include program until the need for further modularization arises at which point a new include can be created using the next number in the sequence. &lt;/P&gt;&lt;P&gt;If further modularization is required a forms include program is created for subroutines name with the last 5 characters of the main program followed by &amp;#145;F&amp;#146; for forms followed by a sequential number beginning with &amp;#145;01&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unlike report, interface, and conversion development which generally entails the creation of one autonomous program which can be executed independently of other objects, dialog program development entails development of multiple objects, none of which can be executed on its own. Instead, all objects are linked hierarchically to the main program and are executed in a sequence dictated by the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dialog programs are composed of the following main components: &lt;/P&gt;&lt;P&gt;Screens &lt;/P&gt;&lt;P&gt;Module pool &lt;/P&gt;&lt;P&gt;Subroutines &lt;/P&gt;&lt;P&gt;Menus/GUI statuses&lt;/P&gt;&lt;P&gt;Transaction codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screens are made up of the following components: &lt;/P&gt;&lt;P&gt;Screen attributes &lt;/P&gt;&lt;P&gt;Screen layout/screen elements &lt;/P&gt;&lt;P&gt;Fields &lt;/P&gt;&lt;P&gt;Flow logic &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow logic is comprised of two events: &lt;/P&gt;&lt;P&gt;The process before output (PBO) event invokes any processing which is to occur before the screen is displayed to the user. &lt;/P&gt;&lt;P&gt;The process after input (PAI) event invokes any processing which is to occur after the user has completed interaction with the screen by invoking any one of the possible functions (I.E. Save, back, enter, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPMDEMO_TRANSACTION in SE80 Transaction&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 10:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3315599#M794172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T10:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3315600#M794173</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;u can find here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checklist for simpe dialog program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a new program in the repository browser (Transaction SE80) . Name standard for dialog programs is SAPMZ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attributes window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Module pool = M&lt;/P&gt;&lt;P&gt;- Application = Z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a new screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a pushbutton to the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attributes screen for the pushbutton, enter a function code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the FctCode field ( In this example: 0020 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a screen, SAP automathic creates a field with the type OK. The function code of the psuhbutton will be placed here when you push the button. However you have to supply the name of the OK field ( In this example: OK_CODE ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must also create a global variable in the program, to store the value of the OK field ( See below ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create global variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Global variable to store OK code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok_code(4),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Temporary store the value of the OK code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;save_ok_code(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create code for the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE status_0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE user_command_0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0001 OUTPUT.&lt;/P&gt;&lt;P&gt;SET PF-STATUS '0001'.&lt;/P&gt;&lt;P&gt;SET TITLEBAR '001'.&lt;/P&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;Example of how deactivate a field on the screen&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ZCOSTAFSTM-ZAFSTEMNR is the name of the screen field we want to&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;deactivate.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;CHECK screen-name = 'ZCOSTAFSTM-ZAFSTEMNR'.&lt;/P&gt;&lt;P&gt;screen-input = '0'.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&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_0001 INPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Here you can catch when user pushes a pushbutton&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;Save the OK code in save_ok_code and clear it&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;save_ok_code = ok_code.&lt;/P&gt;&lt;P&gt;CLEAR ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE save_ok_code.&lt;/P&gt;&lt;P&gt;WHEN '0010'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Afstemninger&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.&lt;/P&gt;&lt;P&gt;PERFORM my_list.&lt;/P&gt;&lt;P&gt;WHEN '0020'.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ZCO1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'RETU'.&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN '0000'.&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;AT USER-COMMAND.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Here you can catch when the user psuh a button on the menu bar or presses a function key&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;WHEN 'OPRT'.&lt;/P&gt;&lt;P&gt;PERFORM something.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapcode.blogspot.com/search/label/Dialog%20Programs" target="test_blank"&gt;http://abapcode.blogspot.com/search/label/Dialog%20Programs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 10:00:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3315600#M794173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T10:00:59Z</dc:date>
    </item>
  </channel>
</rss>

