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.

492 results

  1. Streamline Cross-Company Postings Using SAP Parallel Valuation and Transfer Pricing in an LIV Process

    Reading time: 37 mins

    Learn how to implement SAP transfer pricing and parallel valuation in goods receipt and an accounts payable Logistics Invoice Verification (LIV) process. Key Concept Parallel valuation in an SAP system helps an organization with multiple legal entities or company codes to prepare for consolidation. Multinational companies can use transfer prices in their cross-company transactions through...…

  2. Best Practices for Developing the SAP UI5 Control Enhancement Framework

    Reading time: 30 mins

    Learn from Sandesh Darne how to quickly and efficiently create new SAP UI5 controls or enhance existing controls to improve users’ web or mobile experience. Key Concept The SAP UI5 technology framework comes with a set of visual and non-visual user interface (UI) controls to develop web or mobile enterprise applications. It offers an enhancement...…

  3. Discover Custom Code Life Cycle Management Functionality in SAP Solution Manager 7.1

    Reading time: 12 mins

    ManagerCustom code life cycle management (CCLM) was designed to manage ABAP developments along the entire life cycle of custom code objects from creation of an object to use in productive systems all the way to clearing of unused custom code objects. Find out how to use a new feature in SAP Solution Manager 7.1 to...…

  4. Exploit SAP Quality Management to Handle Subcontracting Activities

    Reading time: 34 mins

    Learn about the main functionalities relevant for subcontracting activities during the production process in the case of discrete manufacturing, using the materials management (MM), Production Planning (PP), Quality Management (QM), and Financial Accounting (FI) modules. Follow details about the main customizing settings to be done in the system from a financial point of view. Key...…

  5. Change the Layout of a Standard SAP Screen Without Using Modifications

    Reading time: 17 mins

    For almost every standard SAP screen you have to change the layout according to user requirements (e.g., hide or gray out fields, set default values of fields, hide tabs on the screen, or set a default tab for the screen). Sometimes you can handle these from the IMG or transaction code SHD0, but in complex...…

  6. The Essential Guide to Custom Code Migration for SAP S/4HANA

    Reading time: 5 mins

    Custom code in enterprise software systems, particularly for SAP users, poses significant challenges during the migration to S/4HANA, necessitating thorough analysis, potential modifications, and the use of automation tools to streamline the process, reduce costs, and ensure compatibility with new system requirements.

  7. Rumble in the Jungle Round 2: Using Google Gemini to Automate SAP SAC Script Code

    Reading time: 9 mins

    In Round 2 of the ‘Rumble in the Jungle’ SAP Hackathon, Google Gemini was tested against the task of improving SAP SAC JavaScript code but ultimately failed to produce a functional solution, complicating the code beyond necessity and highlighting its inefficiency compared to ChatGPT.

  8. The Essential Guide to Custom Code Migration for SAP S/4HANA

    Reading time: 5 mins

    The article discusses the challenges and complexities of custom code migration for SAP users transitioning to S/4HANA, highlighting the need for automated tools to streamline the process, reduce costs, and maintain system performance while ensuring code compatibility and security. Membership Required You must be a member to access this content.View Membership LevelsAlready a member? Log…

  9. How to Extend the G/L Code Block in the Reporting Framework for a Live Organization

    Reading time: 28 mins

    Learn the special steps involved for implementing general ledger (G/L) code block enhancement in a live organization that uses transactional data. Key Concept According to Rohana Gunawardena’s article “Expand Your Reporting Options with an Extended G/L Code Block,” the “code block comprises all the fields that can be used to identify or categorize a general...…

  10. Rumble in the Jungle Round 1: Using OpenAI ChatGPT to Automate SAP SAC Script Code

    Reading time: 15 mins

    The article discusses the innovative advancements in AI and machine learning, particularly how they interact with SAP systems, highlighting SAP’s cautious yet essential approach to ensure security while integrating AI tools like chatbots for tasks such as coding, and the necessity of human oversight in validating AI-generated outputs through practical testing.