‎2008 Jul 04 5:28 PM
Hi all,
Is there any function module to ask a popup with 'YES' or 'NO' to execute a report program from selection screen?
Thansk in advance.
Regards,
Eswar
‎2008 Jul 04 5:39 PM
‎2008 Jul 04 5:39 PM
‎2008 Jul 04 9:41 PM
Hi,
You can use the follow, i attach an example:
DATA: msg2(100) TYPE c,
answ.
msg2 = '¿Are you sure to continue?'.
CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE'
EXPORTING
defaultoption = ''
objectvalue = msg2
text_after = ''
text_before = ''
titel = 'Confirmation'
start_column = 25
start_row = 6
cancel_display = 'X'
IMPORTING
answer = answ
EXCEPTIONS
text_too_long = 1
OTHERS = 2.
IF answ NE 'J'.
MESSAGE E101(ZX) WITH ''.
ELSE.
SUBMIT ....
ENDIF.
‎2008 Jul 05 6:45 AM
Hi Eswar K,
Do not use POPUP_TO_CONFIRM_WITH_VALUE
instead of it use POPUP_TO_CONFIRM
because 'POPUP_TO_CONFIRM_WITH_VALUE' is obsolete FM ... Check it up the attributes of the FM u can see the short text there Do not use! Please use POPUP_TO_CONFIRM.
Also have a look on below thread..
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7