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

Errors in activating Program with TOP INCLUDE

Former Member
0 Likes
1,739

Hi,

I have a report with TOP INCLUDE. In the global declaration include, I keep encountering an error for a deferred class definition. The codes were working perfectly fine previously, before I changed from a report WITHOUT TOP INCLUDE to report with TOP INCLUDE. Can anyone help? Thanks..

============================================

Main Program

INCLUDE ZXXX_RULES_ENGINE_TOP. " Global Data

INCLUDE ZXXX_RULES_ENGINE_C01. " CLASS-Objects

============================================

ZXXX_RULES_ENGINE_TOP

REPORT ZXXX_RULES_ENGINE.

...

CLASS CL_TREE DEFINITION DEFERRED.

" ==> Error encountered: "CLASS CL_TREE DEFINITION DEFERRED" does not have "CLASS CL_TREE DEFINITION".

CLASS CL_GUI_CFW DEFINITION LOAD.

...

...

============================================

ZXXX_RULES_ENGINE_C01

CLASS CL_TREE DEFINITION.

PUBLIC SECTION.

...

ENDCLASS.

CLASS CL_TREE IMPLEMENTATION.

...

ENDCLASS.

============================================

Edited by: Kian Keong on Mar 17, 2008 6:37 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,117

Hi,

Go to ur main program in display mode and press CntrlShiftf5.

On the left hand side select your main program and click on activate button.

Hope ur problem will be solved.

If still sm error is there then tell me the error message.

Award Points If Useful

4 REPLIES 4
Read only

Former Member
0 Likes
1,118

Hi,

Go to ur main program in display mode and press CntrlShiftf5.

On the left hand side select your main program and click on activate button.

Hope ur problem will be solved.

If still sm error is there then tell me the error message.

Award Points If Useful

Read only

vinod_vemuru2
Active Contributor
0 Likes
1,117

Hi Kian,

First thing check whether all the objects corrosponding to ur main program is active or not.

If not activate all the objects. This should resolve ur issue. If not then post the exact error u r getting and if possible the place of the error also.

Thanks,

Vinod.

Read only

Former Member
0 Likes
1,117

Just activate the main program and all associated INCLUDE programs

Read only

0 Likes
1,117

while you are activating your top include just activate it even if it is giving an error 'ACTIVATE ANYWAY' option it will work fine.

there is some problem in ecc 6.0 i think