SUBMIT的用法

form frm_handle_user_command using u_ucomm like sy-ucomm
                                   selfield type slis_selfield.
case u_ucomm.
****  双击事件
when '&IC1'.
read table itab index selfield-tabindex.
if selfield-fieldname = 'EBELN'.
set parameter id 'BES' field itab-ebeln.
call transaction 'ME23N'. " AND SKIP FIRST SCREEN .
endif.
if selfield-fieldname = 'QS'.
submit zqm001
with s_ebeln = itab-ebeln
with s_matnr = itab-matnr
and return.
endif.
endcase.
endform. " FRM_HANDLE_USER_COMMAND

posted on 2011-05-11 16:21  Edison-技术  阅读(495)  评论(0编辑  收藏  举报

导航