CHECK_37 - Define message texts in SE91
Improve this page
CODE
Do not code message texts as part of programs/classes, instead define the message in transaction SE91.
http://www.saphub.com/abap-tutorial/messages-in-abap/
Message based exceptions, method get_text( )
If using the get_text( ) method along with message,
MESSAGE lo_cx->get_text( ) TYPE 'S'.
the message will not show up properly, use the exception directly instead
MESSAGE lo_cx TYPE 'S'.