05-20-2016 5:40 AM
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
05-20-2016 6:26 AM
typically this happens when the message does not exist, try double checking that the message exists in the quality client
05-20-2016 5:53 AM
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
05-20-2016 6:26 AM
typically this happens when the message does not exist, try double checking that the message exists in the quality client
05-20-2016 6:57 AM
Yes checked in quality client.....message was not existing..
Thanks for all the help
05-20-2016 6:28 AM
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'.
05-20-2016 9:47 AM