回傳一個資訊給USER詢問是否要再向下執行
這時我們可以拋出一個視窗給USER決定與選擇
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = '確認視窗'
TEXT_QUESTION = '確認是否執行'
START_COLUMN = 25
START_ROW = 6
IMPORTING
ANSWER = L_IO
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2
.
IF L_IO = '1'.
PERFORM TRANSFER_DATA.
ENDIF.
IF L_IO = '2'.
MESSAGE S001(00) WITH '已終止傳送...'.
ENDIF.
沒有留言:
張貼留言