SAP Code Inspector


Code Inspector: Overview and Tutorials

What Is Code Inspector?

Code Inspector is a tool that can be used to check and control the quality of ABAP code. Code Inspector can be used to apply all of the tools provided by ABAP Workbench, at the same time.

The ABAP Workbench is a collection of tools that can be used to develop, test, and run ABAP programs.

Who Uses Code Inspector?

Developers and quality managers use Code Inspector.

A developer might use the Code Inspector tool to run a fast ad hoc inspection from ABAP Workbench or from the Code Inspector itself, or to define personal re-usable code inspections.

A quality manager might use Code Inspector to define public re-usable code inspections or approve or reject exceptions.

Code Inspector vs. ABAP Test Cockpit

ABAP Test Cockpit is the successor of Code Inspector. Conversations on SAP’s Community Wiki recommend that ABAP Test Cockpit be used instead of Code Inspector.

ABAP Test Cockpit delivers custom-code analysis in the ABAP programming language. It is used with SAP Business Suite, SAP NetWeaver, and SAP S/4HANA.

Available Tutorials for Code Inspector

Code Inspector: Overview and Tutorials

What Is Code Inspector?

Code Inspector is a tool that can be used to check and control the quality of ABAP code. Code Inspector can be used to apply all of the tools provided by ABAP Workbench, at the same time.

The ABAP Workbench is a collection of tools that can be used to develop, test, and run ABAP programs.

Who Uses Code Inspector?

Developers and quality managers use Code Inspector.

A developer might use the Code Inspector tool to run a fast ad hoc inspection from ABAP Workbench or from the Code Inspector itself, or to define personal re-usable code inspections.

A quality manager might use Code Inspector to define public re-usable code inspections or approve or reject exceptions.

Code Inspector vs. ABAP Test Cockpit

ABAP Test Cockpit is the successor of Code Inspector. Conversations on SAP’s Community Wiki recommend that ABAP Test Cockpit be used instead of Code Inspector.

ABAP Test Cockpit delivers custom-code analysis in the ABAP programming language. It is used with SAP Business Suite, SAP NetWeaver, and SAP S/4HANA.

Available Tutorials for Code Inspector

Some tutorials are still available for Code Inspector, many of which date back to 2015 or earlier.

  • Jerry Wang wrote in 2015 that “ABAP code inspector (tcode SCI ) is not just a tool to ensure the correctness of your code. It is a powerful toolset for an ABAPer to make his life easier” in his SAP Community blog, “Useful tips regarding ABAP code inspector that you may not know.” His tutorial is based on NetWeaver 7.40 and discusses how to read the inspection results, along with other useful tips.
  • SAP Documentation explains how to start Code Inspector and provides links to other related topics like authorizations, ad hoc inspections, and managing exceptions.
  • An SAPinsider article published in 2017, “Secure Your ABAP Code Against Attack,” discusses both ABAP Test Cockpit and Code Inspector. “In the ABAP Test Cockpit, developers can execute static checks and unit tests for their development objects using SAP tools such as the Code Inspector for checking repository objects, the Extended Program Check (transaction SLIN) for running in-depth syntax checks, checks for ensuring a successful SAP HANA or SAP S/4HANA migration,* and SAP NetWeaver AS, add-on for code vulnerability analysis for scanning source code for vulnerabilities,” writes the author.
  • Extra Li writes in a 2015 SAP Community blog, “Integrate ATC (ABAP Test Cockpit) or Code Inspector Check with ChaRM” that both Code Inspector and an ATC check can be triggered during a transport request and be integrated with ChaRM. But he says their behaviors will be different.

