Open nangnangchuai opened 5 years ago
&--------------------------------------------------------------------- & Report ZPROGRAM_F0061 & &--------------------------------------------------------------------- & & &---------------------------------------------------------------------
REPORT ZPROGRAM_F0061. DATA OK_CODE LIKE SY-UCOMM. "定义exit按钮的funcode对应的数据变量" CALL SCREEN 2001. “调用一个屏幕,2001是设定的屏幕的号” &--------------------------------------------------------------------- & Module USER_COMMAND_2001 INPUT &---------------------------------------------------------------------*
text ---------------------------------------------------------------------- module USER_COMMAND_2001 input. CASE OK_CODE. WHEN 'EXIT'. MESSAGE 'EXIT' TYPE 'I'. LEAVE PROGRAM.“退出程序”
WHEN OTHERS.
ENDCASE.
endmodule. " USER_COMMAND_2001 INPUT
无论screen,还是主程序一定要更新
方法: