Errors in  activating Program with TOP INCLUDE

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

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

Similar Messages

  • Program with Top includes

    Hallo,
    I hope someone can help me.
    I would like to know if is it allowed this program under ?
    Program with Top Includes.
    Type 1 Exucutable Program.
    Developement class $TMP - Temporary Objects.
    Logical Database ABS. ABAP Book: Customer and bookings.
    (DB Selection Screen 1000)
    If it is allowed where can I use Events GET in flow logic ?
    Thank in advance.
    Kindest regardes.
    Claudia

    Hi Claudia,
    Welcome to SDN Forum. Don't forget to read the [rules of engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
    Take a look at Report "EXAMPLE_PNP_GET_PAYROLL" it demonstrate how to use Logical database and GET events.
    Logical database      PNP                   HR Master Data
    Selection screen      900                   Selection screen on payroll results
    * These three tables need to be declared for the selection screen-.
    * Currently, the declarations of  pyorgscreen, pytimescreen HAS to
    * be done in addition to setting selection screen = 900 .
    TABLES: pernr.
    * Declare the country specific structure:
    * payXX_result with  XX = country code, e.g. payDE_result for Germany
    * Country = 99 is an exception: If this structure is used, the
    * international part of every payroll result is returned regardless
    * of country code. In the other case, pernr's whose country code do
    * not fit the structure are skipped.
    NODES: payroll TYPE pay99_result.
    DATA: wa_wpbp LIKE LINE OF payroll-inter-wpbp.
    GET pernr.
    WRITE: / 'Currently working on:'(021), pernr-pernr.
    GET payroll.
      LOOP AT payroll-inter-wpbp INTO wa_wpbp.
        WRITE:   / 'Personal Area ='(018),  wa_wpbp-werks,
                   'Sub Area ='(019),  wa_wpbp-btrtl.
      ENDLOOP.
    Don't forget to close this thread and all yours previous when your question be answered !
    Best Regards.
    Marcelo Ramos

  • 'With TOP Include'

    Hi all
    Im trying to create a program from the Object Navigator tool, and select 'With TOP Include', however i get an error that goes like this...
    'Error in Object Editing'
    'System does not allow changes to be made to Object PROG TEST_TOP' (even though im creating a new program)
    (The name of my program is ZBAP_TEST)
    What I wanted to know is:
    What are the components that are created if 'With TOP Include' is selected?
    and what are the advantages of creating a program with the 'With TOP Include' option?
    Thanks
    Adam

    If you create a report with TOP include, a new include (source code) is created and you can define your global variables here and links to other includes qnd structure your program  instead of having everything grouped in one include.

  • Error in activating program---defining variable in exporting stmnt

    Hello ,
    i have created a small program, from the program we get 4 variables .
    We have to pass these variables to the smartfrom through EXPORTING .
    when i add the variables in the exporting like
    tax = p
    where p is a data type. I get an error while activating the program in se38 , field is unknown and is not specified in the data statement nor in the tables.
    Whereas when i wrote the small progarm i have defined it as follows:-
    data : tax = p
    Can anyone help me on this . Where am i going wrong .
    Thanks,
    Honey
    Edited by: Honey2008 on Oct 28, 2009 2:54 PM

    Thanks a lot. I defined it exactly the way u said .
    now when i run the print transaction , the statment is like
    tax = tax + taxval
    While debugging the program, taxval has the value .28 , so
    tax = .28 but the output is coming out as ZERO.
    Thanks anyways
    Honey
    Edited by: Honey2008 on Oct 29, 2009 11:13 AM
    Edited by: Honey2008 on Oct 30, 2009 10:44 AM

  • Error when activating Cube with Non-cumulative KF

    Hi all,
    I'm trying to re-activate an InfoCube but now with non-cumulative KF and I'm getting the error message "Object YYYYY could not be activated".
    Please help!
    Best regards,
    Thiago Modro

    hi,
    have you included the neccessary time characteristics
    http://help.sap.com/saphelp_bw32/helpdata/en/80/1a62dee07211d2acb80000e829fbfe/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/93ed1695-0501-0010-b7a9-d4cc4ef26d31
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Ramesh

  • Stack Overflow Error for JNI program with Jdk1.3

    I wrote a JNI wrapper for a third party sofware (written in C) to use some exported functions provided. My program runs fine when using Sun JDK1.2.2, but I got the following error when using Jdk1.3 to run the program (It's a runtime error, only the version of runtime virtual machine matters.)
    # An EXCEPTION_STACK_OVERFLOW exception has been detected in native code outside
    the VM.
    # Program counter=0x9073337
    A stack overflow was encountered at address 0x09073337.
    I tried IBM jdk 1.2.2, it gave me a similar error complaining about the stack overflow error.
    The vendor of the third party software denies any wrong doing in their code and I don't have their source code. A test client (simulate the Java client) I wrote in C works perfectly fine and as I mentioned earlier the same java progarm runs OK with jdk 1.2.2, without any change to my system stack size. Does any body know what this is about and the solution for this?
    Thanks!
    My email: [email protected]

    I had the same exception occur in my JNI code and I have some advice on things to look for.
    Symptoms: The C++ code runs fine when called in an native executable but when it is wrapped by a JNI call inside a DLL you get the following exception:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_STACK_OVERFLOW occurred at PC=0x100d72e5
    Function name=_chkstk
    The address will be different of course.
    In my tests I isolated the problem to an allocation of a char array like so at the top of one of my wrapped C++ methods:
    char buf[650000];
    As you see this code is requesting 650000 bytes of stack memory. When run in a native executable there was no problem but when I ran it wrapped in the JNI call it blew up.
    Conclusion: There is a much smaller stack space when using JNI OR the added overhead of my JNI wrapper exhausted the available stack space OR this is a stack space issue related to DLLs.
    Hope this helps. Anyone with insight on this please put in your 2 cents.

  • Error when building application with Excel included

    Hi All !
    I've read several post on problems with Report Generation Toolkit when building applications that uses Excel or Word interactivity.
    I've included both _Excel Dynamic VIs.vi and _Word Dynamic VIs.vi in my project and added them to the dynamic vis and support files.
    When building I get the error :
    The VI is broken. Open the VI in LabVIEW and fix the errors.
    C:\Programmer\National Instruments\LabVIEW 8.2\vi.lib\addons\_office\_exclsub.llb\_Excel Dynamic VIs.vi
    When opening that VI there is no broken arrow and all the vi's included in this is not broken either.
    I've tried mass compiling and so on but so far luck.
    Regards Morten Kahr
    Regards Kahr
    Certified LabVIEW Architect
    CIM A/S

    If you do a search on this forum you will find this to be a common and vexing problem. I myself had this same exact problem about a year ago, and it took me the better part of a day to track it down. As you will find by reading the various threads on this problem, there seems to be no specific cause for this, and it remains a mystery, and the solutions are no better than chanting voodoo, and probably just as effective.
    One thing you can try is to force a recompile of your VI hierarchy. Open you top-level VI. If it's set up to run when opened, stop it. Hold down the Control key and click the run button. This will force a recompile of the application. Sometimes this works, sometimes it doesn't. Like I said, voodoo.
    Another thing to look for is to check if you are using any diagram disable structures or case structures with a constant wired, as in trying to use the case structure to comment out code.
    Are you using classes and passing by reference? There was a mention of this here.

  • Syntax error while activating BSP with OTR in htmlb element

    Hallo,
    I get a syntax error if I try to activate the BSP below with the lines commented out: "Statement concluding with "...%_O2_UTL_000" ended unexpectedly".
    I don't know what's going wrong. Have I to to any basis settings or to activate any more services etc? Or is it a bug? WAS620 SP53.
    Can anybody help?
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content>
      <htmlb:document>
        <%-- does not work
        <htmlb:documentHead title="<%=otr(SOTR_VOCABULARY_BASIC/ALL_ITEMS)%>" />
        --%>
        <htmlb:documentHead title="OK" />
        <htmlb:documentBody>
         <%=otr(SOTR_VOCABULARY_BASIC/ALL_ITEMS)%> <-- OK
         <%-- does not work
         <htmlb:textView id="t1" text = "<%=otr(SOTR_VOCABULARY_BASIC/ALL_ITEMS)%>" />
         --%>
         <htmlb:textView id="t1" text = "OK" />
         </htmlb:documentBody>
      </htmlb:document>
    </htmlb:content>
    Thank you
    Andreas

    Thank you for this note.
    I haven't found any one. The keywords 'OTR' or 'HTMLB' are not mentioned in the note...
    I have triggered the installation of SP54 and give feedback if the problem is solved.
    Andreas

  • "Error in Java Launcher. Error while launching program with JVM" when I run dnConfig on a windows instance of AWS

    Hi,
    I've installed Oracle EDQ on an AWS Windows 2008 instance. I installed "EDQ 12.1.3 Quick-Start". The installation went through without a hitch. The Oracle EDQ Application Server, Oracle EDQ Config Store and Oracle EDQ Results Store services are running. However when I run dnConfig to change the 32 bit JVM to the 64 bit version, I get the above error.
    Can anyone help resolve this issue?
    Warm regards
    Feroze Arif

    Hi Feroze,
    A word of warning. You shouldn't be trying to change the bitness whilst the services are running. This will cause you a whole world of problems.
    regards,
    Nick

  • How to create a top include for module pool program

    hi all..
      I want to add my global declarations in one top inlcude.. There are so many other includes in my pgm. But how can i create top include explicitly. Also I have one normal report pgm attached with this module pool.

    hi Cynthia ,
       there are two ways of creating a top include at your situation  ,
    1) Insert an include <Prog name >TOP  in your mpool program and cut n paste your declarations there .. check if this works ...
    2)else .. create another m pool program in SE80 , while creating a pop up will ask for with TOP include ... check mark that and then proceed ..
       anything of these two will work ...
    Reward if helpful !!
    Regards,
    Ranjita

  • Activation failed with the following error: 0xC004B011

    I just purchased the Office 365 bundle from Costco and I am using the various office products to do some work.  I keep getting a request to activate the software, but when I try I receive the following error message: "activation failed with
    the following error: 0xC004B011"
    How do I activate the software and fix the issue?  It also hows "The activation server determined that your computer clock time is not correct. You must correct your clock before you can activate."  What time zone do I need to be set
    to activate the software?

    I had this issue and fixed it:
    Just click the clock, and choose Change Date & time settings > Date and Time > Internet Time > click Change Settings > and finally click UPDATE TIME. I changed the server to time.windows.com and that's
    it. It took me two attempts at clicking update time and it then said time updated successfully. Activation works fine afterwards. 

  • Active program loses focus

    Hello. I've been playing with a Mac recently. I'm new to Mac, but I've years of Linux experience (so don't feel uneasy about having me muck about in the Terminal with vim). I noticed that on this machine the desktop refreshes very slowly, and when it does the active application changes to Finder.
    The program on-screen doesn't change, but it loses focus. So if my browser is the active application, it loses focus, but its still on-screen and no application appears "over" it. The Finder toolbar also appears in the toolbar across the top of the screen (replacing the toolbar of the app which had focus immediately previous).
    This slow refresh and change of active application takes place about every 90 seconds.
    The only change which I know that happened to the machine was the installation of DivX and Xvid (both from the official homepages). Both have been uninstalled since then. The DivX version was causing unhandled exceptions in Toast 8 Titanium upon launch anyway.

    Hi Adrian, and a warm welcome to the forums!
    Thank you.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for action in Safe Mode...
    I note when I boot this way there seems to be no visual indication that I've done a Safe Boot. Is this to be expected? It seems I have the same issue in Safe Boot mode also.
    I checked the startup items you mentioned, the timestamps on each of the files in those 3 directories are all 2005 - 2008. This problem has only cropped up in the last 24 hours though.
    I note that when Finder becomes the active program that top show `crashdump` is topping the list.
    I'm currently grepping my home directory for "crashdump". (although I suspect its likely its being run as a side effect). Next step, the logs and the man pages I guess.

  • How to create TOP include?

    Hi,
      How to Create TOP include?Because i want to move all data declarations into TOP include?
    Thanks,
    sairam

    Hi ,
    in SE38,
    Right after your report statement, type INCLUDE ZXXXXTOP and double click on it , it will ask for creation of a new object , say yes and then it will be created . next copy all the data declarations and paste it in that TOP include and activate it.
    in SE80 , when you create a program, you will get a popup saying PROGRAM ZXXX, and one option will be there for creating it with TOP Include , tick mark that and save it, it will create  a program with a top include .
    Reward if helpful ,
    Regards,
    Ranjita

  • "RASIE_EXCEPTION" error "NO_LIST_ACTIVE" in   program "SAPLSYSF"

    I have encountered an exception "RAISE_EXCEPTION" with error "NO_LIST_ACTIVE"  in Program  SAPLSYSF in include LSYSFU07 .The error occured in  transaction SM37 while extracting a spool list in HTML format. Please suggest any solution or any SAP NOTE associated with the same.

    Hi,
    I don't know which Fm u were executed from Se37 but if it was LIST_DOWNLOAD_HTML then I must say that it is not the right one to convert ur spool to html format. U can try to use FM RSPO_DOWNLOAD_SPOOLJOB to meet ur requirement.
    Regards,
    Joy.

  • Runtime Error in MMBE- s yntax error occurred in program "SAPLMBBS " in inc

    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 Highly appreciated.
    Thanks and Regards,
    Selva

    Hi,
    This looks like an ABAP runtime error and the program concerned is a standard program. Please check the include and try debugging, suggest a breakpoint in line 76.
    Thanks