492 results

  1. Explore Your SAP S/4HANA Implementation Options

    Reading time: 34 mins

    SAP S/4HANA experts answered user questions during two one-hour live chat sessions. The panelists included members of the SAP Digital Business Services organization and an SAP partner organization leading digital transformation projects with customers. Questions ranged from topics such as building a business case for SAP/4HANA to custom code to BW on HANA. Read the...…

  2. Quick Tip: 3 Methods for Identifying and Remediating Custom ABAP Code Issues When Migrating SAP BW to SAP HANA

    Reading time: 7 mins

    SAP HANA in-memory technology brings improved performance to standard SAP Business Warehouse (BW) processes. Custom development of ABAP code, however, may require some tweaking to optimize its performance and properly harness the power of SAP HANA. This is especially true for custom ABAP programs that were originally designed to run on older versions of SAP…

  3. Improve Custom Code Life Cycle Decision Making and Governance with the Custom Code Score Card

    Reading time: 14 mins

    ManagerCompanies are creating custom code on a continuous basis. Once built, it remains in their systems and the previous system state is irreversible. Uncontrolled custom code growth leads to high maintenance and operations, as well as upgrade costs, and bears unforeseeable risks. Discover how to control custom developments with Custom Code Lifecycle Management. With the...…

  4. Evaluating the Quality of Your ABAP Programs and Other Repository Objects with the Code Inspector

    Reading time: 2 mins

    Developers and quality managers must know precisely how closely their programs adhere to standards that govern their software’s accessibility, security, and performance. SAP Web Application Server 6.10 introduces the Code Inspector, a new tool that checks ABAP programs, function groups, classes, and other repository objects to ensure that they meet defined standards, and enables you...…

  5. End Language Compatibility Problems with Unicode

    Reading time: 72 mins

    To be a globally competitive company, you need rapid access to critical data in a wide variety of formats and languages. Learn how Unicode makes this possible in your SAP ERP system, and gain an understanding of its technical requirements and restrictions. Key Concept In the past, hundreds of different and sometimes conflicting encoding systems...…

  6. Know Every Aspect of ABAP Test Cockpit (ATC) Check Variant Customization and Reporting: Part 2

    Reading time: 17 mins

    See how to customize an ABAP Test Cockpit (ATC) check variant, to transport it, and to set up ATC reports. You can understand the techniques needed to determine if an error should be corrected or ignored and learn to manage the mass results of ATC reports runs. Key Concept SAP NetWeaver ABAP Test Cockpit (ATC)...…

  7. Know Every Aspect of the ABAP Test Cockpit: Part I

    Reading time: 23 mins

    Learn the steps for configuring the SAP NetWeaver ABAP Test Cockpit to ensure that your SAP system’s ABAP programs remain clean and adhere to the best programming practices. Key Concept The SAP NetWeaver ABAP Test Cockpit (ATC) verifies the quality of ABAP objects in multiple areas and assigns priorities to these different categories of checks...…

  8. Better Inspect and Maintain Your Critical Equipment with SAP PM and SAP QM

    Reading time: 18 mins

    Many regulations require regular inspection and maintenance of equipment to control the risk of accidents. You can cover these regulations by creating new processes with a combination of SAP plant maintenance (PM) and quality management (QM) modules. Key Concept Security is a hot topic in periodic maintenance activities to protect equipment, the environment, and especially...…

  9. Analyze Memory-Related Problems in Your ABAP Programs in Less Time and with Less Effort Using the ABAP Memory Inspector

    Reading time: 3 mins

    When your ABAP application terminates because memory is exhausted, one possible reason is errors somewhere in the program code. Finding such errors in your code, however, is no easy task — memory objects are hidden in the ABAP runtime environment, and runtime errors do not always indicate the true source of the problem. This article...…

  10. Know Every Aspect of the ATC Transport Block Scenario and Exemption Workflow: Part 3

    Reading time: 13 mins

    See how to use the transport block and exemption workflow features of the SAP NetWeaver ABAP Test Cockpit (ATC). Obtain insight into the applicability of these features in different project scenarios. Key Concept The SAP NetWeaver ABAP Test Cockpit (ATC) is an SAP code-quality verification tool. It is integrated in the SAP NetWeaver ABAP Workbench....…