‎2007 Sep 21 8:36 AM
How many types of error messages are there and what is the difference between them?
‎2007 Sep 21 8:42 AM
hi
types of message
When you send a message using 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"termination message terminate process immidiatly controler comes out of the program maens sap initial screen.
"E"error message cotrol remains in selection screen untill user enter correct data
"I"information message
"S"status message
"W"warning,
and "X". exit message leads to short dump.
reward for use ful points
reagards
Nagesh.Paruchuri
‎2007 Sep 21 8:43 AM
Hi Ramesh,
The message class and number are used to identify the message in table T100. The message type is one of A, E, I, S, W, or X, and defines how the ABAP runtime should process the message.
Messages can either be displayed in modal dialog boxes, or in the status bar of the screen. How a message is processed depends on its type and on the context in which the message is sent.
A-->Termination Message
The message appears in a dialog box, and the program terminates. When the user has confirmed the message, control returns to the next-highest area menu.
E-->Error Message
Depending on the program context, an error dialog appears or the program terminates.
I-->Information
The message appears in a dialog box. Once the user has confirmed the message, the program continues immediately after the MESSAGE statement.
S-->Status Message
The program continues normally after the MESSAGE statement, and the message is displayed in the status bar of the next screen.
W-->Warning
Depending on the program context, an error dialog appears or the program terminates.
X-->Exit
No message is displayed, and the program terminates with a short dump. Program terminations with a short dump normally only occur when a runtime error occurs. Message type X allows you to force a program termination. The short dump contains the message ID.
CHECK OUT HELP DOCUMENTATION ON MESSAGES OR SIMPLY PRESS F1 on the keywork MESSAGE from ABAP Editor for more info..
reward if helpful,
K
‎2007 Sep 21 8:43 AM
Hi Ramesh,
There are six types of Error messages in SAP and they are:
A
Termination
The message appears in a dialog box, and the program terminates. When the user has confirmed the message, control returns to the next-highest area menu.
E
Error
Depending on the program context, an error dialog appears or the program terminates.
I
Information
The message appears in a dialog box. Once the user has confirmed the message, the program continues immediately after the MESSAGE statement.
S
Status
The program continues normally after the MESSAGE statement, and the message is displayed in the status bar of the next screen.
W
Warning
Depending on the program context, an error dialog appears or the program terminates.
X
Exit
No message is displayed, and the program terminates with a short dump. Program terminations with a short dump normally only occur when a runtime error occurs. Message type X allows you to force a program termination. The short dump contains the message ID.
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari.
‎2007 Sep 21 9:18 AM
hi ramesh,
i think u have many doubts on basic things.
pls refer to the following link. this is abap 21 days link.