2010 Aug 13 5:20 PM
Hello,
I am using 'popup to confirm' FM to get a popup box.
but I am getting 3 buttons in that popup box.
1. OK 2. cancel 3. cancel
how to remove the extra 'cancel' button.
Thanks,
Ravish
2010 Aug 14 1:47 PM
HI,
when using the FM
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = ' '
DIAGNOSE_OBJECT = ' '
text_question =
TEXT_BUTTON_1 = 'Ja'(001)
ICON_BUTTON_1 = ' '
TEXT_BUTTON_2 = 'Nein'(002)
ICON_BUTTON_2 = ' '
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL_BUTTON = 'X'
USERDEFINED_F1_HELP = ' '
START_COLUMN = 25
START_ROW = 6
POPUP_TYPE =
IV_QUICKINFO_BUTTON_1 = ' '
IV_QUICKINFO_BUTTON_2 = ' '
IMPORTING
ANSWER =
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.
DISPLAY_CANCEL_BUTTON = ' '
set this value as space so that another cancel button does not appear on the popup apart from ur two custom button.
Regards,
sirisha
Hello,
I am using 'popup to confirm' FM to get a popup box.
but I am getting 3 buttons in that popup box.
1. OK 2. cancel 3. cancel
how to remove the extra 'cancel' button.
Thanks,
Ravish
2010 Aug 13 5:26 PM
There is an import parameter DISPLAY_CANCEL_BUTTON DEFAULT 'X - it's not difficult to figure out what will happen when you fill it with a blank
2010 Aug 14 1:47 PM
HI,
when using the FM
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = ' '
DIAGNOSE_OBJECT = ' '
text_question =
TEXT_BUTTON_1 = 'Ja'(001)
ICON_BUTTON_1 = ' '
TEXT_BUTTON_2 = 'Nein'(002)
ICON_BUTTON_2 = ' '
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL_BUTTON = 'X'
USERDEFINED_F1_HELP = ' '
START_COLUMN = 25
START_ROW = 6
POPUP_TYPE =
IV_QUICKINFO_BUTTON_1 = ' '
IV_QUICKINFO_BUTTON_2 = ' '
IMPORTING
ANSWER =
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.
DISPLAY_CANCEL_BUTTON = ' '
set this value as space so that another cancel button does not appear on the popup apart from ur two custom button.
Regards,
sirisha
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |