Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error messgaes

Former Member
0 Likes
571

How many types of error messages are there and what is the difference between them?

4 REPLIES 4
Read only

paruchuri_nagesh
Active Contributor
0 Likes
515

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

Read only

former_member189629
Active Contributor
0 Likes
515

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

Read only

Former Member
0 Likes
515

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.

Read only

hymavathi_oruganti
Active Contributor
0 Likes
515

hi ramesh,

i think u have many doubts on basic things.

pls refer to the following link. this is abap 21 days link.

http://cma.zdnet.com/book/abap/index.htm