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.

495 results

  1. Lean Implementation of the Material Ledger with Multiple Valuations in a Production Environment

    Reading time: 25 mins

    Learn how to design the standard SAP system to implement the Material Ledger with multiple valuations in the production environment using the Special Purpose Ledger. The main reason to use the Special Purpose Ledger is to avoid changes required in existing currency settings and impacts on other applications that are already in use. The Special...…

  2. Plan Your SAP S/4HANA Finance Implementation with an Understanding of Multicurrency Architecture

    Reading time: 21 mins

    Learn about the multicurrency architecture in SAP S/4HANA Finance and discover how to set up the right solution design aligned to Generally Accepted Accounting Principles (GAAP), external reporting, and internal management reporting needs. Key Concept In both the classic General Ledger and the SAP General Ledger, you can define three parallel currencies in FI, two...…

  3. BI Report Text Searching in the Semantic Layer Without Duplications

    Reading time: 26 mins

    Learn a new method for automatically aggregating data that replaces the laborious task of manually aggregating this kind of data. This technique generates additional new semantic levels of characteristics as description keys. Using these new semantic characteristic keys, users can easily generate reports with any existing descriptive text without duplications. Key Concept A semantic type...…

  4. Balancing supply and demand

    How to Setup Demand Planning in SAP Advanced Planning and Optimization

    Reading time: 21 mins

    SAP Advanced Planning and Optimization, demand planning allows a business to perform forecasting of their materials while considering all the factors that affect the demand. Demand planning is periodic and contains multi-step processes such as data gathering, statistical analysis, reviewing market intelligence reports, and performing adjustments against budgeted forecast to drive material requirements planning. SAP…

  5. Set Up SAP Closing Cockpit for Speedier and Better-Controlled Financial Closings in 5 Steps

    Reading time: 19 mins

    See how to configure the newly updated SAP Closing Cockpit to assign individual tasks and hierarchies properly. Key Concept SAP recently redesigned its ERP-based SAP Closing Cockpit and plans to deliver it with an add-on option of a new task scheduling tool, Central Process Scheduler (CPS). SAP plans to make this generally available to customers...…

  6. Call Portal iViews and SAP Screens within BSPs to Reduce Design Overhead

    Reading time: 12 mins

    Business Server Pages are the best flexible way to deliver Web-based solutions in SAP systems. Instead of providing the same look and feel of standard SAP screens, developers can use the vast library of HTML and JavaScript. Find out how to decrease overhead by calling pre-deployed SAP screens and transactions through their iViews or the...…

  7. Use SAP Acquisition Tax Accrual to Meet VAT Declaration Requirements

    Reading time: 10 mins

    In a few European Union (EU) countries, companies receiving goods without an invoice receipt must make an acquisition tax accrual and include it in a value-added tax (VAT) declaration to be able to comply with legal reporting requirements. The goods must have been shipped from other EU countries. Discover how SAP’s acquisition tax accrual functionality...…

  8. AUC with Investment Measure Using Work Breakdown Structure

    Reading time: 20 mins

    FinancialsLearn how to implement assets under construction (AUC) with the Investment Management module using work breakdown structure (WBS). Follow a detailed discussion of the settlement process. Key Concept A work breakdown structure (WBS) element with its assets under construction (AUCs) can be termed as an investment measure. In simple terms, an AUC is created to...…

  9. Best Practices for Setting Up Authorization in Process Control 10.0

    Reading time: 18 mins

    Amit Saini explains how to set up authorization for different business users inside an organization using SAP Process Control. He also covers troubleshooting and best practices for different application scenarios in SAP Process Control. Key Concept A business role needs to be assigned to users for all SAP Process Control application entities such as organization,...…

  10. How to Transfer Material Ledger Detailed Actual Costing Results to CO-PA

    Reading time: 15 mins

    Learn how to configure the transfer of a material ledger total actual cost, actual cost components split, and production quantities in multiple units of measure to Profitability Analysis (CO-PA). Key Concept Activation of actual costing is not a common practice. Typically, there are two main reasons to implement actual costing: a legal imperative to valuate...…