Chapter 9. Code Inspector

In this chapter, we will see recipes related to the Code Inspector tool. We will look at:

  • Carrying out quick code inspection
  • Carrying out a full-fledged inspection
  • Carrying out database-specific performance checks
  • Suppressing messages using pseudo comments
  • Searching for ABAP statement patterns and tokens within code
  • Creating your own Code Inspector checks

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

Get SAP ABAP Advanced Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.