‎2007 Dec 11 6:56 PM
Hi,
Can anyone let me know how can i get the long text of an error message.
For ex.i have a msg 840 in msg class il wiht msgtxt as 'Entry length allowed in the edit mask has been exceeded' and if i press the long text button available in the application toolbar i can see some more information on performance assistant. Can i get that text in my program ?if so plz let me know the table or field where i can find the long text.
Regards,
Kamal
‎2007 Dec 11 7:05 PM
Try BAPI_MESSAGE_GETDETAIL
The BAPI returns the message in its entirety in parameter MESSAGE (220 Char). The long text, if available, is return line by line in the TABLES parameter <b>TEXT.</b>
‎2007 Dec 11 7:11 PM
the Messages are usually maintined via SE91. Create a Message.
Select the Message and navigate to
Goto->Documentation->Long Text.
and maintain the long Text there
use BAPI_MESSAGE_GETDETAIL to retrive the msg
A