Error message in an exit
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.
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.
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.