REPORT//MESSAGE
REPORT rep [list_options] [MESSAGE-ID mid] [DEFINING DATABASE ldb] [REDUCED FUNCTIONALITY].
定义程序默认的消息类... MESSAGE-ID mid
REPORT z_my_report MESSAGE-ID z_my_messages.
查看消息类的t-code...SE91
使用 【&】 作为占位符 最多四个
MESSAGE { msg | text } { { [DISPLAY LIKE dtype] [WITH dobj1 ... dobj4] } | { [DISPLAY LIKE dtype] [WITH dobj1 ... dobj4] RAISING exception } | { [WITH dobj1 ... dobj4] INTO text } }.
dtype 分为五种类型 : information message, status message, error message, warning, termination message, and exit message.