2007 Aug 06 8:32 AM
Hi
Can anybody suggest the replacement FM for the below FM and how the parameters of this shud be passed to the replacement FM..?
CALL FUNCTION 'POPUP_TO_DECIDE'
EXPORTING
DEFAULTOPTION = '2'
TEXT_OPTION1 = 'ja'
TEXT_OPTION2 = 'nein'
TEXTLINE1 = Text1
TEXTLINE2 = Text2
TEXTLINE3 = Text3
TITEL = Title
CANCEL_DISPLAY = SPACE
IMPORTING
ANSWER = ANSWER.
Thanks in advance..
2007 Aug 06 8:36 AM
DATA: header(30),
Question(30),
answer(20),
button1(10),
button2(10).
header = 'Confirm for Deletion'.
question = 'Do you want to Continue'.
button1 = 'Yes'.
button2 = 'No'.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = header
TEXT_QUESTION = question
TEXT_BUTTON_1 = button1
TEXT_BUTTON_2 = button2
DEFAULT_BUTTON = '1'
IMPORTING
ANSWER = answer
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.
if answer eq '1'.
continue................................
ENDIF.
Hi
Can anybody suggest the replacement FM for the below FM and how the parameters of this shud be passed to the replacement FM..?
CALL FUNCTION 'POPUP_TO_DECIDE'
EXPORTING
DEFAULTOPTION = '2'
TEXT_OPTION1 = 'ja'
TEXT_OPTION2 = 'nein'
TEXTLINE1 = Text1
TEXTLINE2 = Text2
TEXTLINE3 = Text3
TITEL = Title
CANCEL_DISPLAY = SPACE
IMPORTING
ANSWER = ANSWER.
Thanks in advance..
2007 Aug 06 8:36 AM
DATA: header(30),
Question(30),
answer(20),
button1(10),
button2(10).
header = 'Confirm for Deletion'.
question = 'Do you want to Continue'.
button1 = 'Yes'.
button2 = 'No'.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = header
TEXT_QUESTION = question
TEXT_BUTTON_1 = button1
TEXT_BUTTON_2 = button2
DEFAULT_BUTTON = '1'
IMPORTING
ANSWER = answer
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.
if answer eq '1'.
continue................................
ENDIF.
2007 Aug 06 8:37 AM
Hi
Use the fun module
POPUP_TO_CONFIRM
<b>Reward points for useful Answers</b>
Regards
Anji
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |