
You can output notifications using statement MESSAGE Tnnn(<Klasse>). or MESSAGE Tnnn(<Klasse>) WITH <Operand1> ... <Operand4>.
T is the of notification type ('E' = Error, 'I' = Information). If an error of type 'E' is triggered, the results of the planning function are not copied to the internal transaction data buffer.
nnn is a three-digit number.
Klasse is the message class.
Up to four operands can also be entered. Operands can either be variables or strings enclosed in apostrophes.
The messages are gathered and displayed after the function has been executed.
Rather than using the notifications delivered by SAP, we recommend creating a message class of your own for error messages. Note that you have to transport your message class from the test system to the production system.