2007 Mar 29 11:41 AM
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
2007 Mar 29 11:45 AM
2007 Mar 29 11:46 AM
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
2007 Mar 29 11:47 AM
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
2007 Mar 29 11:47 AM
2007 Mar 29 11:48 AM
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
2007 Mar 29 11:50 AM
2007 Mar 29 1:18 PM
2007 Mar 29 11:51 AM
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'