程序回执message信息的定义
作者:互联网
SAP通过Message来回执程序的执行状态。使用T-CODE:SE91对Message定义,还能够对Message进行创建,修改及删除等维护操作。
(1)首先设置消息类:
SELECTION-SCREEN BEGIN OF BLOCK MYBLOCK WITH FRAME.
PARAMETERS:p_length TYPE I LENGTH 5 ," VISIBLE LENGTH 5
p_width TYPE I VISIBLE LENGTH 5.
SELECTION-SCREEN END OF BLOCK MYBLOCK.
IF p_length IS NOT INITIAL. "如果不為空
DATA area TYPE I.
area = p_length * p_width.
MESSAGE A000(ZFICLZ) WITH p_length p_width area. "调用自定义MESSAGE,采用A程序终止类型
ENDIF.
标签:定义,area,length,width,LENGTH,message,TYPE,Message,回执 来源: https://www.cnblogs.com/moqi222/p/11727315.html