Show TOC

Adding a Message to a Message ClassLocate this document in the navigation structure

Prerequisites

An appropriate message class to which you want to add a message must exist.

Context

You create or edit a short text that is going to be used by an application.

Procedure

  1. In the ABAP perspective, expand the corresponding package node.
  2. Double-click the Message Class level.
  3. In the menu bar of the editor, choose the New button or directly type the message number in the <Enter new value> field. NOTE: In order to continue a certain message number range, select the message with the message number that you want to continue. So, the editor creates the new massage with the following message number. If you don't select a message, the editor automatically continues with the next available message number.
  4. Enter the message number.
    Note Enter a unique 3-digit message number that is not already used in the corresponding message class.
  5. In the editor double-click in the Short Text field.
    Note If you edit an existing message, the whole message class is blocked for other users. The blockage is closed after saving your changes.
  6. Enter the message short text.NOTE: You can enter up to 73 digits, maximum.
  7. Specify for each message if it is Self Explanatory.
    Note Messages that are marked as self-explanatory need no further explanations. If this checkbox is not activated a long text has to be added.
  8. Save your entries.

Results

The system creates the message in the development object Message Classes and can be called in an ABAP program using the message statement. The message is stored in table T100 and can be displayed.