Module Pool Programming Part 1 1708624224
Module Pool Programming Part 1 1708624224
Programming: Creating
Interactive Applications in SAP
Environment
It is also called as dialog Programming.
2. Flow Logic: Each screen in a module pool program has associated flow logic,
which determines the sequence of events and actions that occur when the
screen is displayed and interacted with by the user. The flow logic consists of
various events that are triggered during the lifecycle of the screen, such as
Process Before Output (PBO), Process After Input (PAI), and Process On Value
Request (POV). Developers write ABAP code to implement the logic for these
events, including data retrieval, validation, processing user input, and
navigation between screens.
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 1
3. Data Handling: Module pool programs often involve working with data stored
in the SAP system. Developers write ABAP code to retrieve data from the
database, display it on the screens, allow users to modify it, and save changes
back to the database. Data handling in module pool programming includes
tasks such as reading and writing data from and to database tables,
performing calculations, and displaying dynamic content on the screens.
5. Integration: Module pool programs can integrate with other SAP modules and
functionalities, allowing for seamless communication and data exchange
between different parts of the SAP system. Developers can call function
modules, BAPIs (Business Application Programming Interfaces), and other
ABAP objects to perform specific tasks or access data from external systems.
Module pool programming is a powerful tool for creating custom applications and
extensions within the SAP environment, allowing organizations to tailor their SAP
systems to meet specific business requirements and improve user productivity.
Requirements :-
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 2
We will create two screens 100 and 200, We will navigate to 200
screen from 100 screen and vice versa :-
Steps :-
i) Create a module pool program from ABAP editor,
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 3
Note :-
Every screen has three parts :-
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 4
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 5
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 6
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 7
vi) Repeat the above steps for ‘0200’ screen also.
iv) POH ( Process on Help Request ) :- This event called when we click F1(
Technical information ) on a field of screen.
F4 Help :-
→It tells us what are the various possible values for any input field.
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 8
F1 Help :-
→ It gives us the technical information of any field/column.
→ Function Keys
→ Title Bar
→ Application Toolbar
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 9
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 10
Click on save and now you can use this transaction code and navigate
between both the screens.
Mastering SAP Module Pool Programming: Creating Interactive Applications in SAP Environment 11