Code Inspector for 4.6b version

Hi all,
I need to use something like Code Inspector in a R/3 version 4.6b. Does anyone know what can be used instead of Code Inspector (it seems that it is impossible to install SCI on 4.6b)?
Please, help.
Thanks!
Patricia

Hi Patricia!
This release is far to old for the modern tools. You might install (locally) a NetWeaver preview version, copy your soucecode and run the test on this preview release. But you need also all the dictionary objects...
But an extended program check, running with all options active, gives already about 50% of the code inspector results. In addition some select statement checks are done - but with a careful check, this is manually possible, too.
Regards,
Christian

Similar Messages

  • Code Inspector for Module program

    Dear all,
    in release time, this error is detected by code inspector..............................I/O field (output field) ZZWERKS1 has no accessible label........................how can i hide it.
    actually for this no pseodo code is available.

    No,          Suppose i have created one Module pool.
    When i m going to use code Inspector for that one error is occured......................ZZWERKS1 has no accessible label.
    Actually for Plant i have created only input field without Label as per requirement.
    Now my question is that how i can hide this error message.

  • Code inspector for unreleased FM

    Hello,
    Is there a quick way to detect if a package or program is using an unreleased FM?
    Thank you

    Dear Joao,
    I ran some scans on objects with not released functions but unlucky, it didn't raise any message.
    However, you can scan your objects with the test 'Search Functs.' --> 'Search for ABAP Statements with Regular Expressions' and FUNCTION as expression. You will get a list with all the FM calls in your search set and can then manually check if they are unreleased. Cumbersome but better then passing thru all the sources.
    Hope this will help you.
    regards,
    Hans

  • Code inspector error in smartform

    Hi ,
           When iam running code inspector for smartform . this is the error that iam getting ==> The type of the VALUE parameters "JOB_OUTPUT_INFO" contains one or more tables whose row types in turn contain internal tables and also says that ==> The TADIR entry for /1BCDWB/SAPLSF00000185 is missing .
    Thanks in advance .

    Hello Ms. Anupama,
    Thanks for the immediate reply.
    I have already created a message class for messages required in validations of smartforms.
    Error: Message 023 :Entry in TADIR table for smartform FM is missing.
    But when checked in TADIR table there is entry for smartform, Message class present.
    Please do help.
    Thanks once again

  • Regarding Code inspector

    Hi,
    I am new to code inspector. I just worked on enhancement using BADIs.
    1) What is the purpose of Code inspector ?
    2) How can I use code inspector for my particular code inside one of the BADI method ?
    Please throw some light on this.

    Hi Tushar,
    These links gives you a good idea about what the code inspector does.
    1. <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/nw/a-c/code%20inspector%20user%20manual">Code Inspector User Manual</a>.
    2. <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/nw/how%20to%20build%20a%20new%20check%20for%20the%20code%20inspector">How to Build a New Check for the Code Inspector</a>
    3. <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/evaluating%20the%20quality%20of%20your%20abap%20programs%20and%20other%20repository%20objects%20with%20the%20code%20inspector">Evaluating the Quality of Your ABAP Programs and Other Repository Objects with the Code Inspector</a>
    Regards,
    Anand Mandalika.

  • Implement Naming convention using code inspector

    Hi,
    We have to implement naming convention using code inspector,if anybody has already done it plz help
    me inunderstanding the problem.
    help is appreciated.

    We're also using the code inspector for naming conventions.
    Try this link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/nw/how to build a new check for the code inspector
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/evaluating the quality of your abap programs and other repository objects with the code inspector

  • Code Inspector - Naming conventions &mExtended Naming conventions for Progs

    Hi experts,
    I had a look into the naming conventions enforced by 'DEFAULT' variant of code inspector (SCI).
    the relevant categories are: "Naming Conventions", and "Extended Naming conventions for Programs" under "Programing conventions".
    in the "Extended Naming conventions for Programs" category, for functions, (applicable while calling the functions) it says,
    importing parameter : I[:type:]_
    exporting parameter : E[:type:]_
    changing parameter  : C[:type:]_
    tables parameter    : T[:type:]_
    but in the "naming conventions" category, for functions (applicable while defining the functions), it says,
    importing parameter : P_*
    exporting parameter : P_*
    changing parameter  : P_*
    tables parameter    : P_*
    I felt, while defining the function too, its better to have beginning with  I_, E_, C_ or T_ instead of P_
    is the 'DEFAULT' variant of code inspector is provided and recommended by SAP?
    for easier maintenance and clearer understanding, which naming convention is more suitable, or is there any official guidelines released by SAP for ABAP developers.
    appreciate the opinions from experienced abap developers.
    thanks,
    Madhu_1980

    Frank,
    Thanks for your answer.
    But what about Entity Objects, View Objects, View Links, and Application Modules.
    I would like my developers to have an easy way to name them and also find them via intellisense.
    So I was thinking in naming them the following way :
    Entity Objects :
    EO_Employee
    EO_Department
    View Objects :
    VO_Employees
    VO_Departments
    View Links :
    VL_EmployeesToDepartments
    Application Module :
    AM_HRService
    However the use of "_" is not so "Java naming oriented".
    So other alternatives would be:
    1. take the "_" :
    1.1 EOEmployee (I don't like the fact of having 3 capital letters together).
    1.2 EoEmployee (I don't like the fact of having Entity Object with a lowercase "o").
    2. Use the prefix at the end, but this way I loose the intellisense feature I want:
    ex: EmployeeEO
    Which naming approach are you using for big projects ?
    Thanks,
    Claudio.

  • Code Inspector/ATC checks for VKOS/VKOI object types

    Dear Experts,
    I found a strange behavior while executing CI checks on a transport request. TR contained only IMG Activity objects (Object Type VKOS/VKOI). After CI checks it gave errors "Recognized dead code". There is no coding for these kind of object type, I don't know where it was able to find the dead code. On debugging I found that, it is trying to populate Program name concatenatinv " SAPIC " and the object type. ( SAPICVKO). But there is no such program existing. It then gives "Recognized dead code" error.
    Has anyone faced such error before? I guess this is error in the standard program.
    Thank you.

    Other language NUnit test frameworks similar to ABAP Unit (AUnit) commonly have project extensions for storing test results. These are useful for the unit level regression (did a new change break any existing functions). History of test results, help narrow down the nature of a current failure by answering the question of 'When did this break?' or when did it last pass? In systems dependent upon outside components the history can provide a pattern for occasional failures due to factors outside the system under test.
    I see that ABAP unit test results can be added into the Code Inspector under the Check Variant.
    1. Is it common or recomended to use the Code Inspector (SCI) to store AUnit test results?
    2. Is it common or recomended to use Code Inspector Object variants to collect individual AUnit tests for a regresssion style 'TestSuite'?
    3. What reporting or tools exists for Code Inspector history?
    4. Is Application Logging the better spot for AUnit results history?
    (also posted on the wiki.. apologies - I'm new to the forum and wiki)
    Will Loew-Blosser

  • T Code for Code Inspector in 4.6c

    Hi,
    Please tell me what is the T Code for Code Inspector in 4.6 C..

    In 4.6c SCI is not available , For getting that you need to reimport using the sap note 543359

  • I am qualified for the free version of lion...once I took a snap shot of my proof of purchase, it said it would send me a confirmation email with a code and it never did?

    I am qualified for the free version of lion...once I took a snap shot of my proof of purchase, it said it would send me a confirmation email with a code and it never did?

    You will get a .pdf file with the Redemption Code in it in your registered email inbox. You will have to enter the Redemption Code into the Redeem link on the right in App Store.
    You will also receive an additional email with a password to open the .pdf file from the first email.
    Enter the password to .pdf file > Copy the redemption code and enter it in App Store > Enter your Apple ID and password  in the App Store pop-up > Poof!!! Magic! Your OS X Lion icon shows up in your dock and the download begins!

  • Native code (c++ exe)  for detecting jre version

    hi,
    we have got a cd to be sent to customers. if no java enviroment is present or , jre vversion is below 1.5 we must force user to setup jre 1.5.
    our setup must begins with a c++ exe( while there could be no java enviroment on machine). how do we understand which version or not he is using.
    could there be a small utility or something like thar? or could we find sources with c++ for this topic.

    i taught a trick infact, could it be i write some java code
    System.getProperty("java.vm.version");
    convert it in a native code and get it, is it to nonsense

  • Is marvel the code name for the next Portal version?

    I played around a bit in Marvel and I notice similar functionality in Portal.
    Is marvel the code name for the next Portal version?

    actually, joep, project marvel differs from portal in several respects. primarily, though, oracle portal is geared more towards content management whereas project marvel focuses more on application development.

  • Customizing the code inspector with check for two executable statements in same line

    Hi Everyone,
    I have a reuirement to customize the code inspector.I need to create a check 'Two executable statements should not be in the same line'.
    While doing so i am facing one problem as in internal table it is capturing the report as word by word with same row number nd different line number.
    If anyone have worked on this before then help me out.
    I am using CL_CI_TEST_SCAN as superclass and making the changes in the run method.
    Regards,
    Khushboo

    In the source code you will have this in comment right, use the "#EC ENHOK.

  • Search Example Code inside for Versioned and non-Versioned Documents

    These may be of use to someone...
    File names:
    AttributeSearch.java
    AttributeContentSearch.java
    The AttributeSearch application will search for documents (both versioned and non-versioned) with a file name containing "txt", residing in the user "system"'s home directory.
    The AttributeContentSearch application will search for documents (both versioned and non-versioned) with a file name containing "txt", and document content containing the word "hello", residing in the user "system"'s home directory.

    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.common.CleartextCredential;
    import oracle.ifs.common.ConnectOptions;
    import oracle.ifs.common.IfsException;
    import java.util.Locale;
    import oracle.ifs.beans.DirectoryUser;
    import oracle.ifs.beans.PrimaryUserProfile;
    import oracle.ifs.beans.PublicObject;
    import oracle.ifs.beans.Document;
    import oracle.ifs.beans.Folder;
    import oracle.ifs.beans.ContentObject;
    import oracle.ifs.beans.Search;
    // SEARCH RESULT
    import oracle.ifs.beans.SearchResultObject;
    // CONTENT + ATTRIBUTE SEARCH
    import oracle.ifs.search.ContextSearchSpecification;
    // SELECT, FROM
    import oracle.ifs.search.SearchClassSpecification;
    // ORDER BY
    import oracle.ifs.search.SearchSortSpecification;
    // WHERE
    import oracle.ifs.search.SearchClause;
    import oracle.ifs.search.SearchQualification;
    import oracle.ifs.search.JoinQualification;
    import oracle.ifs.search.FolderRestrictQualification;
    import oracle.ifs.search.AttributeQualification;
    import oracle.ifs.search.ContextQualification;
    public class AttributeContentSearch
    public static void main(String args[])
    try {
    LibraryService ifsService = new LibraryService();
    System.out.println("Oracle iFS Version " + ifsService.getVersionString());
    CleartextCredential credentials = new CleartextCredential("system","manager");
    ConnectOptions options = new ConnectOptions();
    options.setLocale(Locale.getDefault());
    options.setServiceName("ServerManager");
    options.setServicePassword("ifssys");
    LibrarySession ifsSession = ifsService.connect(credentials,options);
    DirectoryUser thisUser = ifsSession.getUser();
    System.out.println("Connected as \"" + thisUser.getDistinguishedName() + (thisUser.isAdminEnabled() ? "\" (admin enabled)" : "\""));
    PrimaryUserProfile userProfile = thisUser.getPrimaryUserProfile();
    SearchResultObject[] sro = runSearch (ifsSession,"hello");
    if (sro != null)
    for (int i = 0; i < sro.length; i++)
    System.out.print (((PublicObject)sro.getLibraryObject()).getName());
    System.out.println (" (" + ((PublicObject)sro[i].getLibraryObject()).getId() + ")");
    } catch (IfsException e)
    public static SearchResultObject [] runSearch( LibrarySession ifsSession, String searchCriteria) throws IfsException
    ContextSearchSpecification ss = null;
    SearchClassSpecification scs = new SearchClassSpecification();
    SearchSortSpecification sss = new SearchSortSpecification();
    SearchQualification sc = null;
    ss = new ContextSearchSpecification();
    ss.setContextClassname(ContentObject.CLASS_NAME);
    scs.addSearchClass( PublicObject.CLASS_NAME );
    scs.addSearchClass( Document.CLASS_NAME );
    scs.addSearchClass( ContentObject.CLASS_NAME );
    scs.addResultClass( Document.CLASS_NAME );
    sss.add( Document.CLASS_NAME, "NAME", true );
    sc = buildSearchClause( ifsSession, searchCriteria);
    ss.setSearchClassSpecification( scs );
    ss.setSearchQualification( sc );
    ss.setSearchSortSpecification( sss );
    Search s = new Search( ifsSession, ss );
    s.open();
    SearchResultObject [] sro = s.getItems();
    s.close();
    return sro;
    public static SearchQualification buildSearchClause( LibrarySession ifsSession, String searchCriteria ) throws IfsException
    Folder f = ifsSession.getUser().getPrimaryUserProfile().getHomeFolder();
    FolderRestrictQualification frq = new FolderRestrictQualification();
    frq.setStartFolder( f );
    frq.setSearchClassname(PublicObject.CLASS_NAME);
    AttributeQualification aq = new AttributeQualification();
    aq.setAttribute(Document.CLASS_NAME, PublicObject.NAME_ATTRIBUTE);
    aq.setOperatorType(AttributeQualification.LIKE);
    aq.setValue("%txt%");
    ContextQualification cq = new ContextQualification();
    cq.setQuery(searchCriteria);
    cq.setName("Test0");
    JoinQualification jq1 = new JoinQualification();
    jq1.setLeftAttribute ( Document.CLASS_NAME, Document.CONTENTOBJECT_ATTRIBUTE );
    jq1.setRightAttribute( ContentObject.CLASS_NAME, null);
    JoinQualification jq = new JoinQualificatio n();
    jq.setLeftAttribute ( PublicObject.CLASS_NAME, PublicObject.RESOLVEDPUBLICOBJECT_ATTRIBUTE );
    jq.setRightAttribute( Document.CLASS_NAME, null);
    SearchClause sc;
    sc = new SearchClause(jq, jq1, SearchClause.AND);
    sc = new SearchClause(sc, cq, SearchClause.AND);
    sc = new SearchClause(sc, frq, SearchClause.AND);
    sc = new SearchClause(sc, aq, SearchClause.AND);
    return sc;
    null

  • How to create and transport my own globel check variant for Code Inspector

    Hi,
    I want to create my own global check variant with Code Inspector, so that I can transport the Variant in other systems, but I can not save my variant whitout registering a SSCR-Key.
    Can anybody help me?
    Best regards
    Marcus

    I have solved it myself and will post the solution here soon.

Maybe you are looking for