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

Problem with information message

Former Member
0 Likes
824

Hi,

I have this code below:

IF i_messages3-type = c_error.

MESSAGE i000 WITH i_messages3-message.

EXIT.

ENDIF.

when there is an error message, the whole sentence of the message is not displayed properly,,, it is cut-off... message 000 for the message class is assigned with &.

Instead of displaying "No default value maintained for op. generation for 999 (mat 999000)", it only shows "No default value maintained for op. generation for".

What's the problem with this??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
798

Hi

the probs is,

there is some limited sentence only avail for message class

i think only 50 Char only u can give...

try for some limited sentence

reward if useful

5 REPLIES 5
Read only

Former Member
0 Likes
798

HI

try

No default value maintained for op. generation for &1.

andl also check the value of i_messages3-message and c_error at run time.

Regards

Aditya

Read only

Former Member
0 Likes
798

Hi,

Try this,

IF i_messages3-type = c_error.

MESSAGE i000 WITH i_messages3-message matnr.

EXIT.

ENDIF.

Cheers.

...Reward if useful.

Read only

0 Likes
798

Hello,

the value at runtime for i_messages3-message is "No default value maintained for op. generation for 999 (mat 999000)",... but the actual message is only "No default value maintained for op. generation"...

Will the below code work? Since i_messages3-message is type to char with 220 characters...

IF i_messages3 IS NOT INITIAL.

MESSAGE i000 WITH i_messages3-message(220).

EXIT.

ENDIF.

Thanks a lot!

Read only

0 Likes
798

Hi,

Try this.

Data: g_strg type string.

g_strg = i_messages3-message.

Cheers.

...Reward if useful.

Read only

Former Member
0 Likes
799

Hi

the probs is,

there is some limited sentence only avail for message class

i think only 50 Char only u can give...

try for some limited sentence

reward if useful