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.

Similar Messages

  • Code Inspector and Extended program check in one program

    Hello SAP gurus,
    We have a requirement where we need to create one tool which will have both code inspector and extended program check functionality and report should display all error, warning messages which are found from these checks.
    Can anyone provide some suggestions on this?
    Thanks,
    Khushboo Dand

    Hi,
    Go  to Se38 and check how code inpsector and extended syntax check. I dont remember the exact function module name but just debug a little u will be able to find it.
    Nabheet

  • Code Inspector Error

    I am validating the delivery status field in vbuk table as it exists in my selection screen.
    I am not having vbeln field in my selection screen .
    CODE INSPECTOR ERROR:
    Large table VBUK: No field of a table index in WHERE CONDITION.
    I am getting above error how to resolve this.
    Is there any other solution to resolve this error rather than creating secondary index on this field.
    METHOD  validate_delivery_status.
    IF s_lfstk-low IS NOT INITIAL.
    SELECT lfstk
    INTO g_lfstk
    FROM vbuk UP TO 1 ROWS
    WHERE lfstk EQ s_lfstk-low.
    ENDSELECT.
    IF sy-subrc NE 0.
    IF g_lfstk IS INITIAL.
    MESSAGE e043(z12). “ There is no data match your selection.
    ENDIF.
    ENDIF.
    IF s_lfstk-high IS NOT INITIAL.
    CLEAR g_lfstk.
    SELECT lfstk
    INTO g_lfstk
    FROM vbuk UP TO 1 ROWS
    WHERE lfstk EQ s_lfstk-high.
    ENDSELECT.
    IF sy-subrc NE 0.
    IF g_lfstk IS INITIAL.
    MESSAGE e043(z12). “ There is no data match your selection.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDMETHOD.    
    Thanks in Advance
    Regards,
    Avinash.                  

    There's no need to keep repeating information already given.
    As it stands your validation won't work. What if the user enters a selection of ranges? Or an exclusion? Or just an "*" to get everything?
    Use the correct function module to get the valid values for the domain LFSTK (see here: GET DOMAIN FIXED VALUE - Code Gallery - SCN Wiki) into an internal table. Then
    DATA match TYPE abap_bool. match = abap_false. LOOP domain_values INTO domain_value. CHECK domain_value IN s_lfstk. match = abap_true. ENDLOOP.
    IF match EQ abap_false.
    ..." Sorry, pal, not valid.
    ENDIF.
    Validating select options is not straightforward. If you need to validate against a db table, then you can only use
    SELECT SINGLE blah FROM dbtable INTO otherblah WHERE field IN s_field.
    IF sy-subrc IS NOT INITIAL:
        " Sorry, pal, not valid
    ENDIF.
    Which, as you've seen, is not very efficient.

  • Select query gives error in Code inspector and extended program check

    Hi,
    I have a query .
    SELECT pernr
      FROM pa9100
      INTO TABLE t_nca_tab
      WHERE endda EQ c_date AND
      z_nca_required EQ c_yes.
    This query gives me an error in Code inspector like :
    Large table pa0001: No first field of table index in WHERE  condition
    I have one more query that gives error in extended program check
    SELECT SINGLE stell ename
          INTO (g_stell, g_name)
          FROM pa0001
          WHERE pernr EQ wa_nca_tab-pernr AND
                endda EQ c_date.
    The warning says:
    *In "SELECT SINGLE ...", the WHERE condition for the key field "SEQNR" does not
    test for equality. Therefore, the single record in question may not be unique.*
    Its too urgent.
    Please reply.
    Regards,
    Binay.

    The first field is PERNR .. so if UR not giving pernr it will fetch
    all the data from the said table and between the given dates ..
    Check if this is your requirement ...
    write the select as ...
    where r_pernr is a range ...
    SELECT pernr
    FROM pa9100
    INTO TABLE t_nca_tab
    WHERE pernr in r_pernr  <----
                 endda EQ c_date AND
                 z_nca_required EQ c_yes.
    As UR using select single it's expecting to use all the key
    fields in the where condition ...
    U can ignore this warning message

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

  • To get Code Inspector Errors into an internal table

    Friends,
    My requirement is to report if there exists any Error, warning or information in the Code Inspector & SLIN. I need to include these values in a report.
    For this i will have to get these values into my program. Any idea how can this be achieved?
    Many Thanks!
    Abhinav siddharth

    Hi Lakshman,
    Could you please help me figuring out the parameters requried to execute these FM's?
    I could run 'EXTENDED_PROGRAM_CHECK' but i could not see the result.
    Thanks,
    Abhinav Siddharth

  • Code Inspector Errors during Upgrade?

    Hi,
    We are moving from 4.7 to Netweaver 7 . During the upgrade we found there are errors using Code inspector, Please confirm me that whether errors coming thru Code inspector , whether we need to correct these?
    But the programs have no syntax errors, all programs compiled properly.
    Thanks
    Sa_R

    Hi,
    Its not required to resolve all of them, they will be arranges as Errors, Warnings etc.
    So try to resolve the Errors.
    Each error has how it can be solved some times they will give you options to hidethe rros by putting some comments on the perticular line.
    Regards,
    Sesh

  • Code Inspector Errors

    Hi ,
    When i am checking my code(Module Pool Program) with Code Inspector it is showing some errors in User Interface saying ..
    ==> I/O field (input field) ... has no accessible label
    Can any one tell me abt this what exactly could be the error .... ( Syntactically Correct & also activated Well ).
    Waiting for ur reply.....
    Regards,
    Srinath

    Usually when we create input field from dictionary, input field is accompanied by a label on its left. And if you see carefully there is a line connecting the label and the input field.
    Do you have any input field which doesn;t have corresponding label, or is there any label and input field pair where you cannot see the line connecting them.
    In former case define label for the input field (in same line) and check that in property window of label on 'display' tab either checkbox 'As label on left' or 'As label on right' is checked. In latter case just check the property and check these two checkbox.

  • ABAP Runtime ERROR Error Code & Syntax Error in program SAPLSFES

    Hi,
    I am installing SAP XI 3.0 and as part of that I have installed the ABAP and Java WAS. I am applying SPs for the ABAP stack and I successfully applied the BASIS SPs 10 and 11(applied seperately). I was applying the SPs 12 and 13(together) and after running for some time the system crashed and I restarted the O/S and SAP to see that the SPs didn't go thru. Now when I try to log on using SAP GUI, it says "<b>ABAP Runtime ERROR Error Code</b>" which is blank and at the Bottom there is this message "<b>Syntax Error in program SAPLSFES</b>".
    Pls any one help me ,
    Kind Regards,
    Gopi.

    Hi Gopi,
       If u r applying patches, the system would be running a background job SAPLSTPA. Hence you willnot be able to login till the job is complete.
      You can check the job completion in the Windows MMC console.
    Rgds
    Ganesh

  • Code Inspector Error Code MESSAGEG_H

    Hello Guys,
    I'm running code inspector and in Syntax check/Generation and subdivision suspect conversions, am getting an error called "Truncation in the Conversion from ABAP type 'C'(length 64 ->20).
    While I understand what the error is about...i don't want to modify the code. Is there any workaround like putiing some "EC Check" at the end of the line so as to hide that error.
    Thanks a lot.
    Karthikeyan

    If the error can be hidden, the pseudo comment would be provided in the Code Inspector screen only.
    Click the documentation button (the blue "i" button) & see if there are any pseudo comments to hide the error.
    BR,
    Suhas

  • 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 error message please help

    Hi All i have used delete statement as shown below
    DELETE t_output WHERE  remain_invoice  NOT IN s_invo[].
    t_output is my internal table .
    Error message in code inspector is :Sequential read access for a standard table
    What should i do ?

    I think its better to avoid delete statements inside the loop
    instead of using delete statement inside the loop
    use
    delete table itab where condition
    or
    if u have to use loop at any cost
    modify internal table with flag=X
    and then delete all records from the itab at one shot using above statement
    Regards
    Vikas C

  • 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

  • Error in code inspector

    Hi Abapers,
    I have done recording for Tcode:pa30 in my report and used call transaction method. because of this i'm getting one error in when i check code inspector.
    error message:
    CA CL_CI_TEST_CRITICAL_STATEMENTS0002
    Critical Statements
    Call of Transaction &1
    &1 = Name of Transaction
    For CALL TRANSACTION there must already be a suitable transaction authorization with the calling transaction.
    Kindly help me out to fix this error.
    Thanks in advance.

    Hi
    Goto SE24
    enter this class CL_CI_TEST_CRITICAL_STATEMENTS
    and see its documentation.
    It shows the all critical errors that are there in code.
    Regards
    Anji

  • Code inspector check

    iam working on ECC6.0
    my report contains 4 radio buttons.
    i done code inspector check for program.
    P_ful is radio button.
    i got error  like I/O field (input field) P_FUL has no accessible label.
    how to hide this error.
    Regards,
    Suresh.

    Hi,
    I declared text symbols for radiobuttons.
    iam using below code.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS P_FUL RADIOBUTTON GROUP RC  .
    SELECTION-SCREEN COMMENT 3(15) TEXT-003 .
    SELECTION-SCREEN POSITION 20.
    PARAMETERS P_PAR RADIOBUTTON GROUP RC .
    SELECTION-SCREEN COMMENT 22(20) TEXT-004 .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-005.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS P_VAL   RADIOBUTTON GROUP RA DEFAULT 'X' USER-COMMAND UC2.
    SELECTION-SCREEN COMMENT 3(11) TEXT-006.
    SELECTION-SCREEN POSITION 20.
    PARAMETERS P_UPDE RADIOBUTTON GROUP RA.
    SELECTION-SCREEN COMMENT 22(15) TEXT-007.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B3.
    Please help on this.
    Regards,
    Suresh.

Maybe you are looking for

  • I can't download adobe creative cloud for desktop,error no 50

    i can't download adobe creative cloud for desktop,error no 50

  • Service contract ITEM extractor

    Hello, I found the following extractors: 0CRM_SRV_CONTRACT_H: CRM Service - Contract Header Data 0CRM_SALES_CONTR_I: Sales Contract Item The first one gives the SERVICE contract header data, whereas the second one gives the SALES contract item data.

  • No leading zeros in the assignment field on a billing doc header

    Can someone tell me how I can get the assigment field in a billing doc not to show any leading zero's so when the assigment field is populated in the accounting doc it will not show the zeros either . At the moment I have the sales order PO set in co

  • Sudden crash, no logs but "hi mem tramps at 0xffe00000"

    Hi, I just upgraded my Mini Core Duo 1.66 to 1.25GB of RAM. Retained the original 256MB, and added a Kingston 1GB module. After a few days of non-stop operation, this morning my Mini started to act strangely. It restarts itself for no apparent reason

  • Problem LMS 3.1 Upgrade Inventory

    I am having a problem with a computer to update the inventory, the equipment is added but can not collect the information, and try deleting it and making it to add and you do a server restart is the only team that I have problems. three devices are f