设中国护士网为首页 | 中国护士网专注于知识的分享,因为专注,所以更好!
分享到:

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