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

Code Inspector: Enhancement / Adding own rules?

Former Member
0 Likes
930

Hi All,

I wonder whether there is a way to add own rules to the Code Inspector.

With own rules I mean checking the coding against our development guidelines, just two examples:

1) Before SELECT ... FOR ALL ENTRIES it needs to be checked, whether the internal table is not initial.

2) No direct table update to SAP tables.

I locked to SCII. I believe it is not a solution to define a new check variant, since I haven't found the possibility there to add own rules (just naming conventions, searching for characters).

Thus, I wonder whether there is any user-exit, BAdI etc. I could use - or do I really have to write my own parser - which would be a nightmare (multiple meanings of statements (INSERT can change an internal table or database table - depending on the table / variable given); considering global variables, method parameters etc.).

Any advise is welcome!

Best regards

Lars

2 REPLIES 2
Read only

Former Member
0 Likes
571

Hi Lars,

Check the below link to customize SCI as per your requirement.

http://sapignite.com/enhancement-of-code-inspector/

<removed by moderator>

Thanks

SA

Edited by: Thomas Zloch on Feb 18, 2011 5:44 PM - please do not beg for points, age old thread by the way

Read only

0 Likes
571

Hi Sa,

Tried to implement the suggested code but did't work , is there any other way to enhance SCII.

Thanks in advance,

Pavan.