12-13-2006 6:17 AM
In the SAP system there is a global check variant with the name DEFAULT. This is used for objects that are checked from within the transactions SE11, SE24, SE37, SE38, or SE80.
I would like to replace the DEFAULT variant with my own global check variant .So everytime a user goes to <b>program->check->code inspector</b> the checks should be done via my custom check variant instead of the DEFAULT variant.
Is it possible.I do not want to change the SAP "DEFAULT" variant.
12-13-2006 6:36 AM
u have to create a New Default. check tcode SCI
Code Inspector
Inspection Results
You can call the Code Inspector from the ABAP Editor (SE38), the Function Builder (SE37), the Class Builder (SE24), or as a separate transaction (SCI).
For callers from the ABAP Editor, Class Builder, or Function Builder:
If you have not defined your own DEFAULT variant, your object was checked with the Code Inspector's global DEFAULT check variant. If you want to change the selection of checks for your objects, you can create your own local DEFAULT check variánt from the results display. You can also do this in transaction SCI
You can enter pseudo-comments in the source code (for example "#EC CI_XYZ) to define exceptions for single checks. For the required pseudo-comments, refer to the Check Documentation.
General Comments
The Code Inspector indicates possible problems. However, note that, especially with performance issues:
There is no rule without exception.
If a program passes an inspection, it does not necessarily mean that this program will have no performance problems.
12-13-2006 6:40 AM
HI,
Run the code insector for the program, then go to UTILITIES->DEFAULT Check vairiant -> Create , create here ur own variant here and use it ehen running the program.
Regards,
Vaibhav B Gawali .
12-13-2006 7:47 AM
Hi
As I had mentioned i don't want to create a local default variant for every program.I have created my own Global variant which I want to execute through se38 for every program instead of the standard SAP DEFAULT variant.
How can I attach my own check variant to a program
02-19-2014 5:35 PM
Ravi,
answering to your question I´ll give you this steps:
1. Go to transaction 'SCI', make a copy of global DEFAULT variant and give other name, like DEFAULT_RAVI;
2. Make your changes, setting all the flags your need at the categories;
3. Go to transaction 'SE16', at the table 'SCICHKV_ALTER', set the item DEFAULT flag and click on EDIT BUTTON.
4. Change the field 'CHECKVNAME_NEW', 'RESPONSIBL', 'CREADATE' and clik on SAVE BUTTON.
Ready!
Enjoy your new GLOBAL DEFAULT VARIANT.