Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding Code inspector

Former Member
0 Likes
621

Hi,

I am new to code inspector. I just worked on enhancement using BADIs.

1) What is the purpose of Code inspector ?

2) How can I use code inspector for my particular code inside one of the BADI method ?

Please throw some light on this.

3 REPLIES 3
Read only

VijayasekarK
Active Participant
0 Likes
492

hi ,

Code inspector is used to analyse the program for the

following .....

- Performance checks

- Syntax Checks

- Naming Conventions , etc...

Use tcode SCI , lot many to explore...

Regards,

Vijay

Read only

Former Member
0 Likes
492

Hello Tushar,

1) Code Inspector is a tool for static analysis of ABAP Programs. You can check programs for Syntax,Extended Program Check, Performance Analysis and even Naming Conventions.

2) Go to Transaction SCII.

Under 'Object selection' tab , give your program name.

Select the list of checks you want to perform and

execute.

You can see the result of it using "Results" button

(Shift F6)

For more Information about this, the best solution is:

Search for "Code Inspector" under "How to guide".

There is a document which describes it.

Check whether this is useful.

Best Regards + Greetings,

Sasi

Read only

Former Member
0 Likes
492

Hi Tushar,

These links gives you a good idea about what the code inspector does.

1. <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/nw/a-c/code%20inspector%20user%20manual">Code Inspector User Manual</a>.

2. <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/nw/how%20to%20build%20a%20new%20check%20for%20the%20code%20inspector">How to Build a New Check for the Code Inspector</a>

3. <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/evaluating%20the%20quality%20of%20your%20abap%20programs%20and%20other%20repository%20objects%20with%20the%20code%20inspector">Evaluating the Quality of Your ABAP Programs and Other Repository Objects with the Code Inspector</a>

Regards,

Anand Mandalika.