Introduction
The Code Inspector allows you to check your program for consistency, performance, and quality. It also allows you to search for patterns of ABAP statements or tokens within a program. The variable-naming convention adherence may also be verified. Unlike SQL trace and SAT tool, the Code Inspector does not execute the program. It only checks the syntax, and some times, depending on the checks selected, refers to the dictionary attributes of the table(s) involved.
Some of the categories of checks are shown as follows:
Performance
Security
General
Syntax
Robust Programming
Search Function
For programs, the simplest way of running the Code Inspector is to use the Menu option and go to Program | Check | Code Inspector. However, you do not have control over the checks carried out through this Menu option. The default variant DEFAULT
is executed and the set of checks contained within it are run. Moreover, only one program at a time may be inspected through the Menu option.
This chapter explores...