ERP Database - The Unofficial ERP Knowledge Base

Facebook Twitter del.icio.us Digg it
ERP Database contains a huge collection of articles related to ERP System and Software. Many of the articles are specifically related to SAP. All these ERP/SAP articles are freely available to everyone.

If you would like to submit an article or share any document related to ERP or any specific ERP software. Please mail it to support@erpdb.info. Please make sure that the documents are not copyrighted.
Social Bookmarks:

Dialog Programming / Module Pool

Print This Post Email This Post Written by admin on Aug 8th, 2008 | Filed under: ABAP

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.

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 around with 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’.

Step loops – This helps in displaying tabular data on the screen,

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

Share

If you like this post, you may as well like these too:

  1. Module Pool Execution Flow Module pools are executed in a very different manner than executable programs. Executing a module pool does not start a process in the runtime environment that sends events to the...
  2. ABAP Programs:Sample dialog program (flight reservation) * This program source contains all modules and subroutines of the * flight reservation program, but screen and GUI status definitions * are not included. *&———————————————————————* *&———————————————————————* *& Include MSABBTOP...



Leave a Reply