728x90
반응형
DATA : GV_ANSWER TYPE C.
CLEAR GV_ANSWER.
PERFORM CONFIRM_POPUP USING '저장 여부 확인'
'선택된 데이터를 저장하시겠습니까?'
SPACE
SPACE
CHANGING GV_ANSWER.
FORM CONFIRM_POPUP USING P_TITLE P_TEXT P_CANC P_TYPE
CHANGING P_ANSWER.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = P_TITLE
TEXT_QUESTION = P_TEXT
TEXT_BUTTON_1 = '예'
ICON_BUTTON_1 = ' '
TEXT_BUTTON_2 = '아니오'
ICON_BUTTON_2 = ' '
DEFAULT_BUTTON = '2'
DISPLAY_CANCEL_BUTTON = P_CANC
START_COLUMN = 25
START_ROW = 6
POPUP_TYPE = P_TYPE
IMPORTING
ANSWER = P_ANSWER
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
ENDFORM.
728x90
반응형
'ABAP' 카테고리의 다른 글
Dynamic table test (2) | 2023.02.24 |
---|---|
강제로 PBO PAI 태우기 (0) | 2023.02.24 |
ALV All select (0) | 2023.02.24 |
ALV Fieldcatalog Using Field-symbol (0) | 2023.02.21 |
ALV 체크박스 클릭시 Cell edit (1) | 2023.02.21 |
댓글