There exists a Table in SAP for the syntax errors of the ABAP compiler (table TRMSG), but the table does not store the errorlevels. (I.E whether an error should be displayed as Error, Warning or Information ).
I tried to look what the SCI does to generate the syntax errors, but it uses a keyword based function to generate them and therefore it is not traceable where the errorlevel comes from. (Waring, Error and Information)
For completion the keyword based function to check the syntax:
syntax-check for temp_itab_loc
directory entry dic
message message
line line
word word
include include
message-id message_id
id 'ERR' table errors
id 'MSG' table warnings
id 'INFO' table infos
id 'LTXT' table longtext
id l_part table l_dummy.
Is there an other table where I can link an error with a level?