Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  User Dialogs →  Messages 

Behavior of Messages

When a message is sent using the statement MESSAGE, it must be classified with a one-character message type. The message type defines how the message is displayed and determines the subsequent program flow. Valid message types are "A", "E", "I", "S", "W", and "X". These stand for termination (abort) message, error message, information message, status message, warning, and exit message.

The system behavior after a message of a particular type is sent is context-dependent:

Other versions: 7.31 | 7.40 | 7.54


Notes

  • Messages are mainly intended for use in dialog processing, for the PAI event. Here, messages of type "E" and "W" permit an error dialog to be used in connection with the statement FIELD of the dynpro structure logic. Therefore messages of type "E" or "W", in particular, should never be used in other contexts.

  • In list processing, warnings are always turned into error messages before being processed further, regardless of any other context.

  • Assertions can be used as an alternative to generating runtime errors with messages of type "X".

Continue

Messages in List Processing

Messages in Dialog Processing

Messages in control processing

Messages in batch input

Messages in Background Processing

Messages in Updates

Messages in conversion routines

Messages in Procedures

Messages in RFC Processing

Messages in ICF Servers