abap里面的AT USER-COMMAND事件到底怎么用啊.SELECTION-SCREEN PUSHBUTTON /1(20) PUBU1 USER-COMMAND ABCD.SELECTION-SCREEN SKIP.SELECTION-SCREEN PUSHBUTTON /1(20) PUBU2 USER-COMMAND ABCE.AT USER-COMMAND.CASE sy-ucomm.WHEN 'ABCD'.MESSAGE I005(Ms
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/05 11:41:55
abap里面的AT USER-COMMAND事件到底怎么用啊.SELECTION-SCREEN PUSHBUTTON /1(20) PUBU1 USER-COMMAND ABCD.SELECTION-SCREEN SKIP.SELECTION-SCREEN PUSHBUTTON /1(20) PUBU2 USER-COMMAND ABCE.AT USER-COMMAND.CASE sy-ucomm.WHEN 'ABCD'.MESSAGE I005(Ms
abap里面的AT USER-COMMAND事件到底怎么用啊.
SELECTION-SCREEN PUSHBUTTON /1(20) PUBU1 USER-COMMAND ABCD.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN PUSHBUTTON /1(20) PUBU2 USER-COMMAND ABCE.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'ABCD'.
MESSAGE I005(MsgClass) WITH '111'.
WHEN 'ABCE'.
MESSAGE I005(MsgClass) WITH '222'.
WHEN OTHERS.
MESSAGE I005(MsgClass) WITH '333'.
ENDCASE.
上面两个按钮怎么点都没反应啊,上面的代码怎么改一下可以执行CASE和WHEN里面的语句?
abap里面的AT USER-COMMAND事件到底怎么用啊.SELECTION-SCREEN PUSHBUTTON /1(20) PUBU1 USER-COMMAND ABCD.SELECTION-SCREEN SKIP.SELECTION-SCREEN PUSHBUTTON /1(20) PUBU2 USER-COMMAND ABCE.AT USER-COMMAND.CASE sy-ucomm.WHEN 'ABCD'.MESSAGE I005(Ms
把AT USER-COMMAND.换成AT SELECTION-SCREEN .
AT SELECTION-SCREEN .是选择屏幕的PAI事件.