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

creating a pop up window.

Former Member
0 Likes
1,040

Hi Friends,

If Sy-subrc <> o,

some error message.

But the error message should be as a pop Up window.

So to create the pop window whats the procedure.

Thanks,

Shejal.

1 ACCEPTED SOLUTION
Read only

LucianoBentiveg
Active Contributor
0 Likes
1,014

Try FM POPUP_TO_INFORM, Example:

CALL FUNCTION 'POPUP_TO_INFORM'

EXPORTING

TITEL = 'ERROR'

TXT1 = 'Enter the message using the input lines at the bottom'.

Regards.

Hi Friends,

If Sy-subrc <> o,

some error message.

But the error message should be as a pop Up window.

So to create the pop window whats the procedure.

Thanks,

Shejal.

7 REPLIES 7
Read only

Former Member
0 Likes
1,014

use the function module

POPUP_TO_INFORM

srikanth

Read only

LucianoBentiveg
Active Contributor
0 Likes
1,015

Try FM POPUP_TO_INFORM, Example:

CALL FUNCTION 'POPUP_TO_INFORM'

EXPORTING

TITEL = 'ERROR'

TXT1 = 'Enter the message using the input lines at the bottom'.

Regards.

Read only

0 Likes
1,014

Thanks Guys,

Solved the problem.

Shejal.

Read only

Former Member
0 Likes
1,014

Hi Sejal,

Have a look at the FMs :

POPUP_FOR_INTERACTION

POPUP_TO_CONFIRM

<b>Reward points to all the helpful answers and close the thread.</b>

Read only

sridhar_k1
Active Contributor
0 Likes
1,014

Try this if possible...

Raise the message as info, and exit after that

if sy-subrc <> 0.

message 'some error message' type I.

Exit.

endif.

Read only

0 Likes
1,014

You could also use POPUP_WITH_WARNING

Regards,

Rich Heilman

Read only

Former Member
0 Likes
1,014

Hello,

I also try to create a pop-up window en use the following coding:

if vbak-kunnr = '0000000484'.

Call function 'POPUP_TO_INFORM'

EXPORTING

titel = 'pop-up'

txt2 = 'pas op'

txt1 = 'pas nog een keer op'.

exit.

endif.

This pop-up only has to appear for customer 484 and this also happens. However the pop-up stays on the screen and I cannot continue with the order. What part in my coding is wrong or wat is missing?

Thanks in advance,

Ivo