Syntax error in standard include RKEB090F in ECC6

Hi,
I have one issue with this include program RKEB090F. This program is being used in one of the custom program while checking this program we are getting syntax error field P_USEDB is unknown.
When I compared 4.7 and ECC 6 version, the code contains in 4.7 version is
      FORM INITIALIZATION_EXIT                                      *
FORM INITIALIZATION_EXIT.
ENDFORM.
but in ECC 6 the code contains
      FORM INITIALIZATION_EXIT                                      *
FORM INITIALIZATION_EXIT.
   if rkb1d-smode = '7'.
     CALL FUNCTION 'AS_DATASOURCE_INIT'
       EXPORTING
         I_REPORT                   = 'KE30'
         I_REPORTTYPE               = 'TR'
       IMPORTING
         E_USE_DATABASE             = P_USEDB
         E_USE_ARCHIVE              = P_USEAR
         E_USE_INFOSYS              = P_USEAS
         E_ARCHOBJ                  = P_OBJECT
         ET_ARCH_SEL                = SO_FILES[].
     G_RKB2A-OBJECT = P_OBJECT.
     G_RKB2A-USEDB = P_USEDB.
     G_RKB2A-USEAR = P_USEAR.
     G_RKB2A-USEAS = P_USEAS.
     G_RKB2A-SO_FILES = SO_FILES[].
     PERFORM HANDLE_DATASOURCE USING 'EX'.
   endif.
ENDFORM.
due to this code I am getting the syntax errors. How can we know how this code is added.
Please let me know if you get any inputs.
Regards,
Jyothi CH.

Hi Guys,
I am having the same syntax error with this include RKEB090F and the Field P_USERB, but instead the program is a SAP Program. I have been trying to archive a table and I keep getting this error for different G* programs. I regenerate one, the other one gives error. I tried regenerating all of them and I still got this error.
Error in the ABAP Application Program
The current ABAP program "SAPLKYP4_UC" had to be terminated because it h
come across a statement that unfortunately cannot be executed
The following syntax error occurred in program "GPC6ZZ9KJ35AEXCXNZFQDJG3
in include "RKEB090F " in
line 17:
"Field "P_USEDB" is unknown. It is neither in one of the specified tabl"
"es nor defined by a "DATA" statement. ."
The include has been created and last changed by:
Created by: "SAP "
Last changed by: "SAP "
Error in the ABAP Application Program
PLEASE HELP
--Thanks in Advance,
Fiyaz

