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.
Callaway Golf, a pioneer and innovator of golfing gear, found it was spending more time waiting for reports than on the green. Its legacy system was sluggish, with key planning reports taking up to 32 hours to complete, and user productivity was significantly lowered as a result. IT leaders knew it was time for a different strategy – first, to consolidate its 9TB database, and second to eliminate long-running batch planning processes. Hear how Callaway implemented SAP Business Suite and SAP Business Warehouse powered by SAP HANA to cut reporting time to less than seven hours and improve performance for hundreds of other smaller queries.
As new business needs arise, organizations often develop custom code to extend the functionality of their business software. Unfortunately, custom code can sometimes lead to unforeseen risks, including code vulnerabilities that leave your systems open to damaging cyberattacks. SAP NetWeaver Application Server, add-on for code vulnerability analysis helps you mitigate these risks by identifying vulnerabilities in your code during development, before a breach occurs. This article looks at how the latest features delivered with version 7.51 help make it easy to secure your code and ensure overall code quality.







