调用函数来做返回提示框,不画屏
CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = '是否确定要取消这些独立计划。' "确定要删除吗? icon_button_1 = '是' icon_button_2 = '否' default_button = '2' display_cancel_button = 'X' start_column = 10 start_row = 6 IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2. CASE answer. WHEN '1'. PERFORM DOING_DATA. WHEN '2'. ROLLBACK WORK. WHEN OTHERS. ENDCASE.