Application Development 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: 

Change message types in Code Inspector

Former Member
0 Kudos

Hi,

Can anyone let me know how to change the message type in the code inspector results ?

I want to change the message type from warning to error or vice-versa. I looked for the classes but could not figure out the exact class and the process to do so.

Any help is much appriciated.

Thanks,

Vinod

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Vinod,

You can change the priority of the rules:

SCI

Goto/Management of/Message Priorities

Browse the rule you want to change

Click on the icon, and select the new value.

Hope this helps.

Best regards,

Attila

3 REPLIES 3

naimesh_patel
Active Contributor
0 Kudos

Code Inspector Messages properties are stored in the table SLIN_DESC. There is also a type pool SLIN which contains this data. I don't know any transaction which will allow you to change the message types.

Regards,

Naimesh Patel

Former Member
0 Kudos

There are certain options to supress error messages. You can find more information by clicking the 'i' button type being displayed in the code inspector results page. Here are some of the options,

1. ("#EC *) exculdes error messages regarding the current ABAP command

2. ("#EC NOTEXT) indicates that a string does not have to be stored as a text element

3. ("#EC CALLED) indicates that a FORM has a PERFORM call

4. ("#EC NEEDED) - no messages are output about a field that is only read

5. ("#EC PORTABLE) turns off the ASCII/EBCDIC test

6. ("#EC NOBREAK) - no messages are sent at BREAK-POINTs

7. ("#EC TRANSLANG) specifies that the use of TOUPPER or TOLOWER is also safe in multilingual systems.

8. ("#EC SYNTCHAR) specifies that the data TOUPPER or TOLOWER is used on contains only characters from the syntactical character set.

One example given there..

DATA: I TYPE I. "#EC NEEDED

I = 4.

BREAK-POINT. "#EC NOBREAK

WRITE 'Hugo'. "#EC NOTEXT

IF 'a' < 'c'. "#EC PORTABLE

ENDIF.

FORM AB. "#EC CALLED

ENDFORM.

Hope this helps.

Regards,

Susanta

Former Member
0 Kudos

Hi Vinod,

You can change the priority of the rules:

SCI

Goto/Management of/Message Priorities

Browse the rule you want to change

Click on the icon, and select the new value.

Hope this helps.

Best regards,

Attila