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

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

Former Member
0 Likes
533

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
Read only

naimesh_patel
Active Contributor
0 Likes
476

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
Read only

naimesh_patel
Active Contributor
0 Likes
477

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

Read only

0 Likes
476

Thank you!