Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Pop up message function module

Former Member
0 Likes
19,753

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

10 REPLIES 10
Read only

amit_khare
Active Contributor
0 Likes
7,579

Please search the forum before posting the query.

Read only

0 Likes
7,579

Yes I did that already, which is why I am posting this question now, thanks alot.

Read only

0 Likes
7,579

As Rob mention just use POPUP FM in search...or use *POPUP* in SE37 you will get so many names.

Read only

0 Likes
7,579

Again, i've done all of these things already, which is why I am posting here.

Read only

0 Likes
7,579

And nothing led you to POPUP_TO_CONFIRM ??

Rob

Read only

Former Member
0 Likes
7,579

Hi

Please check this Fn Module

POPUP_TO_CONFIRM

Thanks & Regards,

GP

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
7,579

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

Read only

Former Member
0 Likes
7,579

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

Read only

Former Member
0 Likes
7,579

Hi,

Check out this thread.

Hope this helps.

Thnanks & Regards.

Read only

Former Member
0 Likes
7,579

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 )