‎2008 Apr 10 6:10 AM
Is there a function module to display a popup box with just a tick available for confirmation .??? (m a fresher ..so pls excuse if the terminologies i use are layman type)
‎2008 Apr 10 6:31 AM
‎2008 Apr 10 6:13 AM
Hi,
Use
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
text_question = 'here writeyour question'
text_button_1 = 'YES'
text_button_2 = 'NO'
IMPORTING
answer = l_answer
EXCEPTIONS
text_not_found = 1
OTHERS = 2.
IF l_answer NE '1'. -
If yes
ENDIF.
‎2008 Apr 10 6:17 AM
‎2008 Apr 10 6:22 AM
‎2008 Apr 10 6:16 AM
HI,
see this example
DATA:w_answer.
call function 'POPUP_TO_CONFIRM'
exporting
text_question = 'you want to continue?'
importing
answer = w_answer
exceptions
text_not_found = 1
others = 2.
if sy-subrc <> 0.
message i000(zmsg).
stop.
endif.
if w_answer ne '1'.
message i000(zmsg).
stop.
endif.
rgds,
bharat.
‎2008 Apr 10 6:16 AM
Hi,
Use the function module for POP-UP
POPUP_TO_CONFIRM.
Regards,
Siva chalasani
‎2008 Apr 10 6:19 AM
Hi,
Check the following code:
DATA: X_ANS(1) TYPE C.
call function 'POPUP_TO_CONFIRM_STEP'
exporting
DEFAULTOPTION = 'Y'
textline1 = 'Do you want to continue'
TEXTLINE2 = ' '
titel = 'Please Confirm'
START_COLUMN = 25
START_ROW = 6
CANCEL_DISPLAY = 'X'
IMPORTING
ANSWER = X_ANS.
WRITE: / X_ANS.
Regards,
Bhaskar
‎2008 Apr 10 6:31 AM
‎2008 Apr 10 6:34 AM