Application Development 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: 

MESSAGE lv_errmsg TYPE 'E' vs. MESSAGE lv_errmsg TYPE 'E' DISPLAY LIKE 'I'.

Former Member
0 Kudos

Hello!

What is the difference between these two statements?

MESSAGE lv_errmsg TYPE 'E' 

MESSAGE lv_errmsg TYPE 'E' DISPLAY LIKE 'I'.

1 ACCEPTED SOLUTION

naimesh_patel
Active Contributor
0 Kudos

MESSAGE lv_errmsg TYPE 'E' DISPLAY LIKE 'I'. 

will generate the Information type of message. This will not display the Red message in the status bar. It will give the Popup.


MESSAGE lv_errmsg TYPE 'E' .

Will generate the normal error message.

But, both message will not execute any statement after that.

Regards,

Naimesh Patel

2 REPLIES 2

naimesh_patel
Active Contributor
0 Kudos

MESSAGE lv_errmsg TYPE 'E' DISPLAY LIKE 'I'. 

will generate the Information type of message. This will not display the Red message in the status bar. It will give the Popup.


MESSAGE lv_errmsg TYPE 'E' .

Will generate the normal error message.

But, both message will not execute any statement after that.

Regards,

Naimesh Patel

0 Kudos

Thank you!