0% found this document useful (0 votes)
156 views2 pages

Events in Module Pool Programming: Components of Screen

Module pool programming is used to create custom SAP screens. The transaction code SE80 is used to create module pool programs, which must be executed with a transaction code. There are four events in module pool programming - PBO, PAI, POV, and POH - which trigger logic before and after screen output and input. Modularization in module pool programming automatically creates four include programs (_TOP, _O01, _I01, _F01) containing declarations, PBO, PAI, and form logic. A screen contains attributes, elements, flow logic, and layout areas. Flow logic contains logic modules for the PBO and PAI events. Modules are sub-programs containing ABAP code divided for

Uploaded by

Pankaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views2 pages

Events in Module Pool Programming: Components of Screen

Module pool programming is used to create custom SAP screens. The transaction code SE80 is used to create module pool programs, which must be executed with a transaction code. There are four events in module pool programming - PBO, PAI, POV, and POH - which trigger logic before and after screen output and input. Modularization in module pool programming automatically creates four include programs (_TOP, _O01, _I01, _F01) containing declarations, PBO, PAI, and form logic. A screen contains attributes, elements, flow logic, and layout areas. Flow logic contains logic modules for the PBO and PAI events. Modules are sub-programs containing ABAP code divided for

Uploaded by

Pankaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

It is a special type of programming which is used to create custom SAP screens.

Transaction code for creating module pool programs is SE80.

Every module pool program must be executed with a transaction (T-code).

Events in Module pool programming

There are four events available in module pool programming.

PBO (Process Before Output):Triggered before MPP screen is displayed.

PAI (Process After Input): Triggered after MPP screen is displayed whenever user raises an
action. Also,Now PBO is also triggered.

POV (Process On Value Request): Triggered when User Clicks on search help or F4 Button.

POH (Process On Help Request): Triggered when User Clicks on search help or F4 Button.

Modularization techniques in Module Pool

Basically there are four include programs which are created automatically for an MPP program.

_TOP "top include program ,All data declarations.


_O01 "PBO include program , All logic related to PBO event
_I01 "PAI include program , All logic related to PAI event
_F01 "Forms include program , All logic related to subroutines
SCREEN

It is a visible layout which is displayed in the output. The components of the Screen are
Components of Screen:

 Attributes : Properties of screen


 Element List : List of UI/Library elements
 Flow-Logic : Abap logic related to MPP
 Layout : Screen Designing Area

Flow Logic in module pool

It will contain the logic related to screen in the form of modules By default, 2 events will be
available with their corresponding modules as below: Just uncomment the modules and create
them and write the abap logic.

PROCESS BEFORE OUTPUT.


*MODULE STATUS_0100.
PROCESS AFTER INPUT.
*MODULE USER_COMMAND_0100.
MODULE:

 It is an sub-program which contains the ABAP code for a screen .


 Flow-Logic cannot understand ABAP statements. So the entire ABAP code is written in
the form of modules.
 Since the entire abap logic is divided in the form of modules, that is why it is called
MODULE POOL PROGRAMMING

You might also like