Module Programming
Module Programming
Overview
Introduction
Enter the Module Pool name in the Program name and Click
Create
This is similar to creating an ordinary report except that the
program type should be M ( Module Pool )
Define Module Pool
Define Module Pool
Components of program
Processing logic
Screens
Flow logic
Creating the screens
A module pool program can have more than One screen attached to it.
The type of screens are Normal, Sub screen, Dialog box ( flow logic )
Creating Screens
Flow logic
Flow Logic Events
Flow logic describes how the
program reacts to the user
interactions
Flow logic
PROCESS BEFORE OUTPUT.
MODULE init_request.
Processing logic
MODULE init_request OUTPUT.
SET PF-STATUS STA.
ENDMODULE.
Menu Painter
Flow logic
PROCESS AFTER INPUT.
MODULE user_command.
Processing logic
MODULE user_command INPUT.
CASE ok_code.
WHEN BACK.
LEAVE TO SCREEN 0.
.. ENDCASE
ENDMODULE
Ok_code