Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Class Compilation Error in Upgrade

Former Member
0 Likes
801

Hello,

I have upgraded classes written in 4.6c to ECC 6.0 and receive a compilation error saying:

'INCLUDE report "Z_CLASS_ NAME========CL" not found'

Here the name of the public class is "Z_CLASS_NAME".

Any clues as to how to resolve this error?

Thanks and regards, Pankaj

1 ACCEPTED SOLUTION
Read only

former_member203501
Active Contributor
0 Likes
645

Hi ,

Please check the class and its implementation is presented there in ecc6 or not?

Regards,

Venkat Appikonda

3 REPLIES 3
Read only

former_member203501
Active Contributor
0 Likes
646

Hi ,

Please check the class and its implementation is presented there in ecc6 or not?

Regards,

Venkat Appikonda

Read only

uwe_schieferstein
Active Contributor
0 Likes
645

Hello Pankaj

The report "Z_CLASS_ NAME========CL" is the INCLUDE name of your class. The compilation error may be due to a missing entry in table TMDIR holding all the include names of classes. Also, keep in mind that SAP has changed the organisation of class includes in newer release. For example, on 4.6c you need to write makros within the methods where they were used. On ERP 6.0 we have a separate section for coding makros.

Can you change you class in SE24? If so then I would recommend to make a few trivial changes (description, adding empty lines in methods and private section containing data definitions) and try to regenerate the class. If this does not work you may check the menus of SE24 for repair options.

The 2 last resorts would be:

(1) Copy (or rename) the class -> delete the class -> copy back to Z_CLASS_NAME

(2) Enter missing entries in TMDIR manually

Regards

Uwe

Read only

0 Likes
645

A BADI implementation or a PROXY implementation is probably missing.Check in the base system and implement the same.

Reg,

Ajit.