Similar Messages

  • Syntax error in standard program after upgrade

    Hi,
    After upgrade from 7.0 to 7.3, we are facing a syntax error in standard program that is used in one of our process
    The error says:
    The field "G_REQUIDPARENT" is unknown, but there is a field with the s"
    imilar name "G_REQUID_LAST". "G_REQUID_LAST"."
    The system cannot find this object inside include LRSBM_REQUEST_GUIP04, that belongs to program SAPLRSBM_REQUEST_GUI
    We assume that this is associated with the upgrade but we cannot find any solution in the web. Besides, this is a standard program so we cannot perform any change directly. We look for SAP Notes to apply but we didn't find nothing worthwhile
    Basically, we are receiving a dump with the error message posted above and we found the syntax error, but the thing is that we don't know how to fix it, due to the fact that is a standard program and we cannot change it
    I know that SAP could remove some object reference during the upgrade, but there should be an anticipated plan to fix this kind of errors, right?
    Can you shed some light on this, please ?
    Thanks a lot
    Ale

    Hi Ale,
    If you make sure there are no customization around the object and SGEN already run, I think you can just open a OSS message to SAP to looking for a fix.
    Regards
    Bill

  • Runtime Error in Standard Include

    Hi,
    After upgrading from SAP 4.7 E to ECC 6.0, we have facing few problem in execution of Reports..
    Main problem is that, it called Standard INCLUDES..
    Error:-
    Short text
        Format error with IMPORT.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "ZHINCANN1" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    But, this program called a standard INCLUDE HINPAYMACRO ... that dump goes in it.
    What's the problem...plz clear..
    Thanks

    Hi,
    Error Message is:....
    Short text
        Format error with IMPORT.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "ZHINCANN1" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_IMPORT_FORMAT_ERROR', was not
         caught in procedure "IMP-RESULT-CLSTR" "(FORM)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    When attempting to IMPORT the object "EPF", there was a format error.
    Unable to read an IMPORT dataset.
    The dataset may have been processed using SQL and is
    thus no longer readable for the IMPORT.
    How to correct the error
        Determine which actions resulted in the destruction of the
        dataset.
        The exception must either be prevented, caught within proedure
        "IMP-RESULT-CLSTR" "(FORM)", or its possible occurrence must be declared in the
        RAISING clause of the procedure.
    This is complete error message...
    Now plz. tell...

  • Syntax error in standard SAP program.

    Can someone help me. I'm getting the following error while executing
    "Include /sapboq/bos_lbos01top, No component exists with the name /sapboq/mitem. Check the program SAPLBOS01"
    Error in the ABAP Application Program
    The current ABAP program "BS01_SALESORDER_GETDETAIL=====FT" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "SAPLBOS01 " in include
    "/SAPBOQ/BOS_LBOS01TOP " in
    line 9:
    "No component exists with the name "/SAPBOQ/MITEM". ."
    Edited by: nithinrayal on Jul 12, 2010 9:54 PM

    Hi,
    Go to txn SE38 and display program "BS01_SALESORDER_GETDETAIL=====FT". Then do a syntax check. It should tell you what is the error.
    I guess its some support pack that is missing. Try contacting SAP for this.
    Regards
    Prasenjit

  • Getting syntax error in /usr/include/sys/ header files during Compilation

    Hi,
    I am migrating old PRO C code from Oracle 8 + Solaris 8 to Oracle 10 + Solaris 10 environment. While compiling the code it is giving error :*
    Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
    Error at line 69, column 2 in file /usr/include/sys/uio.h
    lloff_t uiooffset; /* file offset */
    .1
    PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
    g:
    } char, const, double, enum, float, int, long, ulong_varchar,
    OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
    OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
    OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
    struct, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name,
    The symbol "enum," was substituted for "lloff_t" to continue.
    Any guess why this is happening?

    Hi,
    Try using the PARSE=PARTIAL USERID=user/password[@SID] SQLCHECK=SEMANTICS precompiler options.
    All your hosts variables must be declared inside a Declare section.
    Reference: Pro C/C++ Programmers Guide, chapter 5
    Reguards,
    Rene Rivet

  • ABAP SYNTAX ERROR IN STANDARD SAP TRANSFORMATION

    Hi experts, I am facing a problem while activating a transformation for the cube 0CCA_C11. I installed the flow in 3.5 and wen i was migrating the flow, i first migrated the update rule. At that time, the transformation is giving me " syntax error in the routine" for the infoobject 0CO_REPLINE. The eroor message is given below:
    E:The type "_TY_S_SC_1_FULL" is unknown, but there is a type with the similar name "_TY_S_TG_1_FULL". "_TY_S_TG_1_FULL".

    Hi,
    Please check routine if any for 0CO_REPLINE and also expert routine.
    Regards,
    Rema.

  • Syntax error. SAP 3.1 version - ECC6

    Friends,
    Following statement given syntaxt error in ECC6.
    It is working fine in SAP 3.1.
    I need to copy the code from SAP 3.1 to ECC6.
         DO VARYING l_char FROM l_text2+99
                                        NEXT l_text2+98.
    Please help me in this regard ASAP.
    Thanks in advance.

    I was able to get the following to work:
    DO 100 TIMES VARYING l_char FROM l_text99(1) NEXT l_text98(1) RANGE l_text.
    ENDDO.
    I had to add the "100 TIMES" or the loop continued beyond the range of the variable and short-dumped.
    Hope this helps,
    Mark S.

  • Error in Standard Program for Purchase Order

    Hello Everyone,
    I am getting an ABAP Dump Error while Displaying & Printing Purchase Order using TCODE : ME9F & ME23N.
    We have applied new Patches.
    for Logistics it is 26 & ABAP it is 58.
    I am getting Error in standard INCLUDE
    Program : LMEDRUCKF1K at line 64.
    The Error is :- "Field "ENJPREVIEW" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement."
    Declaration for "ENJPREVIEW" is also available in
    include LMEDRUCKTOP. still it gives an error.
    These lines of code is included by SAP note 855263.
    Before applying these Patches it was working properly, but now it gives an error.
    Please , Can anyone give solution for this.
    Regard's
    Archana.

    Hi Archana ,
    Check is there any Inactive Versions in ur Systems ?
    useful tcodes are SPAU /SPDD for tables
    Regards
    prabhu

  • Syntax check error in the standard include

    Hi,
    I have modified one standard include using access key to insert one logic as per businness requirements.Now after inserting that code iam getting syntax error but while activating it is not showing the error and getting activated.
    The include is V05XZZMO in that i have inserted code is as follows
    FORM MOVE_USERFIELDS USING ZP.
      CASE ZP.
        WHEN 'VBRK'.
        header
        MOVE LVBRK-XXXXX TO LFAMTV-ZZXXXXX.
    *{   INSERT         GDVK934083                                        1
              MOVE LVBRK-ZUONR TO LFAMTV-ZZZUONR.
    *}   INSERT
        WHEN 'VBRP'.
        item
        MOVE LVBRP-XXXXX TO LFAMTV-ZZXXXXX.
    *{   INSERT         GDVK934083                                        2
       MOVE LVBRP-MATWA TO LFAMTV-ZZMATWA.
    *}   INSERT
      ENDCASE.
    ENDFORM.
    now it is throwing error saying that LFAMTV doesn't exist...when I double click on that it is taking me to the FM RV_INVOICE_VIEW_2 where it is defined....
    Can anyone know the reason why it is throwing the error when we go for the syntax check but when u activate the program it is getting activated.. so can this error can be neglected?
    Any help on this will be appreciated..
    Regards,
    Rohan.

    Hi,
    First comment ur code and then activate the include.
    Now put a break point in the form and then in the debug mode check the structre LFAMTV is visible or not.
    if yes then once again add ur code and then activate the whole program.
    and now once again debug it and see...., whether the values are updated to the strurure LFAMTV.
    Regards,
    Nagaraj

  • Syntax error while creating a standard order

    Hi All,
    I created a projet in CMOD and than added the enhancement  V45A0002.The components shown as EXIT_SAPMV45A_002(Predefined sold to party when making the standard order),i double click on the exit and entered into the function module.After that i double clicked on the include ZXVVZU04 and entered in and wrote E_KUNNR=100171
    While activating i got error msg 'The last statement is not complete (period missing)." & i have saved inspite the error .After that i tried to create a order and program terminated error came after entering sold to party no. in sales order
    so now i have deactivated the project which i created in CMOD & deleted it aswell,than also i am getting the syntax error while making the order thru VA01.I want to come out of this please.
    I would be great ful if somebody helps me *** out of this syntax error.
    Thanks
    Rishi

    Hi Rishi
    As you are getting message that "The last statement is not complete (period missing)", check in your assigned project in CMOD the last statement , what is the last statement maintained in that project
    Secondly also check the closing period and the current period. as it is giving in the message that "The last statement is not complete (period missing)".So check the  current period and check the period maintained in the CMOD
    It would be better if you take ABAP'ers help . So  post in ABAP forum
    Regards
    Srinath

  • Syntax error in ECC6.0

    Hi experts , a syntax error is coming wile running the zprogram in ECC 6.0.
    here i am giving teh piece of code where exactly error is coming. could any one help me in this.
    error is " the literal '1' is not type compatable with formal parameter".
          AT NEW WERKS.
            PERFORM NEXT_ROW USING 0 1.(error is showing at this line)
            PERFORM SET_FORMAT USING 2 SPACE SPACE.
            WRITE: 2 BLANK(71).
            WRITE: 2(4) KONSI-WERKS.
          ENDAT.
    ****the below form is in some standard include*****
    FORM NEXT_ROW USING LOCCOLOR type i
                        LOCINTEN type c.
      SCOL = LOCCOLOR.
      SINT = LOCINTEN.
      PERFORM SET_COLOR.
      WRITE:/ SY-VLINE NO-GAP, <SLIN> NO-GAP, SY-VLINE.
      POSITION 1.
    ENDFORM.
    could any on ehelp me in this,  to how can i resolve this problem

    Did you try using quotes for 1 and 0 ?
    AT NEW WERKS.
    PERFORM NEXT_ROW USING '0' '1'.(error is showing at this line)
    PERFORM SET_FORMAT USING '2' SPACE SPACE.
    WRITE: 2 BLANK(71).
    WRITE: 2(4) KONSI-WERKS.
    ENDAT.
    ****the below form is in some standard include*****
    FORM NEXT_ROW USING LOCCOLOR type i
    LOCINTEN type c.
    SCOL = LOCCOLOR.
    SINT = LOCINTEN.
    PERFORM SET_COLOR.
    WRITE:/ SY-VLINE NO-GAP, <SLIN> NO-GAP, SY-VLINE.
    POSITION 1.
    ENDFORM.

  • Syntax Error - INCLUDE Report "%_HR9010" Not Found

    I have an HR ABAP program(Query Generated) that works in Enterprise and is now being testing in the ECC 6.0 test environment and is getting an syntax error. The syntax points the line in the code where a custom infotype is declared with the infotypes syntax. Example:
    Infotypes:
    9010
    syntax error reads:
    'include report"%_HR9010" not found.
    Why am I getting that syntax error? The syntax error does not occur on standard sap infotypes, 0000, 0001, 0002. It appears to be failing on custom infotypes.  The Structure definition is there, the table definition is there and there are thousands of records in the table and it can be read by other programs with no problem. What piece is missing, could it be something to do with Infosets, whatever they are?

    Hi Murali,
    Please excute the report RPUMS40CCI. This report is to generate infotype includes and additional structures required for not only custom but also standard infotypes.
    In the selection screen provide the infotype number and select checkboxes 'Generate infotype include'
    and 'Generate additional structure'.
    Note: "RPU40CCI" is only for infotypes which starts with number '9*'.
    Thanks & Regards
    Santhosh
    Edited by: SS on Feb 12, 2009 1:21 PM

  • Syntax error in SAP-standard program

    Hi experts,
    i am facing syntax error in sap standard program.how i can solve that error .
    Error in include LFKPZTOP  and errro is at line 70.
    please help me ASAP.
    Thanx & Rgds
    Zeba

    Hello Zeba,
    go to include LFKPZTOP and check in line 70.
    if you are not able  to solve that.
    post the same line, so that we can understand what is error.
    as of my checking the error is "iban is already defined in the include structure bus0bk ,
    but i think it dosn't effect your programing.
    Regards!
    Edited by: Prasanth M on Feb 10, 2009 5:04 PM

  • Syntax error after upgrade to ECC6

    Hi,
    I have customized infotype and BAPI in SAP 4.6. After upgade to ECC6, my Infotype is working fine, but my BAPI give this error : 
    The following syntax error was found in the program SAPLZBAPI_HR :
    "INCLUDE report "%_HR9000" not found."
    If I goto SE38 to recreate %_HR9000, SAP not allow me to continue and appear message "Do not use any special character".
    May I know how to resolve this problem ?
    Thanks a million.
    Regards,
    Eric

    Hi,
    In the ECC6.0 version, it seems that one of the INCLUDE that was generated for that infotype in 4.6 C ending.. with words....HR9000 was not transported or not found for that infotype. Please check all the includes..
    In SE38 you can enter the characters like %, so that error  is coming
    % means LIKE PATTERN ....HR9000 .
    Hope you understood.
    Regards,
    ANJI

  • IDOC Syntax Error E0072 with status 26 after upgrade to ECC6.0

    Hi
    We have upgraded SAP R/3 from 4.6C to ECC6.0. After upgrade, when we create PO and output EDI, we are seeing this IDOC syntax error E0072 for Mandatory Segment E1EDK01. In 4.6C it was working fine with no issues, only after upgrade this problem started. It says E1EDK01 is missing which is mandatory. We are using basic type ORDERS01 with no extensions. When we see WE30 it looks fine, WE20 settings looks fine.
    Order of the segments got scrambled in upgraded version. First segment is E1EDP19001, this is supposed to be under E1EDP01 segment. There are two E1EDP19001 segments created but there were no sub segments to E1EDP01.
    Any help in this regard is highly appreciated.
    Thanks
    Pandiri

    User Exit activation and fixing the issue in user exit fixed this issue.

Maybe you are looking for