EPC check

while i am doing EPC check for my program i am getting warnings for charecter string as fallows
A definition already exists for TEXTID 002 in ZPY_L_12356 line 419
Please let me know how to correct it
Thanks,
pavan

From the error description, it seems you are trying to define the text id 002 twice. However its difficult to answer without a code excerpt. Could you please copy paste the relevant portions of your code (including line# 419) in the forum? Please use u201Cu201D so that format remains intact.

Similar Messages

  • Error in EPC check ""

    Dear Friends,
        In my program i am using the following  statement "SUBMIT AQZZ/SAPQUERY/H2STAFF_CHANGES2 via selection-screen ". my program is working fine.
    But if i check  the program  using EPC check its showing  " SP$00010-LOW is not a parameter or a select option in report AQZZ/SAPQUERY/H2STAFF_CHANGES2"
    plz provide me a solution.
    Thanks & Regards
    M.Santhosh

    Try to use IN for DATE_LOW and DATE_HIGH, as it appears to be a SELECT-OPTION .
    Try like this..
    SUBMIT AQZZ/SAPQUERY/H2STAFF_CHANGES2
    via
    selection-screen
    with PNPBEGDA IN DATE
    with SP$00010 IN (' 01') .
    Check link for documentation
    http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dba51a35c111d1829f0000e829fbfe/content.htm
    Regards
    Bala Krishna
    Edited by: Bala Krishna on Aug 20, 2008 10:53 PM

  • How to solve thsi perform/form error occured in epc check

    Call to a program containing a syntax error (CALL/PERFORM/SUBMIT)
    Error in program /SAPAPO/SAPLATPQ_TIMESERIES - include /EPCOS/SD_CRSD0035_04 -
    line 76
    Syntax check error message:
    A target area must be declared either explicitly with an INTO clause or implicitl
    with a TABLES statement.
    Internal Message Code: MESSAGE GYN
    after clicking on error iam getting this statement how to solve this
    PERFORM localise_reqtms(/sapapo/saplatpq_timeseries)
                    USING space
                    CHANGING l_ts_endhor.

    Hi,
      This may be beacuse of the Internal Table you are passing to the Subroutine.
    So, In the Subroutine definition, we need to change the interface definition.
    FORM localise_reqtms(/sapapo/saplatpq_timeseries)
               USING SPACE as type C
               CHANGING L_TS_ENDHOR LIKE <Internal Table Type which you are using>  
    Thanks & Regards,
    Vamsi.

  • Error in EPC Checking..help ..

    Dear Expert,
                      Below mention warning I got in CALL FUCTION :
          Program:  ZFISL_LINET_R  Include:  DTINPSUB  Row:     39
    Function module DATA_INPUT_CHECK is flagged as obsolete.
    If you have any queries, contact the author of the function module
    (The message can be hidden with "#EC *)
          Program:  ZFISL_LINET_R  Include:  DTINPSUB  Row:     69
    Function module DATA_INPUT_SCREEN is flagged as obsolete.
    If you have any queries, contact the author of the function module
    (The message can be hidden with "#EC *)
          Program:  ZFISL_LINET_R  Include:  RGUGLTAR  Row:     85
    Function module DATA_INPUT_CUSTOMIZE is flagged as obsolete.
    If you have any queries, contact the author of the function module
    (The message can be hidden with "#EC *)
          Program:  ZFISL_LINET_R  Include:  RGUGLTAR  Row:     97
    Function module DATA_INPUT_EXPERT_MODE is flagged as obsolete.
    If you have any queries, contact the author of the function module
    (The message can be hidden with "#EC *)
          Program:  ZFISL_LINET_R  Include:  RGUGLTAR  Row:    522
    Function module DATA_INPUT_SELECT is flagged as obsolete.
    If you have any queries, contact the author of the function module
    (The message can be hidden with "#EC *)
    Can anybody send the replace function for the above one...
    Points will be reward...
    Its Urgent.....
    Regards
    Souman

    Shailesh,
    first thing you have to do is stop using non-standard guides.
    Always use SAP standard documents (installation/upgrade guides, notes, how-to)
    If you follow step-by-step procedure from latest SAP installation guide, you are less likely to get error.

  • Capturing EPC error List into a local file using BDC

    Can anyone let me know the Code for downloading the EPC check Results into a local File using BDC...[<b></b>

    You can use the function module
    EXTENDED_PROGRAM_CHECK to get the errors and warnigs of a epc for a program.
    then you can download that internal table information using GUI_DOWNLOAD fm.
    Regards,
    Ravi

  • Extended Program Check - Warning

    Hi SDNers,
    I did my program well. but when i am doing Extended program check it shows warning that 'do not use fields, field symbols (itab) globally'.  This is the only warning i can not eliminate it. i dont want to hide using "#EC NEEDED.
    I have searched almost all the sites, finally i posted here.
    Right answers will be highly Appreciated.
    Thanks & Regards,
    Senthil kumar

    Hi All,
    I also facing the same problem when doing an EPC check for my program.How can I overcome it.
    Please suggest me.
    This is the message appeared for me after doing the EPC check.
    Do not use fields, field symbols (OBJ_DATA) globally.
    The related code to get the above warning is:
    START-OF-SELECTION.
       DATA:obj_data TYPE REF TO lcl_local.
       CREATE OBJECT obj_data.
    Thanks In Advance.
    Regards,
    Chakradhar.

  • EPC WARNINGS

    Hi All,
    I have written a report and it is working fine. The problem is only with while during the EPC check for my report it is showning an warning as below.
    Warning Messsage :
                  Do not use fields, field symbols (<FS_HEADER_LINE>) globally
                 Can be hidden using pragma ##NEEDED (or pseudo comment "#EC NEEDED).
    I know that these warnings can be suppressed by providing the text as #EC NEEDED but the problem is that my lead will not accept the supressing the warnings using texts.Can anyone suggest me how to resolve the issue.I hvae tried a lot regarding these but I did not find a solution to it.
    Below is the code of program where the epc check is showing the warning.If I tried to declare these field symbols with in a definition part of a class it is not accepting.How to overcome the issue.Thanks in Advance.
    FIELD-SYMBOLS:
           <fs_header_line>  TYPE  any,
           <fs_header_line1> TYPE  any,
           <fs_header>       TYPE STANDARD TABLE,
    * Field Symbols Declarations for final
           <fs_final_line>   TYPE  any,
           <fs_final>        TYPE STANDARD TABLE,
    * Field Symbol declaration for the purpose to hold status of record
           <fs_status>       TYPE any,
           <fs_validto>      TYPE any.
    Regards,
    Chakradhar.

    Hi Chakradhar,
    Field symbols acts as a pointer.
    It doesn't have the memory. during the run time memory address has been assigned  logically.
    It points the value of address which is assigned in run time of the program.
    Don't use the field symbols in definition. You can use the field symbols in methods.
    For Example:
    I have enclosed the Test Program.
    Regards,
    Karthik.

  • EXPORT statement in ABAP-Ecc version

    I used EXPORT FLAG TO MEMORY ID 'MB51_FLAG'. in Ecc version.
    when i do EPC check, i am getting error in Obsolete statments like..
    EXPORT var_1 ... var_n TO MEMORY ... is not supported in the OO context. Use
    EXPORT name_1 from var_1 ... name_n from var_n TO MEMORY ... instead . . . .
    Can anyone tell me how to implement it Plz ...?

    Hi,
    Instead of this:
    EXPORT FLAG TO MEMORY ID 'MB51_FLAG'.
    Use the very similar syntax:
    EXPORT name1 = FLAG TO MEMORY ID 'MB51_FLAG'.
    OR
    EXPORT name1 FROM FLAG TO MEMORY ID 'MB51_FLAG'.
    Then when you need to do the corresponding IMPORT you use the same syntax.  Here's one simple example to demonstrate:
    REPORT  ztest_jrg.
    TYPES: ty_ctype TYPE c LENGTH 20.
    DATA: l_test TYPE ty_ctype.
    PARAMETERS: p_test TYPE ty_ctype.
    EXPORT ptst = p_test TO MEMORY ID 'ZTEST'.
    IMPORT ptst = l_test FROM MEMORY ID 'ZTEST'.
    WRITE: /1 l_test.
    Best Regards,
    Jamie

  • How to reference a field statically in a program?

    Hi Everyone,
    Can any one explain me how to reference a field statically.
    As the error on Extended program check is as follows:
    Field FLAG is not referenced statically in the program   
    where as the particular field has been defined as below in the program :
    when 'SMTP_ADDR'.
              DATA: flag type i.
    I think is there a need to define the field globally.
    Thanks and Regards,
    Johny

    Hi,
    We can avoid this EPC check by deleting or putting a comment Or By passeing the EPC to it ie
    DATA:
    w_flag type i." #EPC
    we can also avoid the EPC error by this way.then this willnt be aa part of EPC check
    Thanks & Regards,
    Chandralekha.

  • Obsolete function module in ECC6 - what to use instead of that

    I have to upgrade from SAP 4.7 to ECC6 .
    Some obsolete function module are as follows:
    ADDRESS_MAINTAIN
    ADDRESS_UPDATE_OLD
    DD_PR_REDEFINE
    GRAPH_DIALOG
    HELPSCREEN_NA_CREATE
    Can anybody assist me which function module to use in place of this function module or which class methods to be used instead of these function modules ?
    Thanks...

    Hi Deepak,
    For ADDRESS_MAINTAIN you can go this way for now.
    DATA : func_name TYPE rs38l_fnam.
    func_name = 'ADDRESS_MAINTAIN'. "To escape the EPC Check
        DO.
          CALL FUNCTION func_name
            EXPORTING
              adrswa_in         = sadr
              processing_status = mode
              kennzeichen       = kz
              save_intern       = 'X'
              title             = am_title
            IMPORTING
              adrswa_out        = sadr
              returncode        = return
              update_flag       = am_save
            EXCEPTIONS
              not_found         = 4.
    we haven't found any replacement for this. so doing it this way.
    ADDRESS_UPDATE_OLD - No Replacement for this.
    DD_PR_REDEFINE - No Replacement for this.
    GRAPH_DIALOG - No Replacement for this.
    All the Above 3 FMs are still being used in ECC standard programs.
    Thanks,
    Sai
    Edited by: Sai Krishna Kowluri on Dec 5, 2008 7:34 AM
    Edited by: Sai Krishna Kowluri on Dec 5, 2008 7:37 AM

  • SCI errors

    hi guys,
    In SCI Code inspector, I gave Development class as input for Syntax Error collection.
    Defined variants as Syntax error and EPC check.
    In object set i defined Development class
    I created inspection variable and executed.
    Does the Error analysis scope covers all DDIC and ABAP objects including Query,Sapscripts,Classes, Programs,Funcgroup,Tables,Dataelements,Domain,View etc or only to Programs/Modulepools/Functions.
    Please confirm whether my way of execution covers all type of ABAP and DDIC objects.
    regards
    Priyanchopra
    Edited by: Priyan chopra on Feb 1, 2008 7:03 AM

    Hi,
    It will check all the objects.
    Regards,
    Renjith Michael.

  • Table type with include structure

    Hi All,
    How to declare a table type with include structure
    i am declaraing it in the following way its giving epc check of obselete statement,
    could any one tell me how to declare a table type and internal table for the following code.
    DATA:BEGIN OF TY_OUTPUT OCCURS 0.
    DATA:PS_PSP_PNR TYPE EKKN-PS_PSP_PNR.
    INCLUDE STRUCTURE ST_ZCDTT0005.
    DATA:END OF TY_OUTPUT.
    Thanks in advance.

    Hi
    TYPES: BEGIN OF TY_OUTPUT,
             PS_PSP_PNR TYPE EKKN-PS_PSP_PNR.
             INCLUDE STRUCTURE ST_ZCDTT0005.
    TYPES: END OF TY_OUTPUT.
    TYPES: TY_T_OUTPUT TYPE TABLE OF TY_OUTPUT.
    Max

  • List out all synntax errors pf report at a go

    Hi all,
        I have a requirement to copy the entire customised report from 4.6 system to ECC 6.0 and to clear all the syntax errors. In ECC6,there are no customised objects which are in 4.6 system. So, in syntax check, I am finding only one error at a time and its panic as my report is a bigger one. I activated my program forcebly to use EPC check. Even in EPC, I am getting only one syntax error at a time .Can you suggest any other way for listing all the errors so that it'll be easy to decide  the useful objects to be created in new system and the objects that can be excluded.
    Thanks.
    Edited by: Jaya on Jun 22, 2010 9:33 AM

    Hi,
        it is working for me..
    the problem is for some of the syntax error like in data statement ,it is showing only that,
    But if you have syntax error which is other than that it wil show u all,
    Try the below code and do syntax check for it. with that check box check,
    REPORT  ZCM_TEST.
    WRITE : / 'temp.
    data : it_mara type STANDARD TABLE OF mara.
    write : / 'temp'.
    data : it_mara type STANDARD TABLE OF s_mara.
    WRITE : / 'temp.
    data : it_mara type STANDARD TABLE OF s_mara.
    but if you put any data statement before the Write : / 'temp. it will not work and show only one error,,,
    i m checking y such strange things is happening!!!
    thanks,

  • Run time error in upgrade

    the epc check shows an dump error of this kind.
    Indirect Index Access to Internal Table T_PA0169
    Outside a LOOP, this causes a short dump.
    THE CODE IS.
    if t_pa0169-endda eq '99991231'.   
         append t_pa0169 to t_change169.
         delete t_pa0169.           
         clear t_pa0169.
    the same code exists in old version 4.6c WHERE THERE IS NO ERROR to but in new version 6.4 it shows an error.
    sugest me any remedies.
    thanks,
    raj

    Maybe you should add an index to <b>delete t_pa0169.</b>
    delete t_pa0169 where ennda eq '99991231'.
    or
    delete t_pa0169 index w_tabix. "If you know the line number.
    Greetings,
    Blag.

  • Return code (SY-SUBRC) for the EXCEPTION will not be processed

    Hi,
    when I was doing the EPC check i have approached this messgae.
    Return code (SY-SUBRC) for the EXCEPTION will not be processed after CALL FUNCTION
    'CU_READ_RGDIR'
    (You can turn off this check by setting all EXCEPTIONS to 0)
    (The message can be hidden with "#EC *)
    Any pointers on how to handle this.
    Regards
    Rohini.

    Hi Rohini,
    Try doing something like this.
    TYPE-POOLS: hrpay.
    DATA: w_pernr              TYPE          p0000-pernr ,
          w_buffer             TYPE          hrpay_buffer,
          w_no_authority_check TYPE          xfeld       ,
          w_molga              TYPE          t500l-molga ,
          t_in_rgdir           TYPE TABLE OF pc261.
    CALL FUNCTION 'CU_READ_RGDIR'
      EXPORTING
        persnr             = w_pernr
        buffer             = w_buffer
        no_authority_check = w_no_authority_check
      IMPORTING
        molga              = w_molga
      TABLES
        in_rgdir           = t_in_rgdir
      EXCEPTIONS
        OTHERS             = 0.

Maybe you are looking for

  • Arrows in PS CS6 & CC?

    I'm missing something here. I could make an arrow in Photoshop in PS CS5, and I know enough in PS CC to use the option-bar cogwheel icon (instead of the freeform shape tool) for arrows, but there's a step I've either forgotten or the sequence of step

  • Safari won't open anything.  help!!!?

    Hi there. My name is Shelli. My husband and I recently went from dial-up to slow dsl. When we did, Safari would no longer open any pages, no matter what. It will not even open the apple store. Can anyone help me? I have emptied the cache, and I have

  • My MacBook froze & now won't turn on.

    My Macbook is not working. It first froze while I was using it, then it just turned off. I tried to turn it on but then it just stayed black but this time with a little blue square with a circle which is spinning. What should I do?

  • How I can Open a Project CS5 in CS3?

    How I can Open a Project that was created in After Efects CS5 in After Efects CS3? Any Pluging that upgrade to read New Files in Older Version ? Thans For any Information.

  • IPhoto 2 and exporting to camera

    Got IPhoto 2 and want to export pics to the memory card in the digital camera via usb connection. Is this possible or do I need to upgrade the IPhoto Thanks g4 quicksilver   Mac OS X (10.4.4)