2008 Jul 08 1:02 PM
Hi all,
I try enter message in a message class which have 100 charecters,since the maximum length of message in message class is 73.
Is there any way to display that long message with some placeholders.
but i'v some dynamic value to display with message...
2008 Jul 08 1:05 PM
hi,
There is no such way. You have to cut short the Message.
Regards
Sumit Agarwal
2008 Jul 08 1:05 PM
hi,
Yes you can ....
declare a message in message class with a place holders &1 &2 &3 .....
now do this way ...
message e000(zi) with text-01 text-02 text-03.Regards,
Santosh
2008 Jul 08 1:05 PM
u can use 2 messages to display the texts....Half in one half in the other...
2008 Jul 08 1:08 PM
Hi
There is an alternative
Use
data: text type string.
Message text TYPE mtype.
Regards
Aditya
2008 Jul 08 1:23 PM
2008 Jul 08 1:34 PM
Hi,
Yes, there is a way.
In your message class create one message with place holders .
You can have maximum of 4 place holders.
now in your program display the message with the dynamic text.
Pass the dynamic text to variables and then display the message using the variables.
data:
w_text1(20) type c,
w_text2(40) type c.
w_text1 = 'Some text'.
w_text2 = 'Dynamic text from user ... sample ...'.
message i036(msgclasssname) with w_text1 w_text2.
Regards,
Rajitha.
2008 Jul 08 1:37 PM
What you saying is correct,but my problem is in message class i was not able to enter full message.Because my mesage length is 100 charecters.But in message class the maximum length is 73 only.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |