SAP / SAP Beginner (0 to 2 yrs) Interview questions
What is a module pool program in ABAP?
A module pool program (traditionally used to build classical SAP GUI transaction screens, distinct from simple report output) is structured around interactive screens with defined flow logic — each screen has associated PBO (Process Before Output) and PAI (Process After Input) modules controlling what happens before a screen displays and after the user submits input on it.
flowchart LR
A[Screen triggered] --> B[PBO: prepare fields/data before display]
B --> C[Screen displayed to user]
C --> D[User submits input]
D --> E[PAI: validate/process the input]
E --> F{Navigate to another screen?}
F -->|Yes| A
This is the traditional way to build custom, multi-screen transactions in classical SAP development — more complex to set up than a simple report program, but necessary for interactive transactions where users navigate between multiple related screens, entering and validating data along the way.
More Related questions...