04-08-2010 7:00 AM
Hi All,
I have written a message in the user exit for the Tcode ME22n. But when the user exit is executed,the message is going into sap inbox. i want the message to be displayed either as information message or error message using type I or E..please let me know how to avoid the messages getting into sap inbox.
Thanks.
04-08-2010 7:08 AM
Hi Kavya,
Welcome to the SDN Forums!
Can you please elaborate on the problem? What is the code you are using to display the message?
To display an error message (type E), use the following syntax:
MESSAGE E001(ZA) with 'This is an error message'.
* Here, E indicates error message
* ZA is a message class, and 001 is the first message in this class
For a detailed description on the MESSAGE keyword syntax, use this [Link|http://help.sap.com/SAPhelp_nw04/helpdata/en/9f/dbaaaf35c111d1829f0000e829fbfe/content.htm].
I am not sure why the error message is going into the SAP inbox. Are you using workflows?
Cheers,
Shailesh.
Always provide feedback for helpful answers!
04-08-2010 7:50 AM
Raise the error message using
Message 'test message' type 'E'.
Regards
Vinod