Program modules Explains program structure basics. Structure of a programThe structure of a program consists of MAIN and FUNCTION blocks defined in several modules.Structure of a moduleA module defines a set of program elements such as functions, report routines, types, constants and variables.The MAIN block / functionThe MAIN block is the starting point of the program.