SAP Message Class is a like container which holds messages. Messages maintained in the message class are available to all programs.
Messages are used to inform the user about the runtime state of the program.
SUM is the control break processing statement used to calculate totals and subtotals.
Data can be read from an internal table using the following 2 statements.