Show TOC Start of Content Area

Procedure documentationCreating a Message Class  Locate the document in its SAP Library structure

Use

You use this procedure to create new message classes in your program.

Procedure

...

       1.      In the initial statement (for example, REPORT) or directly in the statement MESSAGE-ID <id>, enter a parameter value of up to 20 characters as a message ID.

Example

REPORT STEST MESSAGE-ID smsgclass.

Caution

Messages are available system-wide and the ID of the message class must be unique.

       2.      Double-click the message ID.

The system asks you whether you want to create a new message class.

       3.      Choose Yes.

The Message maintenance screen appears.

       4.      On the Attributes tab page, in the Short text field, enter a short description of the class.

       5.      Choose This graphic is explained in the accompanying text with the quick info text Save.

Result

You can add messages to your class by choosing the Messages tab page. 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.

 

 

End of Content Area