SAP Messages, Messages are various types in ABAP, and these Messages are used in ABAP Programming for showing / displaying different types of messages like Error,Warning,Status etc.. in custom applications developed by the ABAP Programmers. Here we are going to give a brief idea about SAP ABAP Messages. Click on read more to read this post.
SAP-ABAP-Message-Types
SAP Messages, Messages are various types in ABAP, and these Messages are used in ABAP Programming for showing / displaying different types of messages like Error,Warning,Status etc.. in custom applications developed by the ABAP Programmers. Here we are going to give a brief idea about SAP ABAP Messages.
•FOUND IN TABLE T100
•TRANSACTION CODE FOR CREATING MESSAGES
IS: SE91
•ALL MESSAGES ARE STORED IN A MESSAGE ID.
•SHOULD INCLUDE MESSAGE- ID IN THE PROGRAM
BEFORE USING THE MESSAGES.
Syntax
•REPORT
<rep> MESSAGE-ID <id>.
•MESSAGE
<c><num> [WITH <f1> ... <f4>].
•MESSAGE
ID <id> TYPE <c> NUMBER <num> [WITH <f1> ...
<f4>].
Message
Types
A
message can have six different types.
•A(=Abend).
•X(=Exit)
•E
(=Error)
•W
(=Warning)
•I
(=Information)
•S
(=Status)
A(= Abend)
•The
system displays a message of this message type in a dialog window.
After the user confirms the message using
ENTER, the system terminates the entire transaction (for example SE38).
X ( =
EXIT )
•The
system displays a message of this message type in a dialog window.
After the user confirms the message using
ENTER, the system terminates the entire transaction (for example SE38) with a
short dump (run time error report).
E (=Error)
and W (=Warning)
The
system displays a message of this message type in the status line.
After the user chooses ENTER, the system acts
as follows:
- While creating the basic list, the system
terminates the report.
- While creating a secondary list, the system
terminates the corresponding processing block and keeps displaying the previous
list level.
I (=Information)
The
system displays a message of this message type in a dialog window.
After the user chooses ENTER, the system
resumes processing at the current program position.
S (=Status)
•The
system displays a message of this message type on the output screen in the
status line of the currently created list.
Ampersand
characters '&' serve as placeholders within a message.
If you use the WITH option, the system
replaces the placeholders '&' in the message one after the other with the
contents of the fields <fi>.
"You found the information helpful and want to say thanks? Your donation is enough to inspire us to do more. Thanks a bunch!"
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.