‎2009 Apr 10 9:44 AM
HI,
Is it possible to write an error message directly in the program without having to write it in SE93 and declaring that message number in the program?
‎2009 Apr 10 9:46 AM
‎2009 Apr 10 9:46 AM
‎2009 Apr 10 9:46 AM
hi,
yes its possible you can...
the code is as follows,
message 'Error message' type 'E'. " here you can give any type... I,E,A , S, X, W
" Error message is just a sample text you can give your own entries tooo.....regards,
Siddarth
‎2009 Apr 10 9:47 AM
Hi,
You can write it in se38 as:
MESSAGE 'Error Message Text' type 'E'.
or
MESSAGE E001.
Regards,
Nitin.
‎2009 Apr 10 9:49 AM
HI,
You can have the error message in the program direclty instead of declaring in SE91 (Message Class) not the SE93(Transaction Code).
MESSAGE 'Test' TYPE 'E'.
‎2009 Apr 10 9:49 AM
Hi,
MESSAGE text TYPE mtype.Valid message types are "A", "E", "I", "S", "W", and "X". These stand for termination message, error message, information message, status message, warning, and exit message.
Regards,
Ivan
‎2009 Apr 10 9:50 AM
Hi,
Check this lnik.
http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaae335c111d1829f0000e829fbfe/content.htm
Regards,
Omkaram.
‎2009 Apr 10 10:02 AM