【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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM