Purpose

 Violation for quality rule 'Avoid disabling source code inspection' seems to be not correct. Though there are no check on/check off in the object, yet the object is seen under list of violated objects.

Applicable in CAST Version
Release
Yes/No
8.3.x(tick) 
Applicable RDBMS
RDBMS
Yes/No
CSS(tick)
Details

Here an example of a scenario in which the violation is expected:

The object f_recherche_anlage of object type - ABAP Form is under violation. f_recherche_anlage is calling the object mac_message of object type - ABAP Macro Though there are no check on/check off in the f_recherche_anlage, there are check on/check off in mac_message yet macro is not violated.

This is normal behavior. Macro are not artifacts and this is the case with all languages.

Before parsing, all macro calls are replaced with their code and the resulting code is parsed(form containing the macro code is parsed), hence, the form is in violation.

Notes/comments