‎2009 Feb 12 6:06 PM
I have a screen that allows the user to show, or delete the records displayed in the screen. I need to know the function module for when a user wants to delete the records on the screen, to pop up a message 'Are you sure you want to delete' yes/no options need to be displayed as well, is there a function module to do that?
If you simply search the forum with 'popup' you'll find hundreds of examples.
Edited by: Rob Burbank on Feb 12, 2009 1:11 PM
‎2009 Feb 12 6:10 PM
‎2009 Feb 12 6:19 PM
Yes I did that already, which is why I am posting this question now, thanks alot.
‎2009 Feb 12 6:29 PM
As Rob mention just use POPUP FM in search...or use *POPUP* in SE37 you will get so many names.
‎2009 Feb 12 6:37 PM
Again, i've done all of these things already, which is why I am posting here.
‎2009 Feb 12 6:43 PM
‎2009 Feb 13 2:28 AM
Hi
Please check this Fn Module
POPUP_TO_CONFIRM
Thanks & Regards,
GP
‎2009 Feb 13 3:41 AM
Hi Daniel,
Please refer this wiki code for Different Pop_Ups in ABAP, all type of pop-ups used in ABAP using various function modules are implemented.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/different%252bpop_ups%252bin%252babap
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
‎2009 Feb 13 6:48 AM
Hi Daniel,
You can use these two function modules:
'POPUP_CONTINUE_YES_NO' or ''POPUP_TO_CONFIRM'
You can check it by executing on se37.
Hope it helps
Regrds
Mansi
‎2009 Feb 13 7:11 AM
‎2009 Feb 14 10:40 AM
Hi,
Please check with the code below:
Data : w_answer(01) type c.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = text-006
text_question = text-001
text_button_1 = text-002
text_button_2 = text-003
display_cancel_button = ' '
IMPORTING
answer = w_answer.
Note: text-001 - Are you sure do you want to continue?
text-002 - Yes
text-003 - No
text-006 - Delete ( Information that you would like to give for the titlebar )