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.

954 results

  1. Distributed Network Model Lets You Adapt to Unexpected Supply Chain Interruptions

    Published: 15/June/2007

    Reading time: 9 mins

    Learn about the distributed network model for warehouse storage and determine the best ways you can apply it to your business. Key Concept In a distributed network model you have several warehouses in different areas. It allows you to ship materials to customers more efficiently because you ship from a warehouse near them. The distributed...…

  2. Create Your Own Custom Feature and Eliminate Keying Errors

    Published: 15/July/2005

    Reading time: 9 mins

    You can create your own custom feature if you want to default values into a standard SAP field or a customer field that does not have an existing feature. Key Concept An SAP Human Resource feature contains rules that are primarily used for programming and specifying default values. These default values can be called by...…

  3. How to Approach Time-Dependent Relationships in SAP NetWeaver BI

    Published: 01/May/2008

    Reading time: 28 mins

    Modeling time-dependent objects in SAP NetWeaver BI can be challenging. Find out about alternate solutions, depending on the source data format. Key Concept Modeling time-dependent relationships is one of the most sophisticated but central topics in data modeling in SAP NetWeaver BI. The scenarios are complex (examples include sales reorganization or financial restatements) and difficult...…

  4. Learn How to Work With SAP HANA Cloud Portal Themes

    Published: 16/February/2015

    Reading time: 11 mins

    Ameya Pimpalgaonkar shows how SAP HANA Cloud Portal themes differ from traditional portal themes. HANA Cloud Portal themes are delivered as a Leaner Cascading Style Sheet (LESS) file. Key Concept Leaner Cascading Style Sheets (LESS) is a programmable stylesheet language that extends Cascading Style Sheets (CSS). It extends CSS by combining programming concepts of variables,...…

  5. What Every ChaRM User Needs to Know About ChaRM Security

    Published: 02/March/2015

    Reading time: 19 mins

    Change Request Management (ChaRM) security is not a subject about which you can easily find complete organized information. Sam Gassem discusses ChaRM security in detail. Key Concept Transaction code PFCG is where you maintain roles and authorization. Business role SOLMANPRO is where you control the navigation bar and logical links. A technical role is used...…

  6. SAP Simple Finance: What Happened to the Cost Elements?

    Published: 08/October/2015

    Reading time: 12 mins

    With SAP Simple Finance, the universal journal includes a single field account that covers both the general ledger (G/L) account and the cost element. As companies migrate to SAP Simple Finance, the system merges their existing G/L accounts and cost elements. The transactions for the creation and maintenance of cost elements become obsolete, replaced by...…

  7. Create a Control Dashboard to Monitor Your Internal Controls

    Published: 15/July/2004

    Reading time: 14 mins

    It is vital to track user exits to ensure the financial transparency of your company. The author introduces a programmable “control dashboard” that will enable you to recognize, document, and help audit the user exits in your company’s system. How many user exits are working in your R/3 environment? What is the objective of a...…

  8. How to Read Infotype Data Using Standard Classes and Methods

    Published: 07/December/2015

    Reading time: 9 mins

    Fetching data based on certain selection criteria remains an important requirement for SAP developers. Learn about the various scenarios that can arise and the coding for accessing the employee data from SAP standard and custom infotypes. Key Concept In ABAP objects, global interfaces are defined using transaction code SE24. Standard classes can implement these interfaces....…

  9. Selecting Suitable Delegates for Critical Staff in SAP ERP HCM

    Published: 19/July/2016

    Reading time: 14 mins

    Learn how to embed standard SAP ERP HCM master data, such as requirements, restrictions, work centers, tasks, and profile-matchup results, in your SAP ERP HCM Delegation Application. Using an example of safety and trainee workers, learn how to enhance your Delegation Application to determine the most appropriate delegate when personnel who are considered to be...…

  10. Creating and Using a Web Service in SAP ERP

    Published: 01/November/2012

    Reading time: 10 mins

    Learn how to create a Web service in an SAP system and then publish and use it. Key Concept A Web service is a method of communication between two electronic devices over the Internet. It has an interface described in a machine-processable format — specifically the Web Services Description Language (WSDL). Other systems interact with...…