Show TOC

Adding a Long Text to a MessageLocate this document in the navigation structure

Prerequisites

A message of an appropriate valid message class must exist in a program.

Context

If you need to display a message with more than 73 digits, enter a long text for the message.

Note Long text can be added to every message which is not marked as self-explanatory. If you add long text to a message, the editor will automatically deactivate the checkbox.

Procedure

  1. In the ABAP perspective, expand the corresponding package node.
  2. Double-click the Message Class level.
  3. Select the message to which you want to add a long text.
    Note You can only add a long text to a message, if the message is not marked as Self Explanatory.
  4. [Optional] Deactivate the checkbox Self Explanatory.
  5. Choose button Long Text in the message class editor.
    A SAP GUI will be opened where you can add a long text to the message.
  6. Enter the long text in the SAP GUI editor by adding the text for the corresponding information level.

    You can enter the following information levels, for example:

    • Cause: Reason why the problem occurred.
    • System Response: Details about the result of attempts made by the system to succeed.
    • What to do: Procedure for next steps, to be performed by the user.
    • Sys Admin: Procedure for next steps, to be performed by the system administrator.
    Display of the Workbench editor where you add a long text to a message
    Figure 1: Display of the Workbench editor where you add a long text to a message
  7. Save the entries.
  8. Activate the message class.

Results

The entered text will be saved in the master language of the ABAP project.

Note All messages which have been created or changed will be locked until they are saved. So, no other user can edit them until they are saved.