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 Error.

Former Member
0 Likes
6,404

Hi All,

I am having an error in Message class 00.

The message number is 058.

The issue is I want to convert this error message to the warning message...

Is there any solution for this?

11 REPLIES 11
Read only

Former Member
0 Likes
3,620

Hi,

You can try the below code

message e058(msgclass) display like 'W'.

Read only

0 Likes
3,620

Deeksha this is standard message class...

Read only

Former Member
0 Likes
3,620


Hi Yash,

Where are you changing this message? Is it in any standard transaction or custome report?

You can use the below syntax.

 

MESSAGE  w058(00).

Regards,

Pravin

Read only

0 Likes
3,620

yes pravin we are using standard transaction.

Read only

ThomasZloch
Active Contributor
0 Likes
3,620

In some areas such messages are configurable, but for message class 00 I have no such hopes. The where used list shows 330+ references...I guess you are out of luck, standard is standard.

Maybe raise an OSS message and see what they say.


Thomas

Read only

Former Member
0 Likes
3,620

Hey Yash,

You can Implement the below code to make your scenario work.

DATA: mid  TYPE sy-msgid VALUE '00',

       mtype TYPE sy-msgty VALUE 'I',

       num  TYPE sy-msgno VALUE '058'.

MESSAGE ID mid TYPE mtype NUMBER num DISPLAY LIKE 'W'.


Thanks,

Kishor.

Read only

0 Likes
3,620

Thank you guys.

But how to implement this? because this is in standard?

Read only

0 Likes
3,620

I really didn't understand your question. You wants to implement this code in the standard screen? explain your requirement briefly.

Thanks,

Kishor.

Read only

0 Likes
3,620

If this is standard programing, you should change with enhancement explicit section.

In other hand you must get SSCR KEY to change de standard program.

Read only

0 Likes
3,620

I did not suggest a modification of the standard, because this can lead to unforeseeable results. An error message usually stops further processing, by changing it to a warning the process (whatever it is, you did not say anything about it) might continue with inconsistent data.


Thomas

Read only

0 Likes
3,620

Use like this. you can change 1 2 3 varibles with value whatever you want to display

MESSAGE ID '00' TYPE 'E' NUMBER '058' WITH '1' '2' '3' DISPLAY LIKE 'W'.