form zform_show_save using z_cancle type
flag.
data:l_answer.
*调用对话框函数
call function
'POPUP_TO_CONFIRM_STEP'
exporting
titel
= '保存'
textline1 =
'是否确定保存数据'
*
cancel_display = space
"不显示CANCEL按钮
importing
answer
= l_answer.
if l_answer = 'J'.
" 退出程序
z_cancle = space.
else.
z_cancle = 'X'.
endif.
endform.