Application Development 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: 

Message not displaying properly

0 Kudos

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

larshp
Active Contributor
0 Kudos

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

5 REPLIES 5

Ashg1402
Contributor
0 Kudos

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

larshp
Active Contributor
0 Kudos

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

0 Kudos

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

Thanks for all the help

pranay570708
Active Contributor
0 Kudos

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'.


0 Kudos

And how and why would that be better?