
DEFINE _popup_to_confirm.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
text_question = &1
text_button_1 = 'Yes'(001)
text_button_2 = 'No'(002)
display_cancel_button = 'X'
IMPORTING
answer = &2
EXCEPTIONS
text_not_found = 1
OTHERS = 2.
END-OF-DEFINITION.
필요한 로직에서 아래와 같이 사용하면 Popup 창이 뜬다
_popup_to_confirm '입고등록' '입고등록하시겠습니까?' lv_answer.