Maybe you are looking for

  • If - else condition in RTF

    Hello, I have four columns. The value of the fourth column depends on the first three columns. Here are the conditions. Col1 is always 0 or less than 0. 1) if col1 = 0, then col4 = 0 2) if (col2 + col3) + col1 >0, then col4 = col1 3) if (col2 + col3)

  • Tried to restore my 20 GB iPod. Now it doesn't work, and won't charge!

    I could find no reference to my specific iPod issue in the forums search, so posted a New Topic. Here's the situation. I was given an older 20GB iPod "Click Wheel" model. I was told it worked, and it would show the Apple logo when you tried to turn i

  • Dock crashes while scrolling through the program list

    Hi there, when I click on the dock icon of my programs folder I can see the top of the list of my installed software. When I move the mouse cursor towards the down arrow ths lists begins to scrol until I reach the letter "S" - then the dock crashes.

  • How to build a project with no menu...?

    Hi all...I am creating a DVD short and I want the DVD to just begin playing with no menu, or at the least, no "theme", just a basic menu. Any idea how to defeat the "Themes" in iDVD? Thanks!

  • Issue with calculating Top 20 % in Query Designer

    Hai I am working on Query designer 7.0 where I need to design a report which has 4 parts. The first 3 parts displays the Items with Top 20 Inventory Value with 3 respective divisions for 6 months . Now the 4th part is to display Top 20% of inventory