- SAP ABAP Reports
- Report Types and Events
- Message Class
- Example of Classical Report
- Example of Interactive Report
- Example of ALV Report
- Example of Blocked ALV Report
- Example of Hierarchical Report
- Module Pool Programming
- Screen Painter Components
- Events in Flow Logic Editor
- Screen Elements and Creation Steps
- Working with Validations
- Database Operations
- OO Programming in ABAP
- Types of Programming Structure
- Key Features of OO Programming
- Classes and Objects
- Types of Visibility Section
- Class Defination and Implementation
- Object Creation for Class
- Method Declaration and Implementation
- Types of Component Class
- Global Class and implement GLOBAL methods
- OOP's ALV
- OOP's BDC
24MPP1908 – Module Pool Programming
What is Module Pool Programming and its use?
A module pool can contain all possible declarative statements. All processing blocks are supported except for reporting event blocks and function modules. The module pool supports classic dynpros and selection screens. It can be executed using transaction codes. Module pools are created using ABAP Editor. It is also known as dialog programming. It is a method use in SAP ABAP to create custom SAP application using GUI (Graphical User Interface). It is a special type of programming that creates custom SAP screen based on business requirements.
Tcode:
SE80 : ABAP Development Workbench
SE51 : Screen Painter
SE41 : Menu Painter
SE38 : ABAP Editor
SE93 : TCODE Creation
Key Concepts of MPP:
- Transaction Code: MPP programs are executed using transaction codes, typically starting with ‘Z’ or ‘Y’.
- Screen Painter: A tool used to design the user interface.
- Events:
- Process Before Output (PBO): Triggered before the screen is displayed.
- Process After Input (PAI): Triggered after user input is processed.
- Process On Value Request (POVR): Triggered for F4 help.
- Process On Help Request (POHR): Triggered for F1 help.
Basic Syntax:
- Create a Module Pool Program:
- Define Screens: CALL SCREEN 100.
- Screen Layout: Use the Screen Painter (transaction SE51) to design the screen layout.
- Flow Logic:
PROCESS BEFORE OUTPUT.
MODULE status_0100.
PROCESS AFTER INPUT.
MODULE user_command_0100.
Modules: MODULE status_0100 OUTPUT.
” Code to set screen status
ENDMODULE.
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN ‘SAVE’.
” Code to handle save action
WHEN ‘EXIT’.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE.
- Enter title and type-> module pool then click on Save.
- It will ask you to save program in package or an local object.
- If you have to save program in package then enter package name and click on save. If you have to save program in local object then directly click on local object button.
- Click on object list icon then abap workbench is open.
- Save check and activate it.
- Follow above steps to create MPP program.
Author : Aniket Pawar, 9373518385
24MPP1908 – Module Pool Programming
What is Module Pool Programming and its use?
A module pool can contain all possible declarative statements. All processing blocks are supported except for reporting event blocks and function modules. The module pool supports classic dynpros and selection screens. It can be executed using transaction codes. Module pools are created using ABAP Editor. It is also known as dialog programming. It is a method use in SAP ABAP to create custom SAP application using GUI (Graphical User Interface). It is a special type of programming that creates custom SAP screen based on business requirements.
Tcode:
SE80 : ABAP Development Workbench
SE51 : Screen Painter
SE41 : Menu Painter
SE38 : ABAP Editor
SE93 : TCODE Creation
Key Concepts of MPP:
- Transaction Code: MPP programs are executed using transaction codes, typically starting with ‘Z’ or ‘Y’.
- Screen Painter: A tool used to design the user interface.
- Events:
- Process Before Output (PBO): Triggered before the screen is displayed.
- Process After Input (PAI): Triggered after user input is processed.
- Process On Value Request (POVR): Triggered for F4 help.
- Process On Help Request (POHR): Triggered for F1 help.
Basic Syntax:
- Create a Module Pool Program:
- Define Screens: CALL SCREEN 100.
- Screen Layout: Use the Screen Painter (transaction SE51) to design the screen layout.
- Flow Logic:
PROCESS BEFORE OUTPUT.
MODULE status_0100.
PROCESS AFTER INPUT.
MODULE user_command_0100.
Modules: MODULE status_0100 OUTPUT.
” Code to set screen status
ENDMODULE.
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN ‘SAVE’.
” Code to handle save action
WHEN ‘EXIT’.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE.
- Enter title and type-> module pool then click on Save.
- It will ask you to save program in package or an local object.
- If you have to save program in package then enter package name and click on save. If you have to save program in local object then directly click on local object button.
- Click on object list icon then abap workbench is open.
- Save check and activate it.
- Follow above steps to create MPP program.
Author : Aniket Pawar, 9373518385