Code inspector problem

Hi all,
I'm checking the syntax before to release my order requests and I have several errors in code inspector.
Ok, I've fixed these errors. The problem is if I execute the code inspector again the errors are displayed again... but the code is ok, there are no errors.
It happened to me a lot of times, with several object types, may be the next day if I pass the code inspector the errors dissapears or may be not.
It's very strange. I've tried with other users, doing log off and login again... but nothing...
Do you know if exits some transaction code for "refresh" the code inspector? the buffer or something?
Thanks in advance.

Hi,
I've worked with code inspector quite a lot and I've never spoted this kind of problem. I would suspect that this is not code inspector problem but rather something is wrong with your repository objects.
If I were you I would try to debug code inspector. There is somewhere inside SCAN ABAP-SOURCE command used. Check what input is being used.
BR
Marcin Cholewczuk

Similar Messages

  • 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.

  • Execute ABAP Code Inspector from Outside of SAP

    Hi all...
    For reporting purpose, I would like to use ABAP Code Inspector (transaction SCI) for generating output as a file, it should call from outside of SAP through RFC function module and generate the list (output) as flat file (or XML), does anyone have been done with similar work like this? I wonder if you could share your experience with me...
    thanks in advance,
    yayan irianto.

    I managed to set up the variant, however found a problem.
    I used "Search ABAP Statement Patterns" under "Search Functs" and set the pattern like followings.
    SELECT + INTO *
    SELECT SINGLE + INTO *
    However following statements were detected.
    SELECT * INTO TABLE IT_DRAW FROM DRAW.
    SELECT MANDT INTO TABLE IT_DRAW FROM DRAW.
    SELECT SINGLE * INTO TABLE IT_DRAW FROM DRAW.
    SELECT SINGLE MANDT INTO TABLE IT_DRAW FROM DRAW.
    It's because + means one ABAP token in the code inspector.
    Is there anyway to find only "SELECT SINGLE *" and "SELECT *" ?

  • Differences between SLIN and Code Inspector

    Hi,
    Can anyone tell me the differences between SLIN and Code Inspector(SCI)..?
    and in which cases we use SLIN and  SCI..?
    and as an ABAPer, which one should we prefer..?
    Thanks,
    Pradeep.

    Hi
    Extended syntax check or SLIN is used to check the program in all aspects for the different syntaxes like
    When you use select single whether you have passed all the key fields or not>
    whether you have maintained the text elements texts or not,
    Have you used UNIT...CURRENCY along with the QTY and AMOUNT fields when displayed using the WRITE statement
    and check for all the varities of statements used in the code, and if there is some problem with that statement/command, it will display as error or warning.
    Check following links -
    slin
    can any one tell me abt SLIN T-CODE
    Reward points if useful
    Regards
    Anji

  • Code Inspector Selection

    Hello,
    I am trying to use the Code Inspector and I would like to check only specific Includes from a Function Group.
    In my Object Set I specified the Function Group I wanted to scan (Tab Classes, Function Groups, etc.) and I specified the Include I wanted to specially verify in the Program Tab.
    It takes a lot of time to run and I get a runtime error. I have about 10 Includes to check so it should not take that long.
    Is there a way to combine 2 different selections in the standard selection fields without considering modifying the source code?
    I've checked the Code Inspector documentation but did not really find something that could help me solve my problem.
    Does anyone have a solution?
    Thanks in advance.
    Sylvain

    Hi guys,
    Thanks for the answers but it's not solving my problem.
    Here is an example of the situation I am going through:
    The SAP standard program SAPLYDEVCM contains a lot of standard Includes and some new Customer specific Includes that were added during the project.
    I want to scan only the Customer Includes Y* and Z*. When I enter the specific Include names the Code Inspector scan all Includes of the main program SAPLYDEVCM and that is not what I want.
    Is it possible to scan only the Customer Specific Includes?
    I hope my example was clear enough.
    Thanks for the help.
    Regards,
    Sylvain

  • Transport Organizer Syntax Check using the Code Inspector

    dear fellows,
    i'm facing a problem when i check the syntax of transport. When i'm using the option to check the syntax within the transaction se01 the system starts no longer the extended check but the code inspector.
    is there any possibility to turn this code inspector check off and to get the extended syntax check again?
    or on the othe hand, which variant is used for the check and is there any possibility to change the variant that is used?
    thanks for your answers,
    Robert

    Nope... this is SAP standard code so I will reply to the OSS and wait for them to come back to you.
    Regards
    Juan

  • Abap code inspector (tx : SCI) to detect certain patterns

    Hello Experts,
    I want to use SAP Code Inspector to detect common problematic ABAP codes for all developed programs.
    But, I don't know how to make the check variant for detecting follwoing three patterns.
    SELECT * FROM
    SELECT * INTO
    SELECT SINGLE * INTO
    I guess I can use "Search for ABAP tokens" or "Search for ABAP statements paterns". But, It did'nt work because ' * ' represents any sequence of characters in the code inspector.
    Anyone can help me?

    I managed to set up the variant, however found a problem.
    I used "Search ABAP Statement Patterns" under "Search Functs" and set the pattern like followings.
    SELECT + INTO *
    SELECT SINGLE + INTO *
    However following statements were detected.
    SELECT * INTO TABLE IT_DRAW FROM DRAW.
    SELECT MANDT INTO TABLE IT_DRAW FROM DRAW.
    SELECT SINGLE * INTO TABLE IT_DRAW FROM DRAW.
    SELECT SINGLE MANDT INTO TABLE IT_DRAW FROM DRAW.
    It's because + means one ABAP token in the code inspector.
    Is there anyway to find only "SELECT SINGLE *" and "SELECT *" ?

  • Code Review of User Exits with Code Inspector

    Hi,
        We are using Code Inspector(Tcode - SCI) for checking the quality of ABAP Codes. It is working fine for all custom programs. But when we are checking the code of User Exits i: e MV50AFZ1 or ZXM06U22 then it checks the std SAP program (SAPMV50A) or (SAPLXM06) for these exits in place of checking that particular Exit only . How the customer/User Exits can be checked using Code Inspector. Pls advice.

    Hi there!
    Today, I stumbled over the same problem: Defining an Include for user exits leads to a check of the surrounding function group from SAP which I don't want to correct at all.
    Is there a nice an elegant way of filtering out the SAP modules from checking? If not, the only way to get around this seems to be building an own implementation of the Code Inspector integration into CTS.
    Thanks, Markus

  • Code Inspector: Examine programs in extern SAP systems?

    Would it be possible to call from the Solution manager the code inspector and examine a program of a connected 4.6c-er system?

    Hi there!
    Today, I stumbled over the same problem: Defining an Include for user exits leads to a check of the surrounding function group from SAP which I don't want to correct at all.
    Is there a nice an elegant way of filtering out the SAP modules from checking? If not, the only way to get around this seems to be building an own implementation of the Code Inspector integration into CTS.
    Thanks, Markus

  • Code inspector error with exception

    I have below code :
    IF P_SUMM = C_ON.
       CALL FUNCTION 'ZSD_REPORT_HEADER'             "Write std Nike header
             EXPORTING
                  PROGRAM   =  V_PROGRAM
                  LINE_SIZE =  SY-LINSZ
                  RUN_DATE  =  V_DATE
                  RUN_TIME  =  V_TIME
                  TITLE_1   =  TEXT-025
                  TITLE_5   = '1424'
                  PAGE_NO   =  SY-PAGNO.
       IF SY-SUBRC <> 0.
         WRITE: 'Problem with ZSI_REPORT_HEADER'(019).
       ENDIF.
    However in the code inspector it is giving  error :
    Program ZSDR_TOP_ACC  Include ZSDR_TOP_ACC Row 988 Column 0
    No EXCEPTION to set SY_SUBRC Declared for CALL FUNCTION 'ZSI_REPORT_HEADER'
    Thus the value of SY-SUBRC is always 0
    Could you please suggest me how to eleminate error.  YOUR Helpis highy appreciated.
    Thanks in advance and happy new year.
    Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 5:34 PM

    CALL FUNCTION 'ZSI_REPORT_HEADER'              
             EXPORTING
                  PROGRAM   =  V_PROGRAM
                  LINE_SIZE =  SY-LINSZ
                  RUN_DATE  =  V_DATE
                  RUN_TIME  =  V_TIME
                  TITLE_1   =  TEXT-016
                  TITLE_5   = '1425'
                  PAGE_NO   =  SY-PAGNO
    *ADD Exceptions even the FM does not have exceptions.
              EXCEPTIONS
                  OTHERS    = 1.
        IF SY-SUBRC NE 0.
          WRITE: 'Problem with ZSI_REPORT_HEADER'(028).
        ENDIF.
    We can add exception like above even though the exception was not declared in Function module.

  • Code Inspector Error in program

    Hi All,
    When I released the transport for a program through solution manager, it showed a warning as "program contains code inspector error. Release anyway?" and I released it since the subtask was already released and changing the program will not be possible in that transport request.  Now the program is in Quality system.  But my concern is that what problem a program can cause when it is moved to production if it contains Code Inspector error?  Since I have no much experience in ABAP.  Please advise on this.
    Regards,

    It depends on what kind of errors you got in Dev system .
    You can again check the program for code inspector errors and if there are Priority 1 errors fix them in a ne wTr.

  • 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 with 'SELECT * FROM'

    Hello all,
    I want to tell my code inspector, that it shall find
    Select * from.
    I put it in the ABAP STATEMENT PATTERNS but now the code inspector finds all selects for it interpretates * as wildcard.
    What can I do ?
    Please help
    Simone

    as you ask this question in the performance forum, I would also like to know why you want to see all 'select *'.
    If you want to solve any performance problems then I should say, that it will not help.
    Select ' are no real performance issue. Field lists are nice to have, but difference is only considerable, if you reduce the width of the table dramatically, i.e.
    it is enough if you check the very width tables.
    And please to not introduce new select statements which deviate from others just in the definition of the field list.
    The real performance issues are the indexes, or better the selects which have no proper index support.
    Siegfried

  • Using Code Inspector to search over SAP Packages

    Hallo Guru,
    I'm looking for a way to retrieve a message class number 127 "Initialization error" of message class C1 of a Package called CT.
    So, usually with Code Inspector we can search over our client Packages.
    But how I'm gone use code inspector to retrieve the different instances of code where my message number 127 is called.
    The Problem that I'm getting this error when I call the BAPI_CHARACT_CHANGE located in the Function Group CTBP
    And I don't know why I'm getting this?
    Please reply me, if you have difficulty to understand what I wrote.
    Also, please reply, if you really know how to solve the Problem.
    Thanks In Advance.
    Regards,
    Kais

    Hello,
    you can use program RS_ABAP_SOURCE_SCAN to scan sources for the message number. If you search for '127' in objects of package CT, you get a match: Include LCTMVF32, line 39.
    Hope this answers your question.
    Regards,
    David

  • Code Inspector is Whacko

    I'm about to burn the dreamweaver cdrom. I've been dealing
    with this ever since 8 came out and i've had enough so I thought I
    would check here to see if there is a fix before I uninstall the
    software.
    The problem is this: Every time I leave the code inspector,
    say, to look at the browser results, when I come back, the code
    inspector automatically scrolls somewhere to the top of the page.
    Why?! Now I have to scroll back down to where I was coding - which
    gets old real quick. Why can't code inspector just stay where I
    left it?
    It seems very counter productive to have your editor change
    the position (drastically!) of your code on the screen every time
    you leave and return.
    What is the solution for this? Thanks.

    Dude works perfectly here......
    .......view in browser and return to dreamweaver, No problem.
    Exactly where I left it.
    "beaverfish" <[email protected]> wrote in
    message
    news:fa222e$6lh$[email protected]..
    > I'm about to burn the dreamweaver cdrom. I've been
    dealing with this ever
    > since 8 came out and i've had enough so I thought I
    would check here to
    > see if
    > there is a fix before I uninstall the software.
    >
    > The problem is this: Every time I leave the code
    inspector, say, to look
    > at
    > the browser results, when I come back, the code
    inspector automatically
    > scrolls
    > somewhere to the top of the page. Why?! Now I have to
    scroll back down
    > to
    > where I was coding - which gets old real quick. Why
    can't code inspector
    > just
    > stay where I left it?
    >
    > It seems very counter productive to have your editor
    change the position
    > (drastically!) of your code on the screen every time you
    leave and return.
    >
    > What is the solution for this? Thanks.
    >

