05-24-2006 6:47 AM
Hi all,
We have been assigned to make our own code inspector in 4.6 right from scratch , at this point of time we are not able to understand how to proceed.Kindly help with the flow.
Regards
Gaurav Mehrotra
05-24-2006 6:55 AM
Hi try this
To build a new Code Inspector check, you have to do the following:
· Create a new global class that extends one of the existing Code Inspector classes
· Implement the instance constructor
· Implement the actual check routine in the RUN method
· Implement method GET_ERROR_TEXT to output message texts
· Include the new check into the check variant tree
Additionally, if your check has user parameters:
· Add user parameters as private class attributes to your check class
· Set flag HAS_ATTRIBUTES in the instance constructor
· Implement methods GET_ATTRIBUTES and PUT_ATTRIBUTES to get and write away attributes
· Implement method QUERY_ATTRIBUTES of interface IF_CI_TEST to create the Pop-Up for the parameter input
Hope thsi Helps
Anirban
05-24-2006 6:50 AM
Hi gaurav,
1. Probably this may help u a little.
2. To read the source code of a program,
just copy paste to get a taste of it.
3.
report abc.
DATA prog(30) TYPE c.
DATA itab TYPE TABLE OF string.
prog = sy-repid.
READ REPORT prog INTO itab.
break-point.
regards,
amit m.
05-24-2006 6:50 AM
HI
GOOD
I DONT THINK THERE IS ANY NEED TO DEVELOP YOUR OWN CODE INSPECTOR,ANY WAY YOU CAN GO THROUGH THE CODE INSPECTOR GIVEN BY SAP.
TCODE -SCI
YOU GO THROUGH THIS AND IT WILL SOLVE YOUR ALL PERFORMANCE ISSUES.
THANKS
MRUTYUN
05-24-2006 6:55 AM
Hi try this
To build a new Code Inspector check, you have to do the following:
· Create a new global class that extends one of the existing Code Inspector classes
· Implement the instance constructor
· Implement the actual check routine in the RUN method
· Implement method GET_ERROR_TEXT to output message texts
· Include the new check into the check variant tree
Additionally, if your check has user parameters:
· Add user parameters as private class attributes to your check class
· Set flag HAS_ATTRIBUTES in the instance constructor
· Implement methods GET_ATTRIBUTES and PUT_ATTRIBUTES to get and write away attributes
· Implement method QUERY_ATTRIBUTES of interface IF_CI_TEST to create the Pop-Up for the parameter input
Hope thsi Helps
Anirban
06-14-2007 5:00 PM
Hi Anirban,
I'm investigating code inspector for my company and may have a need to develop some custom checking too. Would it be possible for me to contsct you by phone?
You can email me directly at soyab.husein@tycoelectronics.com.
Thanks.
Soyab
05-24-2006 7:00 AM
Hi Gaurav,
Code Inspector is a tool by which you can check your objects (classes, FMs, programs) through transaction SCI..Moreover, you can add ur own checks within it.
If you can send your mail id , I can send u a very nice document on how to implement SCI.
Regards,
SP.
02-20-2007 9:38 AM
Hi SP,
I want to add my own checks within the code inspector, in 4.7 version. It would be very helpful if you send me the document on how to implement SCI. My mail id is - ashiqhafeez@gmail.com
Thanks and Regards,
Ashiq
05-10-2007 1:35 PM
Hi Sylendra
Could u pls send me the doc to my personal id "vinod_sap@rediffmail.com".
I am also facing problem while creating a new checks for naming convention.When ever i am trying to create a new check variant then getting errors
"Invalid Parent Class <Parent Category Class> in Check Variant",I am not getting the solution of this.
Could u pls help me out if u can.
Waiting for your reply
Regards
Vinod Tiwari
07-25-2007 12:36 PM
hi Sylendra !
I'm also working on customized CI checks. Could you send me your document concerning ci implementation ?
Thank's in advance, my email is: paul.flipo@gmail.com
Message was edited by:
paul flipo
05-24-2006 7:01 AM
Hi,
Check this report if it is helpful to you.
RPR_ABAP_SOURCE_SCAN
Regards,
Suresh
05-24-2006 7:05 AM
Thanks for your replies but i don't need a new check instead i have to design the same code inspector as in 4.7 .The fuctionality is clear .
05-24-2006 7:58 AM
You can have SAP's Code Inspector in 46C. Check OSS note 543359 /Code Inspector for SAP R/3 Release 4.6C/, you can download the transport files via the Marketplace and ask your basis team to import it.
It's easier:-)
Peter
10-18-2007 11:45 AM
Hi Sylendra!
I'm working in my company improving the quality of ABAP code. Could you send
me your document about transaction SCI?
My email is herica.nobrega@arcelor.com.br
Thanks a lot.
herica