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. How to Read Infotype Data Using Standard Classes and Methods

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

  2. Creating and Using a Web Service in SAP ERP

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

  3. 4 Steps to Develop a Point of Sales (POS) with SAP Screen Personas 3.0

    Reading time: 14 mins

    Learn how to make adjustments to the Create Sales Order transaction (transaction code VA01) using SAP Screen Personas 3.0. See how SAP Screen Personas 3.0 helps make the process of inputting values for a point of sale (POS) order faster and more intuitive than completing this process in a standard SAP system Key Concept The point...…

  4. Tips to Ease Configuring of Payslips with SAP HR Forms Workplace

    Reading time: 8 mins

    Many organizations face the problem of not being able to see all the payslips within a payroll area in a single PDF file or to print out payslips in PDF format in bulk to deliver to employees. Learn two options for overcoming these issues using enhancements offered by the HR Forms Workplace. Key Concept SAP...…

  5. How to Accelerate Your Inventory Sorting Using Batch Search Strategy

    Reading time: 29 mins

    Discover how to set up and use a batch search strategy to accelerate inventory sorting with business scenarios. Learn certain precautions to take while implementing the use of batch search strategy functionality. Key Concept The SAP system has provided a system strategy to efficiently sort materials or product batches in inventory using batch search strategy...…

  6. How Parallel Processing in the Foreground Can Improve Performance

    Reading time: 10 mins

    Discover how you can use parallel processing techniques in the foreground to process large amounts of data and improve your SAP CRM system performance. Key Concept In SAP CRM, you use foreground work process distribution to make reports and programs faster or to reduce the processing time for complex dialog programs. With it, you can...…

  7. Deliver Dashboards Recruiters Need with the Personal Object Worklist in SAP E-Recruiting

    Reading time: 25 mins

    Learn how the dashboards delivered with SAP E-Recruiting provide recruiters with a snapshot of their recruiting work and enable them to perform tasks quickly. Understand how the Personal Object Worklist enables SAP E-Recruiting dashboards, and see how to configure and develop custom dashboards to meet the recruiting needs of various users. Key Concept The Personal...…

  8. Design Tips for Getting the Most Out of HANA

    Reading time: 20 mins

    Learn how to get the best out of your SAP Business Suite on HANA with these step-by-step guidelines. A comparison of five methods of reporting shows how to take advantage of the in-memory database in ABAP applications. Key Concept Upgrading to SAP Business Suite on HANA makes your existing applications run faster compared with the...…

  9. Upgrades Part 5: Ensure that Your Enhanced Infotypes Comply with Unicode

    Reading time: 8 mins

    When upgrading from R/3 4.6C to a more recent release, many companies encounter a severe error with user exit PBAS0001. You can fix it by following these steps. Key Concept Starting with SAP R/3 4.7 all SAP-delivered software meets Unicode compliance standards. Therefore, custom user exit code is subjected to the same Unicode compliance checks....…

  10. Supply Chain image

    Supply Chain: Solving Stock Transport Order (STO) Problems

    Reading time: 12 mins

    A common challenge experienced by users in the supply chain functions of a business who create stock transport orders (STO) in SAP ERP Central Component (SAP ECC) is that once they have done so, they are not able to create an outbound delivery for the STO. These problems are common to all types of STO…