Beruflich Dokumente
Kultur Dokumente
Introduction to MPP
• A module pool is a collection of screens, flow logic, menu bars and ABAP code
that when linked together build an application.
• Through MPP there is a two way communication with the database.
• Typically the transaction code that calls the application will refer to the module
pool and the initial screen number.
• These are the type M programs in SAP.
• Also referred to as Dialog Programs as they cannot be executed in background.
Flow Logic
• Process Before Output After it has processed all of the modules in the PBO
processing block, the system copies the contents of the fields in the ABAP work
area to their corresponding fields in the screen work.
• Process After Input(PAI) Before it processes the first module in the PAI
processing block, the system copies the contents of the fields in the screen work
area to their corresponding fields in the ABAP work area.
• Process on help request (POH) It is processed when F1 key is pressed. It is
used to provide the documentation help to the user.
• Process on value request (POV) It is processed when F4 key is pressed. It is
used to provide the value input help to the user for entering data on screen.
GUI Status
• Each screen has a GUI status. This controls the menu bars, standard toolbar, and
application toolbar, with which the user can choose functions in the application.
Like screens, GUI statuses are independent components of an ABAP program.
You create them in the ABAP Workbench using the Menu Painter(SE41) .
http://learnabaponline.blogspot.com.br/2013/08/module-pool-programming.html
First Module Pool Program in SAP
In the below example we will create a simple Module Pool Program to display
hello world.
Click on Layout ( toolbar button), it will open Module Pool layout designer (If you
are using it first time it might take some time...If you failed to open layout it might
be due to some missing configuration, at that time contact basis/admin).
The layout will be like below, drag and drop Text Field element on to screen area.
https://www.sapnuts.com/courses/core-abap/module-pool/first-module-pool-
program.html
Table Control using Wizard in Module
Pool Programming
Pre-requisites:
The readers must be able to create a module pool program and they should be familiar with screen
programming.
Introduction:
Table control with wizard is the control provided by SAP, in which the users are not needed to code
separately for table control operations. It generates automatically system generated code for the following
table control operations.
1.Insertion
2.Deletion
3.Scrolling
4.First
5.Last
6.Next
7.Previous
8.Select
9.Select all
10.Deselect
11.Deselect all
Step 1: Create an internal table
and work area, which we are going
to deploy in table control.
http://www.saptechnical.com/Tutorials/ABAP/TableControl/Index.htm
http://www.saptechnical.com/Tutorials/ABAP/image/screen.htm