Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 279079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:00:08+00:00 2026-05-12T05:00:08+00:00

Since upgrading from 4.7 to ECC6 the ABAP compiler has become a lot stricter

  • 0

Since upgrading from 4.7 to ECC6 the ABAP compiler has become a lot stricter on the use of certain statements in the OO context.

For instance you’re not allowed to use the statement LIKE, but in stead have to use TYPE and internal tables does not have an implicit header line, etc.

These restrictions are explained in greater detail here

MY QUESTION: To what extent does this restriction affect your existing code-base?.

We have over a thousand “Classes” written since 1998 in OO as far as it was available at the time. For the most part each class is its own include in SE38, with the class definition and implementation together in this include.

Up to now, we could successfully change and activate these classes as long as the main program was pre-existing in 4.7. Now we are trying to use one of these older classes in a new main program for regression test purposes, and we are getting the following error:

“Within classes and interfaces, you can only use “TYPE” to refer to ABAP Dictionary types (not “LIKE” or “STRUCTURE”).”

This error is valid as per the current definition of the SAP language.

I would like to know wheter the SAP interpreter continues to run old code with obsolete statements intentionally, or whether a future patch may correct this “feature” and cause these classes to stop compiling.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:00:08+00:00Added an answer on May 12, 2026 at 5:00 am

    Each development object is tagged with a version corresponding to the SAP version it was developed on. You can see this in version management or table VRSD.

    As I understand it, that is there specifically so that code with statements that have been made illegal in later versions will survive an upgrade and continue to run.

    This is why, when you attach an include developed in 4.5b to a class that was developed in NW700, it won’t compile. The compiler knows that this is new dev, and its applying the rules accordingly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Since upgrading a website from ASP.NET 3.5 to ASP.NET 4.0 my dates come out
Since upgrading from mvc 2 beta 2 to rc I'm having trouble with an
Plenty of pages load since upgrading my site from MVC 1.0 but if I
I'm upgrading an app from Rails 2.3.9 to Rails 3.1. The app has a
Since upgrading to Xcode 3.2.1, I've experienced a strange issue that has really killed
Since upgrading from WAS6.1 to WAS7.0 I'm getting an error when trying to display
We're in the process of upgrading from VS2008 to VS2010 since it's now released.
Since upgrading to Lion (and downgrading to Xcode 4.1 from the beta) I can't
I'm getting a weird error from my sites ever since upgrading to Windows 2008
I am upgrading a Symfony website from 1.2.9 to 1.4.1 and having a lot

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.