Maybe you are looking for

  • How can I make a fillable table that allows me to select text in bulk yet retains tab over ability?

    I'm working on a form in livecycle and am trying to make a form which is easy for my client to fill out and easy for me to extract the data from. Basically I am desiging a form that my clent fills out by entering data into 4 X 3 table (four rows, thr

  • IChat screen sharing does not work on my Mac Pro

    I have a weird iChat screen sharing problem that i can't seem to resolve on my Mac Pro. Ever since i got my Mac Pro in early 2008, using the screen sharing feature in iChat has always been flaky. I have never gotten to the point of getting it consist

  • Itouch 1st generation black plastic insert on back corner

    Hello, the little black plastic insert on the back corner has popped out and cannot be found.  I know this somehow covers or aids the wifi connection.  Where can I find a replacement for this, and is it necessary?  I was only able to find one online

  • Ias 10.1.2 and DISPLAY variable

    Hi all. In production I have installed aix server (5.3) with ebs 11.5.10.2 and ias 10.1.2 (in new ORACLE_HOME). Everything works fine, but to make it clear, i need help regarding DISPLAY variable. On ebs 11i, DISPLAY variable is set to non existing I

  • Cups Job History shows Name 'Unknown' User 'Withheld'

    We have previously used the cups interface to review our print job history and indenify problems with jobs that went missing at the press. This worked great in previously versions of OS X, but in Lion every job we send, regardless of what printer we