This chapter explains modularization techniques in ABAP:
ABAP Objects
Subroutines and Function Modules