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

Define message long text dynamically

Former Member
0 Likes
656

Hi experts,

is it possible to define a long text of a message dynamically? Or is it only possible to define them in SE91?

e.g. I get a string from a method and want to show a message with that string as long text.

Regards,

Tobi

2 REPLIES 2
Read only

former_member222860
Active Contributor
0 Likes
459

Check this!

DATA: v_str type string.

v_str = 'long text'.

MESSAGE I000(ZMS) WITH v_str.

Read only

0 Likes
459

Hi Mahesh,

thanks for your answer. Forgot to mention, that I got an exception class and the with parameter doesn't work here.

Class derived from CX_STATIC_CHECK.

MESSAGE mr_exception TYPE 'S' DISPLAY LIKE 'E' .

Regards,

Tobi

Edited by: Tobias Bollmann on Nov 17, 2009 12:55 PM