
Creating Message Classes
Procedure
To create a new message class from the ABAP Editor:
REPORT <name> MESSAGE-ID <message class>.
Messages are stored system-wide. The chosen message ID (message class) must not already exist in the system.
If you enter an ID that already exists in the system, the system calls up Message maintenance. In this case, enter a different ID. Once you have done this, the system asks you whether you want to create a new message class.
The system calls up Message maintenance.
Result
You can add messages to your class by choosing the Messages tab. You can always return to the Message maintenance screen by double-clicking a message ID or a message number where it appears in your code.
See also
Add message.