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 class

Former Member
0 Likes
852

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.

7 REPLIES 7
Read only

Former Member
0 Likes
785

hi,

There is no such way. You have to cut short the Message.

Regards

Sumit Agarwal

Read only

Former Member
0 Likes
785

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

Read only

former_member195383
Active Contributor
0 Likes
785

u can use 2 messages to display the texts....Half in one half in the other...

Read only

Former Member
0 Likes
785

Hi

There is an alternative

Use

data: text type string.

Message text TYPE mtype.

Regards

Aditya

Read only

0 Likes
785

but i'v some dynamic value to display with message...

Read only

Former Member
0 Likes
785

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.

Read only

0 Likes
785

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.