‎2006 Jun 06 6:03 AM
Hi All,
Is there any way in code inspector through which I could check the naming conventions for Tables, Data elements, Domains, Structures etc., according to project requirement( Not for FM, Reports Classes ).
Any help is highly appreciated.
Thanks & Regards,
Venkat
‎2006 Jun 06 6:17 AM
In Code Inspector For your username you can create your own variant. Just check that option and select what all checks needs to be done for that variant.
Cheers,
Thomas.
Please mark points if helpful.
‎2006 Jun 06 6:24 AM
Hi Thomas,
Thanks for reply.
Actually I know how to create a check variant, but I would appreciate if you could tell me how to create user specific variant for DDIC objects.
Regs,
Venkat
‎2006 Jun 06 6:54 AM
Venkat,
I checked the service.sap.com media library and found few documents, which may be helpful to you. Unfortunately I do not have a Code Inspector verion to check the variant creation as you mention. Check the documnets with your OSS id and let me know if you have questions.
https://websmp208.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000630780&;
Cheers,
Thomas.
‎2006 Jun 06 6:27 AM
Hi,
You can use
SE30 - Performance analysis
ST05 - SQL Trace
SLIN - Extended Check for program(Subroutines,query,forms,datatypes,domain wise)
SCI - Code inspection
Regards,
Nandha
‎2006 Jun 06 6:41 AM
Hi Nandha,
I don't want to analyse the performance and all. All I need is to implement & check the naming conventions for DDIC objects.
Regs,
Venkat
‎2006 Jun 06 7:36 AM
Goto SCI transaction and define a check variant which will examine your code for errors. In this variant you can specify the naming convention for your Local Variables, Global Variables etc. In the same variant you can define the Performance Checks like Loop within a loop, nested selects, security checks, programming conventions etc. Make the variant global so that everybody has access to it.
2. Now you are ready to use this variant. Goto SCII --> Select Single --> Select an entry from the dropdown --> give the corresponding progam name/class name --> Give a variant name under Check Variant.
3. Execute.
4. It will show all the discrepancies in your code from where you can double click and goto the respective line of code and correct the error.
Note that you can also use a STANDARD VARIANT.
‎2007 May 11 11:23 AM
Hi Anandha
I have done exactly same what u post but whenever i m executing TCode SCII then i am getting error message "Invalid Category Class <Parent Category Class> in Check Variant"..
What type of error is this i m not getting.Pls tell me how to escalate this problem.
Waiting for your reply.
Regards
Vinod
‎2025 Apr 18 10:09 AM
I have published a custom Code Inspector Check which checks DDIC Object Naming Convention, at Github with MIT license. The information is in this answer: Solved: Please any custom ABAP code to check DDIC object n... - SAP Community.