SAP CONTEXT MESSAGE ABEXA

Get Example source ABAP code based on a different SAP table
  


ARTIClE

Contexts, message handling
The example illustrates how messages can be handled in contexts.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
First, the message handling is executed in the program which is achieved via the additon MESSAGES INTO of the statement DEMAND. The message is then available for further processing in the internal table itab. At the second DEMAND statement, the message handling is carried out by the system and the program cancels with an error message.