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 Window?

Former Member
0 Likes
1,092

Hello Friends,

How can I write a pop up error message window? In messge, i want to display Two variables in it?

Thanks & Regards

Sathish Kumar

Hello Friends,

How can I write a pop up error message window? In messge, i want to display Two variables in it?

Thanks & Regards

Sathish Kumar

8 REPLIES 8
Read only

Former Member
0 Likes
1,061

use fm POPUP_TO_CONFIRM

regards

shiba dutta

Read only

Former Member
0 Likes
1,061

Hi Satish,

You can use the Information message followed by an exit statement.

message i001(zz) with var1 var2.

exit.

In se91, you must create a message class zz with message number 001.

The message 001 should have an & for each variable (like &&).

Regards,

Ravi

Read only

Former Member
0 Likes
1,061

what u acn do is create a modal screen or a dialog screen it behave s as an pop up and call that screen with displaying whatever text amd variables u want to display.

in case for error message only u can use popup_to_inform fm

or use

CALL FUNCTION 'POPUP_TO_DISPLAY_VALUE'

EXPORTING

colbeg =

colend =

itemtxt =

textline1 =

textline2 =

textline3 =

textline4 =

title =

regards

navjot

reward points for helpfull answers

Message was edited by:

navjot sharma

Read only

Former Member
0 Likes
1,061

Hi Satish,

chk this

POPUP_TO_DISPLAY_VALUE

Read only

Former Member
0 Likes
1,061

Hi Satish,

This can be done in transaction SE91 - Message Maintenance.

SE91 is the transaction code for message class creation

Types of messages -

s- status

e- error

i- information

w- warning

x- abend

In program you can write like this -

message I001(ZMSGCALSS)

where ,

I means Information message,

001 is the message id

ZMSGCLASS is the message class what u created in SE91

Messages allow you to communicate with the users from your programs. They show the information regarding the status of our program.

They are mainly used when the user has made an invalid entry on a screen.

To send messages from a program, you must link it to a message class.

Each message class has an ID, and usually contains a whole set of message. Each message has a single line of text, and may contain placeholders for variables (e.g. & & & - three variables).

All messages are stored in table T100.

Once you have created a message, you can use it in the MESSAGE statement in a program.

Hope this resolves your query.

Reward all the helpful answers.

Regards

Read only

Former Member
0 Likes
1,061

null

null

Read only

0 Likes
1,061

Use "ws_msg" function.

bye,

Gianluca

Read only

Former Member
0 Likes
1,061

u can use POPUP_TO_DISPLAY

or

cretae a text (Text-001) as Sales order & has been created for material &

in program give as message I(001) with '123456' '123'