MESSAGE CLASS and its TYPES in SAP ABAP
MESSAGE CLASS:
MESSAGE CLASS:- Its is a collection of messages. Each message class can hold 1000 messages. (000 to 999). So tcode for the creation of a message class is SE91.
5 types of messages available in SAP:
1. Error Message (E).
2. Warning Message (W).
3. Information Message (I).
4. Success Message (S).
5. Abend Message (A).
When a message is created in a message class can be used as any of the above 5 types. So whatever the letter I have given in the brackets after each type of message should be used to specify the system about which type message you are going to raise.
Error Message temporarily halts the program. This means once the errors are corrected the control moves forward. But the Abend message completely terminates the program.
Information & Success messages give the message & move forward. They won’t stop the control.
Warning message also temporarily terminates the program.
Whenever you go for the validations better you use Error message.
Comments
Post a Comment
If you have any doubts let me know