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

SAP Code Inspector

Former Member
0 Likes
846

Hi Everyone,

In our project we have a requirement to automate the code review checklist preparation to the maximum extent possible.

Code Inspector has some standard checks included into it from which we can select the relevant checks for inspection purpose. My question is, whether we can customize it to add few more checks to meet our requirement or whatever standard check is there is the most we can have??????

SAP Ver 4.6c.

Any links to download relevant materials?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
736

Hi,

SLIN is a check tool provided by the ABAP runtime to perform a fixed set of tests on ABAP source code only. Code Inspector is a integration platform for test tools, which allow to execute any kind of test tool including SLIN.

So if you favor the one fits it all strategy Code Inspector is the hammer of choice, as it provides more features. If simplicity is your objective and you are lucky with the checks contained in SLIN you will stay with it.

Please check these links ...

http://help.sap.com/saphelp_nw04/helpdata/en/8d/4b64488cce3945ba42b059319d62dc/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/56/fd3b87d203064aa925256ff88d931b/frameset.htm

Thanks,

Reward If Helpful.

5 REPLIES 5
Read only

Former Member
0 Likes
737

Hi,

SLIN is a check tool provided by the ABAP runtime to perform a fixed set of tests on ABAP source code only. Code Inspector is a integration platform for test tools, which allow to execute any kind of test tool including SLIN.

So if you favor the one fits it all strategy Code Inspector is the hammer of choice, as it provides more features. If simplicity is your objective and you are lucky with the checks contained in SLIN you will stay with it.

Please check these links ...

http://help.sap.com/saphelp_nw04/helpdata/en/8d/4b64488cce3945ba42b059319d62dc/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/56/fd3b87d203064aa925256ff88d931b/frameset.htm

Thanks,

Reward If Helpful.

Read only

Former Member
0 Likes
736

Hi,

Code Inspector is a integration platform for test tools, which allow to execute any kind of test tool including SLIN.

Check this.. Show a detailed explanation of Code Inspector

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/695918cd-0d01-0010-2091-d7862084...

http://help.sap.com/saphelp_nw04/helpdata/en/56/fd3b87d203064aa925256ff88d931b/frameset.htm

Go thru the following Thread,

Regards,

Padmam.

Read only

Former Member
0 Likes
736

Hi sayantan,

see all this answers what u get to ur post is 90% from this forum itself...... better to search before posting any question..

All the best

Go for Tcode SCI.

The static code inspector (transaction SCI) is an enhancement SAP included for the Web Application Server based releases of R/3. It has been well integrated in the standard ABAP editors for that release. You don't have to upgrade to R/3 Enterprise, however, to enjoy the features and functions it offers because it has been retrofitted to 4.6C as an attachment to OSS Note 543359. The code inspector is "static" in the sense that it does not dynamically check the code in debug mode, but rather by ...

**************

SLIN is a check tool provided by the ABAP runtime to perform a fixed set of tests on ABAP source code only. Code Inspector is a integration platform for test tools, which allow to execute any kind of test tool including SLIN.

So if you favor the one fits it all strategy Code Inspector is the hammer of choice, as it provides more features. If simplicity is your objective and you are lucky with the checks contained in SLIN you will stay with it.

Check following links -

Reward if helpful.

Thanks

null

null

Read only

Former Member
0 Likes
736

Hi,

There are lots of additional validations which you can add.

eg,

1. SELECT query inside loop...

2. READ statement without binary search,

3. FOR ALL ENTRIES is used but internal table is not checked for content availability etc

5. Naming conventions etc

/people/community.user/blog/2006/11/22/sap-code-inspectorsci

You can create your own program to do such validations.

Best regards,

Prashant

Read only

Former Member
0 Likes
736

Prashant,

Thanks for your reply. But can you be more elaborate on how to include those checks in SCI that you have mentioned.

Also if you have a code for that can you share it, it would be of great help.

Thanks,

Sayantan