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

Text elements : Display problem

Former Member
0 Likes
1,949

Hi ,

Hi All,

I am using the message statement to display the error information for the user using the text elements .

Syntax i have used is :

message e000( Z_Mclass) with text-002.

and text-002 = "There is no record in the custom table which meets the given criteria.DLn :80 and ML- 99.

But whenever i run the program it displays only part of message.

Please let me know is there any restrictions for text elements description.length ?

Full points will be given for the correct answers.

Regards,

Praveen.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,273

Hi,

One place holder can contain max 50 characters. so if your message lengthe is GT 50, place the text in two varaibles.

use the message e532(0U) with text-001 text-002.

Thanks,

Rajinikanth

6 REPLIES 6
Read only

Former Member
0 Likes
1,273

Check the length of the text element. it might be greater than the longest length permissible for the message.

Read only

Former Member
0 Likes
1,274

Hi,

One place holder can contain max 50 characters. so if your message lengthe is GT 50, place the text in two varaibles.

use the message e532(0U) with text-001 text-002.

Thanks,

Rajinikanth

Read only

Former Member
0 Likes
1,273

hi,

message e000( Z_Mclass) with text-002.

For message no 000 have u checked the long text description in your message class

there is a check box available in message class

u check that

Regards,

priya

Read only

0 Likes
1,273

Hi Priya,

The message class Z_mclass has got &&&& with number 000.

I tried to activate the long text but its giving me a information message short text describes the object sufficiently.

as per Rajinikath I think we can display a maximum of 50 characters for a place holder .So i need to split the text .

Do you have any more findings on this ?

Thanks for your answers,

Regards,

Pravee

Read only

Former Member
0 Likes
1,273

Split the message into multiple text elements.

Eg.

message e000( Z_Mclass) with text-002

text-003

text-004

text-005.

Read only

Former Member
0 Likes
1,273

Hi,

You text element text-002 = "There is no record in the custom table which meets the given criteria.DLn :80 and ML- 99 " is greater than 50 so it will display only part of the message in run time.

So you need to split the mesage into 2 or 3 text elements.

message e000( Z_Mclass) with text-002 text-003 .....so on.

Hope this helps you,

Plz reward if useful.

Thanks,

Dhanashri.

Edited by: Dhanashri Pawar on Jun 20, 2008 11:10 AM