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.

949 results

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

    Published: 21/December/2016

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

  2. Know Every Aspect of the ABAP Test Cockpit: Part 1

    Published: 21/December/2016

    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.

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

    Published: 04/February/2011

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

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

    Published: 15/November/2004

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

  5. Secure Your ABAP Code Against Attack

    Published: 31/January/2017

    Reading time: 12 mins

    As new business needs arise, organizations often develop custom code to extend the functionality of their business software. Unfortunately, custom code can sometimes lead to unforeseen risks, including code vulnerabilities that leave your systems open to damaging cyberattacks. SAP NetWeaver Application Server, add-on for code vulnerability analysis helps you mitigate these risks by identifying vulnerabilities…

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

    Published: 27/April/2017

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

  7. Get the Most Out of SAPSprint for Server-Based Printing in Microsoft Windows

    Published: 22/April/2009

    Reading time: 19 mins

    SAPSprint is the latest service for server-based printing on Windows. Learn how to install and configure this service with its default options. Drill down into the technical implementation to learn how to manage print requests, restart print processes, configure front-end printing, and include barcodes. Key Concept Processing in SAPSprint means generating print data via the...…

  8. Automatically Create Dispute Cases for Customer Payments Received Through the Lockbox

    Published: 27/April/2011

    Reading time: 19 mins

    Learn the requisite configuration, master data setup, and transactions to enhance automation of creating a dispute case for lockbox data processed for incoming payments from customers. Key Concept Reason codes are keys that explain the difference between invoice amount and payment amount. The dispute case is the central object in SAP Collections and Dispute Management....…

  9. simplify code

    Technical Guide: Using ABAP Test Cockpit for SAP S/4HANA Transition

    Published: 16/May/2018

    Reading time: 13 mins

    Moving from SAP Business Suite to SAP S/4HANA brings modern ERP to SAP customer landscapes. Making this transition means converting to a new data model, since SAP S/4HANA is a completely new product — it also means adapting your existing custom code, which most likely has dependencies on data elements that have been changed or…

  10. Selective Data Transition vs. Full Migration: Choosing the Right Approach for SAP S/4HANA

    Reading time: 17 mins

    Migrating from SAP ECC to SAP S/4HANA involves choosing between Selective Data Transition, which allows for flexible and tailored data migration, and Full Migration, which fully integrates existing systems but requires significant reconfiguration, with specific strategies and thorough preparations critical for successful execution.