abap中user-command什么意思?

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/28 04:59:26

abap中user-command什么意思?

user-command 中主要实现事件 比如双击事件 回车事件触发的动作 如:
form usercommand using r_ucomm like sy-ucomm
rs_selfield type slis_selfield.
if r_ucomm = '&IC1'. ------------双击事件
if rs_selfield-value = 'other'.
perform pl_information using rs_selfield.
endif.
endif.
endform.