121937081 What is Module Pool Program in Abap

2
What is module pool program in abap? Question What is module pool program in abap? Answer Module pool programs are created in abap development work bench (TCODE: SE80). Here we can do all the works whatever you can do in abap. Module pool programs are also called dialog programs. The module Pool are reports prepared for different screens and to manage the sequence of events of these screens, in the transaction SE80 you can see all the dynpros that you have for this kind of report, add ne w ones, add all types of element to the report. Process Before Output is the part of the dynpro code that is processed before the user can do anything with the data in the screen Process After Input is the part of the dynpro code that is processed after the interaction with the user. module pool programs are excuted using Tcodes http://help.sap.com/saphelp_wp/helpdata/en/10/e7dbde82ba11d295a40000e8353423/fra meset.htm Dialog Programming / Module Pool A Module Pool also called as Dialog Program is a ABAP Program of type “M” that requires at least one transaction code in order to be executed. The transaction code usually starts a screen and it’s associated flow logic. Events in Dialog Programming Process Before Output – Actions taken before displaying the output. Process After Input – Actions taken after you input the data or carry some action on the screen.

Transcript of 121937081 What is Module Pool Program in Abap

7/28/2019 121937081 What is Module Pool Program in Abap

http://slidepdf.com/reader/full/121937081-what-is-module-pool-program-in-abap 1/2

7/28/2019 121937081 What is Module Pool Program in Abap

http://slidepdf.com/reader/full/121937081-what-is-module-pool-program-in-abap 2/2

Things you need to know in Dialog Programming

Status Icons - Used in screens to indicate visually about the status of the program. It’s a

type of screen element and use the function module ‘ICON_CREATE’ to play aroundwith it.

Context menu – Content Menu can be created statiscally using SE41 or dynamically

using the class CL_CTMENU.

Screen keywords – Here are some screen keywords which you need to understand.

PROCESS,MODULE,FIELD,ON,LOOP,ENDLOOP,CHAIN,ENDCHAIN,CALL.

MODULE <name> at EXIT-COMMAND – This module is called when the user 

 presses BACK, EXIT or CANCEL.

GUI Status and Title – Check the syntax for SET PF-STATUS and SET TITLEBAR 

‘XXXX’.

Table Control – Declare a control variable of type TABLEVIEW using controlstatements in the program and use the LOOP … ENDLOOP statement.