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/12/23 23:37:12
abap里面的ATUSER-COMMAND事件到底怎么用啊.SELECTION-SCREENPUSHBUTTON/1(20)PUBU1USER-COMMANDABCD.SELECTION-SCREEN

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事件.