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.

490 results

  1. Use SAP Tools to Improve SAP ERP HCM Programs for the SAP HANA Environment

    Reading time: 11 mins

    See how to use the standard performance optimization tools to migrate SAP ERP HCM programs to the SAP HANA platform without any issues. Key Concept The SQL Monitor carries out the monitoring of database-related statements in programs executed within a system. The performance-tuning transaction code SWLT provides a combined view based on the static checks…...…

  2. 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…...…

  3. The Road to SAP S/4HANA from ECC6

    Reading time: 28 mins

    Sponsor: SAP SAP S/4HANA provides the opportunity for IT to lead digital transformation efforts. With SAP S/4HANA, IT can not only improve its own operations, but also deploy technology innovation to bring transformation and productivity gains to the business. Not sure how to get there? Join us to learn more about the path to SAP…...…

  4. Test Management for SAP Business Suite on HANA Migration Projects

    Reading time: 47 mins

    Find out what you need to know about test management when you make the switch to SAP HANA. Learn how to assess your company’s readiness, how to prepare the necessary decisions for adequate test tools from SAP and its partners, and the required test management set up and execution activities. Key Concept Testing plays a…...…

  5. 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…

  6. 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…...…

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

  8. 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…...…

  9. 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)…...…

  10. 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…...…