Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error message long text

Former Member
0 Likes
1,378

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

2 REPLIES 2
Read only

former_member195698
Active Contributor
0 Likes
547

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>

Read only

Former Member
0 Likes
547

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