Show TOC Start of Content Area

Procedure documentationAdding a Message  Locate the document in its SAP Library structure

Use

You use this procedure to add new messages to an existing message class.

Prerequisites

A valid message class must exist in the ABAP program.

Procedure

...

       1.      Choose Goto ® Messages.

The system displays a list of all messages belonging to the message class.

       2.      On the application toolbar, choose Next free number.

       3.      Choose This graphic is explained in the accompanying text Selected entries.

The next free line is ready for input.

Caution

If you choose This graphic is explained in the accompanying text with the quick info text Display <-> Change, all lines are ready for input. Thus the system locks all messages of the message class and other users cannot change or add a message in this message class.

       4.      Enter the text for the message.

       5.      If the text is self-explanatory, choose the corresponding checkbox in the Self-explanat'y column. If not, in the application toolbar, choose the Long text pushbutton and add a description of the message.

For more information, see Creating message long texts.

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

Note

Every message has a message type. The message type determines in the MESSAGE statement the representation of the output and the remaining program flow. The following message types are available:

·         information message

·         status message

·         error message

·         warning

·         termination message

·         exit message.

For more information about these types, see Message Processing.

End of Content Area