【ABAP系列】SAP 系统的消息类型分析 MESSAGE TYPE

公众号:matinal
本文作者:matinal
 

 

前言部分

大家可以关注我的公众号,公众号里的排版更好,阅读更舒适。

正文部分

关于系统的消息类型:

写MESSAGE一定要加上TYPE

那么消息类型有几种呢

message types: "A", "E", "I", "S", "W", or "X"

 One of the possible message types "A", "E", "I", "S", "W", or "X" must be specified 
 For messages displayed in a dialog box by default, the short text is still displayed as a dialog box. 
 Messages with the type "E" or "W" (except those for PBO and LOAD-OF-PROGRAM) are displayed as a dialog window if dtype contains "A" or "I". 
 Messages with the type "S" are always displayed in the status bar, regardless of the dtype. 
 The latter also applies to messages of the type "I" for PBO and LOAD-OF-PROGRAM. 
 Messages of the type "X" always cause a runtime error. 

按照上面的顺序分析一下
A:Abend   异常终止  终止当前操作
E:Error      错误          系统等待 新输入数据
I:  Infor       信息          处理回车之后  系统继续处理
S:Success成功          消息出现 在下一屏上
W:Warning警告         可以更改 输入数据或 通过按回车继续
X:EXIT       退出          退出操作  或返回上一层操作 通常是运行时错误

matinal

posted @ 2019-07-12 15:46  SAPmatinal  阅读(5090)  评论(0编辑  收藏  举报