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. Avoid These 11 Common Unit-of-Measure Errors

    Reading time: 35 mins

    To keep your SCM operations running smoothly, learn how to avoid and correct these 11 common unit-of-measure errors that can bring them to a standstill. Key Concept The crucial role of units of measure (UoMs) in SAP is to give context to quantities. A key activity of an SAP system is maintaining clear communication with...…

  2. The Criticality of Automating Document Processing For SAP

    Rumble in the Jungle Round 3: Using Anthropic Claude to Automate SAP SAC Script code

    Reading time: 9 mins

    In a comparison of AI chatbots for SAP coding, Anthropic Claude outperformed OpenAI's ChatGPT and Google's Gemini by resolving challenges quickly with simpler code and fewer iterations, demonstrating its efficiency and user-friendliness in enhancing SAP SAC applications. Membership Required You must be a member to access this content.View Membership LevelsAlready a member? Log in here

  3. Expand Your Reporting Options with an Extended G/L Code Block

    Reading time: 18 mins

    The G/L code block in FI is not static. Customer-defined fields can be added to provide for reporting functions that SAP did not envision. Learn how to use a standard SAP transaction to add fields to the G/L code block, how to ensure that the field is properly populated, and how to report on the...…

  4. Handle Partially Reclaimable VAT with Pro-Rata VAT Functionality in Your SAP System

    Reading time: 27 mins

    Many organizations in the EU use Value Added Tax (VAT) on certain sales. However, not all sales allow VAT charges. If you’re a company providing products that are both VAT-eligible and VAT-ineligible, how do you account for this in your system? See how to set up and customize pro-rata VAT in your SAP system. Key...…

  5. Simplify Execution of Transaction Codes by Mapping Them to Common Phrases

    Reading time: 8 mins

    This article shows how to create an ABAP program that allows you to execute transaction codes without having to memorize them or use reference materials. You can map a transaction code to a word or phrase. It also ensures that it does not bypass any authorization checks or rules applied to the mapped standard transaction...…

  6. Reasons to Perform a Controlling Area Reorganization

    Reading time: 11 mins

    Learn about the options to change the controlling area structure in an SAP Financials system post go-live. Key Concept The key element of the CO enterprise structure is the Controlling Area. At the initial stages of any project the analyst defines the organizational relationship between controlling areas (CO) and company codes (FI). The decisions made...…

  7. SAP Manager’s Desktop: Make Your Line Managers’ Day-to-Day Work More Efficient: Part 1

    Reading time: 16 mins

    Manager’s Desktop provides your line managers with tools and reports. You can implement it with little effort on the technical side, and in contrast to Manager Self-Service (MSS), it doesn’t require SAP Enterprise Portal. Key Concept The biggest difference between Manager’s Desktop and Manager Self-Service (MSS) is that MSS’s user interface (UI) is more user...…

  8. What’s New in Charge Management in SAP TM 9.0 and 9.1 for Air, Ocean, and Rail

    Reading time: 37 mins

    Learn how to set up the charge management process in SAP Transportation Management (SAP TM) applicable for both shipper and logistic service provider (LSP) scenarios. Compare functionalities available in SAP TM 9.0 and 9.1. Key Concept The transportation charge management component is the most robust and flexible engine used in the SAP Transportation Management (SAP...…

  9. Maximize the New Functionality of Program RFUMSV25 to Reverse Charge Taxes

    Reading time: 8 mins

    Learn about the new functionality of report RFUMSV25 and the prerequisite configuration steps to complete in order for the new functionality to work correctly. New in RFUMSV25 is that it now also can transfer a deferred acquisition tax and a reverse charge tax to their destination tax codes. Key Concept Value-added tax (VAT) is a...…

  10. How to Create XML Payments in an SAP System

    Reading time: 41 mins

    Learn about the International Organization for Standardization (ISO) XML payment messages and how to create them using an SAP system. Learn the configuration steps required to create ISO XML payment messages. Key Concept International Organization for Standardization (ISO) 20022 is a single standardization approach to be used by all financial standards initiatives and is a standard for electronic...…