Current Position:Home > Syntax Error occured in Program  in include " CNTN01

Syntax Error occured in Program  in include " CNTN01

Update:10-11Source: network consolidation
Advertisement
Hi,
We are working on SAP 4.6C to ECC 6.0 Migration. While testing One Transaction, I am getting following error:
The current ABAP program "CL_GOS_TOOLBOX_MODEL==========CP" had to be
terminated because it has come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program
"Z3I_CL_BASCULER_SCS_GOS=======CP " in include "<CNTN01> " in
line 13:
"Within classes and interfaces, you can only use "TYPE" to refer to ABA"
"P Dictionary types, not "LIKE" or "STRUCTURE"."
The include has been created and last changed by:
Created by: "SAP "
Last changed by: "SAP "
Error in the ABAP Application Program
This Error is coming while executing transaction in ECC 6.0 however in R/3 4.6C it is working fine.
Pls Advice what should be done to resolve this issue. This issue is coing in alot of transactions.
I will appreciate if anyone of you can guide me regarding same.
regards
Sandeep

The Best Answer

Advertisement
Hi,
I was trying hand on one of my Z class which contain  include <CNTN01>. in its Local Types.
I commented the existing include statement and added new statement as
INCLUDE CNTN01_OO.
After saving now when i try to activate the Z Class, it is giving me following error:
INCLUDE CNTN01_OO
You can only define classes and interfaces at the highest level of CLASS-POOL.
CLASS Z5C_CL_MESSAGE, Internal classes in a class include "CNTN01_OO" does not start with the prefix (Z5C_CL_MESSAGE=======)of the current class pool.
pls advice what i should do correct this issue.
Sandeep
  • Syntax Error occured in Program  in include " CNTN01 Update:10-11

    Hi, We are working on SAP 4.6C to ECC 6.0 Migration. While testing One Transaction, I am getting following error: The current ABAP program "CL_GOS_TOOLBOX_MODEL==========CP" had to be terminated because it has come across a statement that unfort

  • Runtime Error in MMBE- s yntax error occurred in program "SAPLMBBS " in inc Update:10-11

    Hi Gurus, Runtime Error in "MMBE" Transaction - The following syntax error occurred in program "SAPLMBBS " in include "LMBBSU07 " in line 76: "The column name "MATNR" has two meanings . ." Any Input is Hig

  • Syntax error in standard program after upgrade Update:11-30

    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&q

  • MOF syntax error occurred while installing 2008 SQL server Express on Vista Ultimate Update:11-30

    I have tried cleaning, then installing 2008 SQL server Express on Vista Ultimate 3 times and spent hours on this. I have installed regular SQL server on 2003 server with no issues many times, but I have huge issues with 2008 SQL server Express. I kee

  • Hierarchy load - Error RSAR 683 Syntax error in generated program, row 0 Update:10-11

    Hi guys, When I load the hierarchy on ZMATERIAL (load from 0MATERIAL hierarchy - source system BW), I have this error message : RSAR 683 Syntax error in generated program, row 0. I have found several SAP notes, especially [Sap Note 944842|https://www

  • Syntax Error in generated program. Update:10-11

    Hi Experts - I saw a similar thread regarding the issue I'm having but I thought I'd open another thread. 0CMMT_ITEM_FMCI_PU_HIER Syntax Error for Generated Program I'm doing an extraction for 0CRM_ORGUNIT_HR01_HIER in RSA3 of CRM. I get an error mes

  • Syntax error in the program SAPLSYMB Update:11-30

    Hi I have installed ECC6 on windows 2003 server  sqlserver 2005 as database. We are getting error at the time applying basis patch. The patch process is stopped at import_proper stage. When i try to execute any transaction , the error is "syntax erro

  • The following syntax error occurred during parsing: Invalid token, Line 1, Update:11-30

    Hello Experts, I hope someone could help me. I am trying to create a MDX formula in Account dimension (Cuenta). When formula created use "Iif" syntax, system give the following error:   - [CUENTA].[H1].[#X000] Parser: The following syntax error

  • Syntax error in SAPLSCSM_BI_DATALOAD program Update:11-30

    Hi Even after applying snote 1610374 we got syntax error in Solution manager 7.1. Does it require to correct program with an abaper?  Please help.. Regards, CinuBelow note may help :  2004350 - Syntax error in program SAPLSCSM_BI_DATALOAD Resolution

  • SYNTAX ERROR IN SAPMSSYD PROGRAM Update:11-30

    HI ,            We included the code in Program 'SAPMSSYD' for our internal validation. This validation requires to fetch the data from the ztables. we created ZTABLE and included custom code in SAPMSSYD in DEV server and tested sucessfully. We tried