‎2008 Mar 17 10:36 AM
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
‎2008 Mar 17 10:42 AM
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
‎2008 Mar 17 10:42 AM
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
‎2008 Mar 17 10:48 AM
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.
‎2008 Mar 17 11:03 AM
Just activate the main program and all associated INCLUDE programs
‎2008 Mar 17 11:31 AM
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