- Modularization techniques like macros, includes, subroutines, and function modules are used in ABAP to avoid repetitive coding and improve code reusability, readability, and structure.
- Includes, subroutines, and function modules allow code to be organized and reused. Includes contain reusable code that can be embedded in main programs. Subroutines are blocks of code that can be called internally or externally.
- Parameters can be passed to subroutines by reference, value, or value and result. This determines if the actual parameter value is changed in the calling program. Internal tables can also be passed to subroutines.