CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = 'Hellow '
diagnose_object = 'ZCP_TEST'
text_question = '是否选择删除?'
text_button_1 = '要得'
* ICON_BUTTON_1 = ' '
text_button_2 = '不干'
* ICON_BUTTON_2 = ' '
default_button = '1'
display_cancel_button = ' ' "是否显示“取消”按钮,默认为“X”显示
userdefined_f1_help = 'ZCP_TEST' "可增加information图标
* START_COLUMN = 25
* START_ROW = 6
* popup_type = "问句旁边的图标
* IMPORTING
* ANSWER = "用户回答后的返回值 '1' left pushbutton '2' next pushbutton 'A' 'Cancel' pushbutton
* TABLES
* PARAMETER =
* EXCEPTIONS
* TEXT_NOT_FOUND = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/zsf8848/archive/2008/12/15/3520997.aspx
EXPORTING
titlebar = 'Hellow '
diagnose_object = 'ZCP_TEST'
text_question = '是否选择删除?'
text_button_1 = '要得'
* ICON_BUTTON_1 = ' '
text_button_2 = '不干'
* ICON_BUTTON_2 = ' '
default_button = '1'
display_cancel_button = ' ' "是否显示“取消”按钮,默认为“X”显示
userdefined_f1_help = 'ZCP_TEST' "可增加information图标
* START_COLUMN = 25
* START_ROW = 6
* popup_type = "问句旁边的图标
* IMPORTING
* ANSWER = "用户回答后的返回值 '1' left pushbutton '2' next pushbutton 'A' 'Cancel' pushbutton
* TABLES
* PARAMETER =
* EXCEPTIONS
* TEXT_NOT_FOUND = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/zsf8848/archive/2008/12/15/3520997.aspx