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

Message not displaying properly

Former Member
0 Likes
1,698

Hi,

I am displaying a message from a custom message class with placeholder as follows:

Message i012(zmsg_class) with text-001 text-002 text-003 text-004.

In development client it is displayed properly, but in the quality client it is displayed as follows:

I:ZMSG_CLASS:012 <Msg content from text elements>

What could be the reason for the message to be prefixed with I:ZMSG_CLASS:012.

Thanks and Regards,

Taiyeb

1 ACCEPTED SOLUTION
Read only

larshp
Active Contributor
0 Likes
1,561

typically this happens when the message does not exist, try double checking that the message exists in the quality client

Hi,

I am displaying a message from a custom message class with placeholder as follows:

Message i012(zmsg_class) with text-001 text-002 text-003 text-004.

In development client it is displayed properly, but in the quality client it is displayed as follows:

I:ZMSG_CLASS:012 <Msg content from text elements>

What could be the reason for the message to be prefixed with I:ZMSG_CLASS:012.

Thanks and Regards,

Taiyeb

5 REPLIES 5
Read only

Ashg1402
Contributor
0 Likes
1,561

Hi,

Try this-  MESSAGE id 'ZMSG_CLASS' TYPE 'I' NUMBER '012' WITH text-001 text-002 text-003 text-004. And take the count of '&' in message class as they are equal to the <text-00n> fields which you are passing or not.

This should work.

Regards

Ashish

Read only

larshp
Active Contributor
0 Likes
1,562

typically this happens when the message does not exist, try double checking that the message exists in the quality client

Read only

Former Member
0 Likes
1,561

Yes checked in quality client.....message was not existing..

Thanks for all the help

Read only

pranay570708
Active Contributor
0 Likes
1,561

Better use below:

data: lv_message type string.

Concatenate text-001 text-002 text-003 text-004 into lv_message separated by space.


message lv_message type 'I'.


Read only

0 Likes
1,561

And how and why would that be better?