‎2007 Sep 10 4:05 PM
i want to display some message after some selected operation
n from the message user shloul have option to continue or cancle that operation
how can i do that
‎2007 Sep 10 4:08 PM
use POPUP_TO_CONFIRM FM to display the message.
Regards,
Amit
Reward all helpful replies.
‎2007 Sep 10 4:08 PM
Hi,
You can use the below function module
POPUP_TO_CONFIRM
Regards
Sudheer
‎2007 Sep 10 4:08 PM
AT SELECTION-SCREEN.
*Add logic
Call TR_POPUP_TO_CONFIRM FM...
Greetings,
Blag.
‎2007 Sep 10 4:09 PM
Use FM "POPUP_TO_CONFIRM"
or goto SE37 & type popupconfirm and click F4
‎2007 Sep 10 4:14 PM
‎2007 Sep 10 4:21 PM
HI,
us this
data: answer type c.
data: text type string.
text = 'Error occured During processing'.
call function 'POPUP_TO_CONFIRM_WITH_MESSAGE'
exporting
DEFAULTOPTION = 'Y'
diagnosetext1 = 'Please Confirm'
textline1 = text
TEXTLINE2 = ' '
titel = 'Confirm'
importing
answer = answer.
"J" for Yes, "N" for no.
write:/ answer.
‎2007 Sep 10 4:23 PM
If you use message class then you cannot have the option of Yes and no ...
‎2007 Sep 10 4:17 PM
‎2007 Sep 10 4:45 PM
if i select ok or cancel button the result is same
it executes the code
how can i stop it on clicking the NO button
‎2007 Sep 10 5:13 PM
Check the value returned in returncode, Definitly you would be getting different value for when you click on different option.
In case of FM 'POPUP_TO_CONFIRM' and FM 'POPUP_TO_CONFIRM_WITH_MESSAGE'
exporting field is ANSWER
Regards,
Amit R.
‎2007 Sep 10 4:55 PM