ABAP Message Classes/MESSAGE keyword Message without Predefined Message Class


PROGRAM zprogram.
MESSAGE i050(sabapdemos).

It may be inconvenient to define a message class for the entire program, so it is possible to define the message class that the message comes from in the MESSAGE statement itself. This example will display message 050 from the message class sabapdemos.