Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Hello!

What is the difference between these two statements?

MESSAGE lv_errmsg TYPE 'E' 

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

Tags:
replied
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 View this answer in context
Not what you were looking for? View more on this topic or Ask a question