0% found this document useful (0 votes)
61 views12 pages

Code Inspector Code Inspector

The code inspector tool allows users to check ABAP code for performance, security, syntax, and other attributes. It can check single objects like programs or classes, or sets of objects. Users access the code inspector from different objects like programs or classes by choosing "Check" then "Code Inspector" in the menu. The code inspector will run checks based on a default variant or a custom variant created by the user. After inspection, results are displayed hierarchically by category and check, with messages containing code positions and explanations. Double clicking messages navigates to the inspected code line. Check variants are created, displayed, changed and deleted using transaction SCI to include desired single checks.

Uploaded by

Sanjay P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views12 pages

Code Inspector Code Inspector

The code inspector tool allows users to check ABAP code for performance, security, syntax, and other attributes. It can check single objects like programs or classes, or sets of objects. Users access the code inspector from different objects like programs or classes by choosing "Check" then "Code Inspector" in the menu. The code inspector will run checks based on a default variant or a custom variant created by the user. After inspection, results are displayed hierarchically by category and check, with messages containing code positions and explanations. Double clicking messages navigates to the inspected code line. Check variants are created, displayed, changed and deleted using transaction SCI to include desired single checks.

Uploaded by

Sanjay P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Code Inspector

Code Inspector
With the help of the code inspector you
can check your ABAP code for
performance, security, syntax, error
proneness and Statistical information.
You can perform different code checks
using this tool on a single object (simple
check on programs, function modules,
classes, ddic) or a set of objects (special
check on set of objects).
Calling code inspector for single objects is very easy, to call it from
programs go toProgram (SE38)then from the menu
chooseCheck=> Code Inspector
From Function Modules go toFunction Modules SE37then from
the menu chooseCheck=> Code Inspector.
And from a class go toClass (SE24)then from the menu
chooseCheck=> Code Inspector.
And from a Data Dictionary go toTable (SE11)then from
the menu chooseCheck=> Code Inspector.
And from a Data Dictionary go toTable (SE11)then from
the menu chooseCheck=> Code Inspector.
After calling the code inspector your
ABAP code will be checked using the
Default Check Variant deliver as standard
for the Code Inspector,
but you can create your own Check
Variant.
When the code inspector finishes its
inspection you will get the results in
hierarchal order.
This hierarchy contains list of checks on each category i.e.
Performance, Security, Syntax, and General. By going down
the hierarchy we can see the Messages which contain the
source code position and a short explanatory text.
And by double clicking on the message text you can go to the
.inspected line of code
Creating a Check Variant

Check Variants are also created, displayed, changed, deleted and


copied with transaction
SCI. To create a Check Variant, enter a suitable name and click Create.
You obtain a tree
containing all check categories with their respective single checks. Add
single checks to
.your Check Variant just by clicking the tree

You might also like