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

POPUP Window

Former Member
0 Likes
874

Hi

I want to display a popup to the user indicating a message in the box.

How can I do that?

Has SAP provided any Standard FM to create a popup screen?

And can we use it in a user-exit?

Thank You

Hi

I want to display a popup to the user indicating a message in the box.

How can I do that?

Has SAP provided any Standard FM to create a popup screen?

And can we use it in a user-exit?

Thank You

8 REPLIES 8
Read only

Former Member
0 Likes
848

Try using the function module POPUP_DISPLAY_MESSAGE

Read only

Former Member
0 Likes
848

you can use a message of the type i(information) for this purpose.

message i100(zz) with 'some text'

Read only

Former Member
0 Likes
848

Hi,

You can use FM POPUP_WITH_2_BUTTONS_TO_CHOOSE

rgds,

Hema

Read only

anversha_s
Active Contributor
0 Likes
848

hi,

try this.

data : WF_RES type c.

CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'

EXPORTING

DEFAULTOPTION = 'N'

TEXTLINE1 = 'Do you want to delete the record?'

  • TEXTLINE2 = ' '

TITEL = 'Delete Zone'

  • START_COLUMN = 25

  • START_ROW = 6

  • CANCEL_DISPLAY = 'X'

IMPORTING

ANSWER = WF_RES.

if wf_res = 'J'.

user selected 'YES'.

else.

user selected 'NO'.

endif.

rgds

anver

if hlped mark points

Read only

0 Likes
848

Hi..

Thank you all for all the help.

Can I have a popup with only one push button (OK)other than POPUP_DISPLAY_MESSAGE (as it leaves the screen)on the same screen itself?

Thank You

Read only

Former Member
0 Likes
848

Hello,

Go to se37 and enter the value POP* and press F4. You will get many function modules.

OR

Use the statements,

1. Message i001("Message ID") with 'Hello'

Regs,

Venkat Ramanan N

Read only

Former Member
0 Likes
848

Hello,

You can go for simple message statement.

Regs,

Venkat Ramanan N

Read only

Former Member
0 Likes
848

hi subhash,

try using this FM: POPUP_TO_INFORM

pass the title and text u want to display

reward points if it helps u.

regards,

sudha.