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

Similar Messages

  • 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

  • Error in Code Inspector-while checking syntax in TR

    Hi,
    I am getting a error in code inspector:
    Table 'Table_name' sub-object type TABL sub-object name 'table_name'
    Buffering type is initial but delivery class is "C".
    How to avoid this?
    Thanks.

    Please check the" technical setting" of the table mentioned using SE11 and make it "fully buffered"

  • Field Label error in code inspector

    Hello ,
    I am working in release 6.0 . An i tring to release one transport
    Code inspector is giving following error  on screens .
    "Field label has a fixed font instead of proportional font
    When I press on info button i got  following message
    A field name that has the attribute "Equidistant font" was found. Field names should all be output in proportional font.
    Procedure
    Correct the "Equidistant" flag for this field in the Screen Painter.
    Do you know how we can correct Equidistant flag ?
    Please advice
    Krsto

    You get this error because one of the labels have the "Fixed Font" set and the visible length  is less than the default length.
    You can find all this fields on the properties of the label.
    To avoid this warning, set the visible length as the default length.
    Regards,
    Naimesh Patel

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

  • Code Inspector Showing Error!!!

    Hi All,
    How to correct the following error raised by Code Inspector Check!!!!
    ProgramZFTSRPRECC Include ZFTSRPRECC Row 1 Column 0
    The namespace of the programZFTSRPRECC has the setting "C" and cannot be
    tested
    A possible cause for this is that an SAP program is being checked in a customer
    system
    Note, the following rule applies after a change in the sourcecode:
    For testing the namespace settingis ignored for one week.
    regards,
    naveen.....

    Check the attributes of the program, whether u may be selected "C" in Application option, if yes change to something else and test.
    Pls get back with the result.

  • How to remove Unicode errors from extended check and code inspector

    Hi
    We are working on making all our ABAP program to make unicode compliant. We are activating unicode flag in attribute and correcting syntax errors. After this when we do the extended checks or SLIN or code inspector, usually giving error for many statements such as whenever there is message.
    <b>Code is :</b>message a208 with text-004.
    <b>Error description is</b> :
    The message 208 for id zz has no long text.
    You can hide this message using "#EC *
    208 is -   & does not exist in & &. And  text 004 is - Cannot open the output file
    By using #EC * we can remove errors. But Is this the correct way and what does this indicate? Please explain.

    Hi Yogesh,
    Can you check whether the message number 208 in message id ZZ has the Self Explanatory checkbox as checked or not? I think it is not checked and u have also not maintained any long text. Hence the error.
    By using #EC - you do not remove the error, however u hide it from SLIN.
    It is used if there is some known error you cannot avoid which is returned by SLIN and you dont want it to be reported. Also, a way to "cheat" the reviewer who might be checking for errors.
    Not good !! 
    Regards,
    Aditya

  • Code Inspector / Extended Check - Error  in Inbound Custom Function Module

    I have created a new cutom FM for Inbound IDOC Application Posting.
    In the  TABLE   Parameter of FM  the following Tables difined.
    IDOC_CONTRL                     LIKE     EDIDC
    IDOC_DATA                     LIKE     EDIDD
    IDOC_STATUS                     LIKE     BDIDOCSTAT
    RETURN_VARIABLES     LIKE     BDWFRETVAR
    SERIALIZATION_INFO     LIKE     BDI_SER
    while checking with Code Inspector Tool I got an Error for  BDI_SER.(  Last Table Parameter of the FM)
    Syntax check warning
    "BDI_SER" can be enhanced. After a structure enhancement, the semantics of the
    parameter transfer may change.
    Internal Message Code: MESSAGE G_B
    (The message can be hidden with "#EC ENHOK)
    Type "BDI_SER" or the type of one of its subcomponents can be enhanced. The semantics of the parameter transfer may change after a structure enhancement.
    For the execution of a Remote Function Call (RFC), the actual parameter and formal parameter do not have to be of the same type. In the case of structure types, the actual parameter and formal parameter can contain additional components at the end. These additional components are set to their initial values.
    Check whether the enhancement category of the relevant type correct is set or whether the category "cannot be enhanced" should be used.
    How to fix this error?  other wise how to supress the Message by adding "#EC ENHOK
    where I have to add the Comment "#EC ENHOK.
    please help to give details .
    Thanks in advance.
    Shar

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

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

    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.

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

Maybe you are looking for

  • JDBC Active Connection count issue- Current row null issue

    In our weblogic conse 10.3.5, the max connection capacity is set to 25, however when we start using the application , over a small period of time the current active connection count increases more than 25 like 30,55, 85 etc .. How is this possible? .

  • Best compressor settings for HDV downconvert -- attention hanumang

    Reposting this bit because it differs significantly from topic of thread where it appeared. goal: the best possible HDV-DV downconvert using final cut studio (hitch: I have added problem of converting resulting film from PAL to NTSC) previous method:

  • How to use RHINTE00/10/20/30?

    Dear all, I have used BDC to hire an employee.  However, once it done, I found that employee has not been appeared in OM.  Checked some of the messages, RHINTE reports are suggested.  However, I have no idea on how to use them.  May anyone give some

  • Time Structure for multiple controls changes?

    I have some controls like shown in the picture. Lets say I want to check for changes done by the user in the String controls, since every string is inside a separated cluster, I would have to create a single case (inside a Event Structure) for each s

  • Firefox 3.6 - popup windows are unresponsive - can't scroll or enlarge them.

    Since upgrading to v3.6, have had trouble with popup windows. Specifically on Medco.com. The windows open, but I can't do anything in those windows. The maximize, minimize, and close buttons in the upper right don't work, and the scroll bars don't wo