10-06-2008 10:43 AM
If i want to give informative message in an exit like for eg. when the exit fires , i should be able to display information like "Error occurred due to", "Solution" etc. how can i do it. Right now i am able to write a single sentence, but if i want to give information to the user regarding the correctin to avoid the exit how can i do it.
10-06-2008 10:59 AM
Hi Priti,
If you want an error messge to be issued with detail correction and possible reasons use the below mentioned apporach.
Please maintain the long text for the messaege number in message class.
E.g:
MESSAGE E012(ZMSG) WITH text-001.
GO to message class ZMSG using TCODE SE91 and maintain the long text for message 012.
when you click on the error message a window with the detailed description maintained in the long text will be poped up.
Regards,
Babul.
10-06-2008 10:50 AM
Hi,
Define the message text as "Error occured . The solution is " &
Write the message code as follows :
message xnnn with f1
copy the solution part in the variable f1.
regards,
Advait
10-06-2008 10:57 AM
Hi,
first concatenate all message into one variable and pass this variable to message..
for exp..
concatenate "error in material no" itab-matnr "please correct" into v1.
message v1 type 'E'.
rgds,
10-06-2008 10:59 AM
Hi Priti,
If you want an error messge to be issued with detail correction and possible reasons use the below mentioned apporach.
Please maintain the long text for the messaege number in message class.
E.g:
MESSAGE E012(ZMSG) WITH text-001.
GO to message class ZMSG using TCODE SE91 and maintain the long text for message 012.
when you click on the error message a window with the detailed description maintained in the long text will be poped up.
Regards,
Babul.
10-06-2008 11:06 AM
When i go to SE91 , i give message class as ZMSG then i giv message no. as 012and then say change, it allows me to enter the description but it also has limitatin of text. I want to write more information in it
10-06-2008 1:37 PM
Hi,
check this
[https://forums.sdn.sap.com/click.jspa?searchID=17113643&messageID=5748245]
Rhea.
10-06-2008 2:47 PM
In SE91, select the your message and go to Long Text. Make sure the option Self-Explanatory is not active.