SAP MODULARIZATION UNIT GDL
Get Example source ABAP code based on a different SAP table
Modularization Units
The key modularization units or callable units within an ABAP program are referred to as processing blocks. In this context, procedures on one side are distinguished from dialog modules and event blocks on the other side. While dialog modules and event blocks are called from the dynpro flow logic or from the event processing of the ABAP runtime framework, procedures are designed for direct calls from an ABAP program. In addition to processing blocks, macros can also be created as callable units.
Procedures can be:
Only procedures support parameter interfaces and have a local data context.
Dialog modules and event blocks do not have parameter interfaces and generally do not have a local data context.
Macros are a kind of halfway house between callable units and source code modularization.