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 Message

Former Member
0 Likes
1,041

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
812

hi,

yes,

syn:

message 'This is test' type 'E'.

Regards,

R K.

7 REPLIES 7
Read only

Former Member
0 Likes
813

hi,

yes,

syn:

message 'This is test' type 'E'.

Regards,

R K.

Read only

Former Member
0 Likes
812

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

Read only

Former Member
0 Likes
812

Hi,

You can write it in se38 as:

MESSAGE 'Error Message Text' type 'E'.

or

MESSAGE E001.

Regards,

Nitin.

Read only

Former Member
0 Likes
812

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'.

Read only

_IvanFemia_
Active Contributor
0 Likes
812

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

Read only

Former Member
Read only

Former Member
0 Likes
812

Thanks a lot