OAF Hello World Run Time errors

Hi All,
I was building the Hello world OA page as per the instruction given in developer guide and while i am running the page i am getting the error message like below.
Any help would appreciate.
Thanks,
sAik
Exception Details:-
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.apps.jtf.cache.CacheLoaderNotFoundException;
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
at OAErrorPage.jspService(OAErrorPage.jsp:34)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:547)
at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:518)
at runregion.jspService(runregion.jsp:143)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
Detail 0 ##
oracle.apps.jtf.cache.CacheLoaderNotFoundException
at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:3236)
at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:3203)
at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:248)
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1293)
at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:686)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at runregion.jspService(runregion.jsp:96)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
oracle.apps.jtf.cache.CacheLoaderNotFoundException
at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:3236)
at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:3203)
at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:248)
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1293)
at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:686)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at runregion.jspService(runregion.jsp:96)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)

Hi,
From project settings Configuration->Development->Runner Java Option remove all the options with CACHE. That means if the value is
-Xbootclasspath/p:C:\JDeveloper\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\JDeveloper\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m
Change it to
-Xbootclasspath/p:C:\JDeveloper\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\JDeveloper\jdevbin\jdev\appslibrt\nls_charset12.zip -DRUN_FROM_JDEV=true -mx256m
HTH
Dinesh

Similar Messages

  • Hello World runs with errors

    I am having trouble with the Hello World program in JDeveloper RUP7 setup.
    And I have searched these forums, but no threads describe this exact issue.
    When I run the Hello World, the first page appears fine, with all the links showing.
    However, when I click on any of the links in the page, then I get an error,
    and the page dumps me to our main Applications Login screen.
    The error I get (after clicking on a link) is:
    Unexpected URL parameters have been detected and will be ignored
    And the link I click on in Hello World application is:
    http://scottma09.corpusa.napole.local:8988/OA_HTML/OA.jsp?
    OAFunc=FWK_TOOLBOX_HELLO&
    OAPB=FWK_TOOLBOX_BRAND&
    OAHP=FWK_TOOLBOX_TUTORIAL_APP&
    OASF=FWK_TOOLBOX_HELLO&
    transactionid=1255486469&oas=kIYCU8z8RLu95eOyqIqWaw..
    Any advice is greatly appreciated.

    Thank you both for your input.
    I was already using my Oracle user acct, which had been setup properly.
    But when installing JDeveloper, I did not see any mention of:
    Tools -> Preferences -> Embedded OC4J -> Default Local IP Address (Recommended)
    Selecting that option solved my problem.
    Also, I had been investigating the advice in this other thread, but it did not help:
    Unexpected URL parameters have been dete

  • Run Time Error '13' Type Mismatch in SAP BEx

    Hello, SAP World!
    If i try to see "Query Properties" in Excel 2007 in BEx Analyzer, getting the error:
    Run-time error '13'
    Type Mismatch.
    Plz, Help!
    For Excel 2003 this error is not occured.
    GUI 6.40
    File Ver. 6405.5.27.3058
    Patch Level: 27
    SAP BW 3500.4.020

    are you using BW 3.5 or 7.0 (BI nw2004as) ?
    have you installed both BW add-on (3.5 and 7.0) ?

  • Run time error after starting eclipse

    Hello,
    after installation of the SAP Eclipse Theme Editor the following run time error is reported after each restart of eclipse:
    java.lang.ClassCastException: com.sap.ur.plugins.ThemeEditor32Input cannot be cast to com.sap.ur.plugins.ThemeEditorInput
         at com.sap.ur.plugins.ThemeEditor.init(ThemeEditor.java:188)
         at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
         at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
         at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
         at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
         at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
         at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1429)
         at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
         at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
         at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
         at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
         at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
         at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    I can work with this editor anyway after choosing the project. But I still have a problem because the preview will not change when I choose a different UI element. The preview alway shows the text "welcome to the SAP ThemeEditor!".  When I modify style parameters for the UI element Text the preview is modified in the right way. I already set the Internet Options for the Internet Explorer as suggested. Is it possible that the reported run time error is the reason for the preview problems? The external preview works fine.

    Hi,
    I would suggest you to remove NWDS, then ensure that nothing left on the disk related to NWDS, and then try a fresh install.
    Best Regards,
    Ervin

  • Run time error 2147467259

    Hello,
    while opening a query/ a workbook in the bex I get an error message "Run time error 2147467259 - The method 'position' for the object 'commandbar' was aborted."
    Somebody has an clue what this is about? I know this error from VBA but I don't know how to solve it in relation to BEX...
    Thanks in advance.
    hansi

    Hi ,
    Pls check below threads , may be it will helpful.
    https://forums.sdn.sap.com/click.jspa?searchID=20998303&messageID=6674385
    https://forums.sdn.sap.com/click.jspa?searchID=20998303&messageID=6862348
    Thanks & Regards,
    Ramnaresh.P.

  • Run time error while executing KP06

    Hello All,
    A run time error is being returned when I execute the tcode KP06. After entering all required field such as cost elements, cost center / CCgroup, then I pressed period screen / overview screen ... and it went to abap dump ...
    FYI, I have upgraded to 4.7 to ECC system.
    Regards,
    Bharath.
    Moderator message: please do more research before asking, use ST22, search for SAP notes, check your custom enhancements.
    Edited by: Thomas Zloch on Aug 22, 2011 9:58 AM

    Ok. Look at the dump in ST22 and solve your problem.

  • Run time error while saving sales order

    Hi all,
    i am working on IDES ECC 6.0, when i am saving an sales order(OR) i am getting run time error in the table CRMPAROLTP, program SAPMV45A.
    i am using 4 GB RAM, still having a space of 30 GB for only IDES to save the data.
    so, how to solve it.

    Hello,
    I doubt the runtime error (I am assuming you mean that you got a short dump) you mentioned in your original post has anything to do with the warning messages you see when doing a check (Ctrl+F2) on table CRMPAROLTP and program SAPMV45A.  These warnings should not cause a short dump or runtime error.
    The warning message for the table has the following long text:
    Table CRMPAROLTP: Key length > 120 (Restricted functionality)
    Message no. DT214
    Diagnosis
    The key length, i.e. the sum of the field lengths of all the key fields of the table, is more than 120 bytes.
    System response
    This is a warning.
    Procedure
    Note the following restricted fuctionality for this table:
    - Table contents cannot be transported by specifying key values, at
      best by specifying generic key values with a maximum length of 120
      bytes.
    - The table may not be used as the base table of a lock object.
    The warnings in SE38 for program SAPMV45A are mostly related to Unicode and have no reference to the table CRMPAROLTP.
    If you haven't already done so, please check the SAP Note referenced in my first reply since this does provide a solution for short dumps related to table CRMPAROLTP.
    Of course, since I don't know specifically what the short dump message is that you received, I could be basing my assessment on false assumptions.  If you have those details it is better for the SDN community as a whole if you include the information in this thread instead of sending it to me offline.
    Best Regards,
    Jamie

  • Run time error in MIGO after maintaining tax code

    Hello Experts,
    I had configured the new tax code ,which is working fine for the PO document ZLOC domestic and the account category Z.
    While doing the MIGO for purchase document type ZGEN general purchase , I am getting run time error:
      "Division by 0 (type P) in program "SAPLJ1IEX".
    When I debugged the code i found that inside FM: 'J_1IEX_DEFAULT_EXCISE_DUTY'
    one another FM is being called: 'J_1I6_UNIT_CONVERSION' which is returning the value "ls_ekpo-menge" as 0(Zero).
    later in the code when "ls_ekpo-menge" used in calculation then divide by 0 runtime error is coming.
    Please suggest what need to be done.
    Is there anything related to tax code? How should I correct it?

    Hi,
            There is not value in that field for PO quantity / Value it is missing while doing MIGO. Check whether you have maintained values for all required fields.
    Kiran

  • Run Time Error  while Transferring data to Application server

    Hello Abaper's,
    I have generated a XML data using the FM : "  SAP_CONVERT_TO_XML_FORMAT ".
    While transferring the data to a File on Application Server using the statement
    DATA : wa_xmltab TYPE truxs_xml_line,
                 it_xmltab TYPE truxs_xml_table.
    OPEN DATASET FNAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc EQ 0.
      LOOP AT it_xmltab INTO wa_xmltab.
        TRANSFER wa_xmltab TO FNAME.    <<<<<<<<<<<<<<  Getting Error here
      ENDLOOP.
    ELSE.
      MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.
    ENDIF.
    CLOSE DATASET FNAME.
    The Run Time Error i am Facing is  
    Short text
        The current statement is only defined for character-type data objects.
    Error analysis
        For the statement
           "TRANSFER f TO ..."
        only character-type data objects are supported at the argument position
        "f".
        In this case. the operand "f" has the non-character-type "TRUXS_XML_LINE". The
        current program is a Unicode program. In the Unicode context, the type
        'X' or structures containing not only character-type components are
        regarded as non-character-type.
    Regards
    jv

    Hello  Volker Binder ,
    Thank you . it's now transferring the data to Application sercver. I forgot to try using Binay mode,
    Thers is one more problem. There are 10 Records in that internal table that is being converted to XML format,
    but the XML data is showing only first 4 records.... the XML data format for the remaining data is not seen.
    Actual  No. of Records  in Internal table :
    matnr            matkl          meins
    0-BUY1               012         PC
    0-BUY2               012         PC
    1                                EA
    2                    012         L
    3                    01          EA
    12                               EA
    23                   001         ST
    24                   015`        EA
    28                   010         EA
    29                   015`        AU
    XML Format for the above 10 fields is :
    <?xml version="1.0"?><TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY1</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">PC
    </MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY2</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">
    PC </MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000001</MATNR><MEINS Datatype="C" Length="6">EA</MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000002</MATNR
    This 4th record data in XML is also incomplete..
    The above XML format is generated only for 4 records  out of 10 Records.
    Please let me know , how can i increase the Size / Memory of the Application server file to accomodate for the reamining Records
    Regards
    Jv

  • XL reporter launching in SAP 8.81 PL:00: run time error

    Hello experts,
    We have a customer who is on SAP 8.81 PL:00.
    They are trying to use XL reporter but when they try using XL reporter, they get:
    Run time Error 91
    The system then freezes.
    Have checked they have Microsoft.net 1.1 which they do and that they have the correct excel.exe config file which they do.
    Any suggestions or known faults with 8.81?
    Thank you in advance,
    Andy

    Hi Andrew,
    'Object reference not set to an instance of an object ' is a known error, this usually happens because there was a previous install of the same add on which was not uninstalled completely. This can cause the error.
    I would suggest you to go through sap notes 1247315, 1287193. These all suggests about run time errors, cleaning registry files and clean install etc.
    Hope it helps
    regards
    Johnson

  • Run time Errors GETWA_NOT_ASSIGNED at Time of Print Reports.

    Hello hy All experts.
    I ma trying to print Reports, but at time of preview i got an error message. Run time Errors GETWA_NOT_ASSIGNED.
    Please Give me Solutions.
    Thnks
    Bhavesh Panchal.
    Baroda

    FORM fetch_data.
      break mtabap.
      SELECT *
              FROM vbep
              INTO TABLE it_vbep
              WHERE edatu IN so_edatu
              AND vbeln IN so_vbeln.
      IF NOT it_vbep[] IS INITIAL.
        SELECT *
                       FROM vbak
                       INTO TABLE it_vbak
                       FOR ALL ENTRIES IN it_vbep
                       WHERE vbeln = it_vbep-vbeln
                       AND kunnr IN so_kunnr.
      ENDIF.
      IF NOT it_vbak[] IS INITIAL.
        SELECT *
                FROM vbpa
                INTO TABLE it_vbpa
                FOR ALL ENTRIES IN it_vbak
                WHERE vbeln = it_vbak-vbeln
                AND   posnr = space.
        SELECT *
                 FROM vbap
                 INTO TABLE it_vbap
                 FOR ALL ENTRIES IN it_vbak
                 WHERE vbeln = it_vbak-vbeln.
    Select all Customer Data
        SELECT * FROM kna1 INTO TABLE it_kna1
        FOR ALL ENTRIES IN it_vbak
        WHERE kunnr = it_vbak-kunnr .
        SELECT *
                 FROM vbkd
                 INTO TABLE it_vbkd
                 FOR ALL ENTRIES IN it_vbap
                 WHERE vbeln = it_vbap-vbeln.
               and posnr = IT_VBAP-POSNR.
        SELECT *
                 FROM vbbe
                 INTO TABLE it_vbbe
                 FOR ALL ENTRIES IN it_vbap
                 WHERE vbeln = it_vbap-vbeln
                 AND posnr = it_vbap-posnr.
        SELECT *
                 FROM vbup
                 INTO TABLE it_vbup
                 FOR ALL ENTRIES IN it_vbap
                 WHERE vbeln = it_vbap-vbeln
                 AND posnr = it_vbap-posnr.
        SELECT *
                 FROM konv
                 INTO TABLE it_konv
                 FOR ALL ENTRIES IN it_vbak
                 WHERE knumv = it_vbak-knumv
                 AND kinak = space .
        SELECT *
              FROM vbrp
              INTO TABLE it_vbrp
              FOR ALL ENTRIES IN it_vbak
              WHERE aubel = it_vbak-vbeln.
        IF NOT it_vbrp[] IS INITIAL.
          SELECT * FROM likp
                            INTO TABLE it_likp
                            FOR ALL ENTRIES IN it_vbrp
                            WHERE vbeln = it_vbrp-vgbel.
          SELECT * FROM lips
                            INTO TABLE it_lips
                            FOR ALL ENTRIES IN it_vbrp
                            WHERE vbeln = it_vbrp-vgbel
                            AND posnr = it_vbrp-vgpos.
        ENDIF.
      ENDIF.
      LOOP AT it_vbap.
        itab-posnr = it_vbap-posnr.
        itab-posar = it_vbap-posar.
    ITAB-BRGEW = IT_VBAP-BRGEW.
        itab-brgew = it_vbap-brgew.
        itab-ntgew = it_vbap-ntgew.
        READ TABLE it_vbak WITH KEY vbeln = it_vbap-vbeln.
        itab-vbeln = it_vbak-vbeln.
        itab-netwr = it_vbak-netwr.
        itab-kunnr = it_vbak-kunnr.
        READ TABLE it_vbep WITH KEY vbeln = it_vbap-vbeln.
        itab-edatu = it_vbep-edatu.
        READ TABLE it_kna1 WITH KEY kunnr = it_vbak-kunnr.
        itab-name1 = it_kna1-name1.
        READ TABLE it_vbkd WITH KEY vbeln = it_vbap-vbeln .
        itab-bstdk = it_vbkd-bstdk.
        itab-bstkd = it_vbkd-bstkd.
        READ TABLE it_vbrp WITH KEY aubel = it_vbap-vbeln aupos = it_vbap-posnr.
        READ TABLE it_lips WITH KEY vbeln = it_vbrp-aubel posnr = it_vbrp-aupos.
        itab-delivery = it_lips-vbeln.
        itab-lfimg = it_lips-lfimg.
        READ TABLE it_likp WITH KEY vbeln = it_vbrp-aubel   .
        itab-lfdat = it_likp-lfdat.
       itab-ntgew = it_likp-ntgew.
        break mtabap.
        READ TABLE it_vbup WITH KEY vbeln = it_vbap-vbeln posnr = it_vbap-posnr.
        itab-lfsta = it_vbup-lfsta.
        READ TABLE it_vbep WITH KEY vbeln = it_vbap-vbeln posnr = it_vbap-posnr.
        itab-wmeng = it_vbep-wmeng .
        itab-bmeng = it_vbep-bmeng.
        READ TABLE it_vbbe WITH KEY vbeln = it_vbap-vbeln posnr = it_vbap-posnr.
        itab-omeng = it_vbbe-omeng .
        READ TABLE it_konv WITH KEY knumv = it_vbak-knumv
                                    kposn = it_vbap-posnr
                                    kschl = 'PR00'.
       ITAB-KBETR = IT_KONV-KBETR / 10. " CONDITION RATE
        itab-kbetr = it_konv-kbetr.
        itab-kwert = it_konv-kwert . "CONDITION VALUE
       itab-pending_val =  ITAB-OMENG * ITAB-KWERT .
        itab-pending_val =  itab-omeng * itab-kbetr .
        APPEND itab.
      ENDLOOP.
    ENDFORM. "data_retrieval
    *&      Form  build_listheader
          text
         -->IT_LISTHEADER  text
    Show quoted text -
    FORM build_listheader USING it_listheader TYPE slis_t_listheader.
    DATA HLINE TYPE SLIS_LISTHEADER.
      DATA: ls_line TYPE slis_listheader.
    bhavesh
    HLINE-INFO = 'report Developed by Bhavesh'.
    HLINE-TYP = 'H'.
    Header
    Bhavesh
      CLEAR ls_line.
      ls_line-typ = 'H'.
    LS_LINE-KEY: not used for this type
      ls_line-info = 'Sales ORDER Report'.
      APPEND ls_line TO it_listheader.
    bhavesh
    ***Selection
      CLEAR ls_line.
      ls_line-typ = 'S'.
      ls_line-key = 'Key 1'.
      ls_line-info = 'SFEL'.
      APPEND ls_line TO it_listheader.
      ls_line-key = 'Key 2'.
      ls_line-info = 'SFEL'.
      APPEND ls_line TO it_listheader.
    ***Action
      CLEAR ls_line.
      ls_line-typ = 'A'.
    LS_LINE-KEY: not used for this type
      ls_line-info = 'Status list'.
      APPEND ls_line TO it_listheader.
    ENDFORM. "BUILD_LISTHEADER
    *ENDFORM. "build_listheader
    *&      Form  display
    *&       text
    FORM display.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
            EXPORTING
              i_callback_program      = sy-repid
             i_callback_top_of_page  = 'TOP_OF_PAGE'
              is_layout               = alv_layout
              it_fieldcat             = i_fieldcat
             it_events               = gt_events[]
              i_callback_user_command     = 'USER_COMMAND'
              i_grid_title            = 'BHAVESH REPORT'
            TABLES
              t_outtab                = itab[].
      CLEAR : itab .
    ENDFORM.                    "display
    *&      Form  top_of_page
          text
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = it_listheader[].
    i_logo = 'ENJOYSAP_LOGO'.
    I_END_OF_LIST_GRID =
    ENDFORM. "TOP_OF_PAGE

  • Run time error running Vision Builder AI inspection from TestStand

    Hello,
    I have TestStand 3.1 and Vision Builder for AI v2.6.1.
    I would like to run from TestStand a Vision Builder Program or steps. For to achieve that, I have followed the instructions on Application Note 215, Running a Vision Builder AI Inspection from TestStand.
    After installation, the option in TestStand InsertStep>NI Vision Builder AI>Inspection works properly.
    But when try to execute a step with that inspection, and whatever operation of that one, the result is the following error:
    Run-Time Error
       Details: Error executing substep 'Post'.
    An error occurred calling 'ExecuteStep' in '_NIVBAITestStandSteps' of 'NIVBAITestStandAPI'.
       Error Code: -2147417851; User defined code. Possible System Error: The server sent an exception.
      At this point really I don´t know what to do, and I don't find any extra help apart of application note.
      I will appreciate some suggestion.
    Gonzalo.

    Hello,
    I've found some more information that may help.  Since these TestStand steps are simply call a DLL with an exported ActiveX API, path issues may exist.  In fact, the overwhelming number of times this error appears, paths seems to be the case. I am not sure why the error is an indication of a path issue, but that seems to be the case.  I would recommend that you would reregister the DLL, this time in the same directory as the example sequence.  To do this:
    - Unregister the current DLL by going to Start Menu>>Run, and typing: regsvr32 /u NIVBAITestStandAPI.dll
    - Move the DLL from the system32 folder to the folder in which the example sequence is saved.
    - Reregister the DLL from the run command (regsvr32 <folder path>\NIVBAITestStandAPI.dll)
    - Restart TestStand if it is open
    I apologize for not having any concrete answers, but this one is proving tough without me being able to replicate the issue.
    crisR

  • Run-time error '1004' Application-Defined or object-defined error

    Hello friends,
    My requirement is to make the cells under Columns Actual, forecast and target (Dimesnion Category) Locked.
    I've used various methods like GetOnlyRange but it didnt work.
    Now, i've selected all the cells of the sheet, where user can input and made them unlocked. ( from Right-click>FormatCells>Protection tab-->Locked checkbox unchecked)
    Then, go to "review" tab, click "Allow Users to edit Ranges",-> Protect Sheet---> ticked "Unlocked Cells"
    Then go to WorkBook Options and set a password for the worksheet.
    But on expand, I'm facing Run-time error '1004' Application-Defined or object-defined error.
    Please help.
    Please help.

    Hi,
    I think that  is VBA Runtime error, you can fix these errors by downloading in various sites.
    http://www.articlesbase.com/data-recovery-articles/vba-runtime-error-1004-application-defined-or-object-defined-error-fix-these-errors--1339060.html
    You can try with the above link.  I hope this could solve your problem.
    Regards,
    B.S.RAGHU

  • ALV GRID Display function module giving Run time error

    Hello Experts,
    I have ALV report, In which I am using ALV grid dispaly FM to display the report.
    But when my out table which I am passing to FM is empty that time ALV grid display shows blank ALV report. but when out table is not empty that time  I am getting the Run time error, which shows message "Field symbol has not yet been assigned".
    Can any one please help me out in this.
    Thanks

    TYPES: BEGIN OF type_out,
            col00    TYPE   ytlet-rzzyyproduct,
            col01    TYPE   ytlet-kslvt,
            col02    TYPE   ytlet-kslvt,
            col03    TYPE   ytlet-kslvt,
            col04    TYPE   ytlet-kslvt,
            col05    TYPE   ytlet-kslvt,
            col06    TYPE   ytlet-kslvt,
            col07    TYPE   ytlet-kslvt,
            col08    TYPE   ytlet-kslvt,
            col09    TYPE   ytlet-kslvt,
            col10    TYPE   ytlet-kslvt,
            col11    TYPE   ytlet-kslvt,
            col12    TYPE   ytlet-kslvt,
            col13    TYPE   ytlet-kslvt,
            col14    TYPE   ytlet-kslvt,
            col15    TYPE   ytlet-kslvt,
            col16    TYPE   ytlet-kslvt,
            col17    TYPE   ytlet-kslvt,
            col18    TYPE   ytlet-kslvt,
            col19    TYPE   ytlet-kslvt,
            col20    TYPE   ytlet-kslvt,
            col21    TYPE   ytlet-kslvt,
            col22    TYPE   ytlet-kslvt,
            col23    TYPE   ytlet-kslvt,
            col24    TYPE   ytlet-kslvt,
            col25    TYPE   ytlet-kslvt,
            col26    TYPE   ytlet-kslvt,
            col27    TYPE   ytlet-kslvt,
            col28    TYPE   ytlet-kslvt,
            col29    TYPE   ytlet-kslvt,
            col30    TYPE   ytlet-kslvt,
            col31    TYPE   ytlet-kslvt,
            col32    TYPE   ytlet-kslvt,
            col33    TYPE   ytlet-kslvt,
            col34    TYPE   ytlet-kslvt,
            col35    TYPE   ytlet-kslvt,
            col36    TYPE   ytlet-kslvt,
            col37    TYPE   ytlet-kslvt,
            col38    TYPE   ytlet-kslvt,
            col39    TYPE   ytlet-kslvt,
            col40    TYPE   ytlet-kslvt,
            col41    TYPE   ytlet-kslvt,
            col42    TYPE   ytlet-kslvt,
            col43    TYPE   ytlet-kslvt,
            col44    TYPE   ytlet-kslvt,
          END OF type_out.
    DATA: t_fieldcat   TYPE slis_t_fieldcat_alv,   "Field catelog table
          w_fieldcat   TYPE slis_fieldcat_alv,     "Field catelog Work area
          w_layout     TYPE slis_layout_alv,       "Layout structure
          w_event      TYPE slis_alv_event,        "Event structure
          t_event      TYPE slis_t_event,          "Event structure
          t_sort       TYPE STANDARD TABLE OF slis_sortinfo_alv,
          t_callback_main_user_command  TYPE  slis_formname,
          v_selfield TYPE slis_selfield.
    FIELD-SYMBOLS: <ksl>.
    FORM DISPLAY_REPORT .
    *Prepare Field Catlog
      PERFORM  creat_field_catlog.
    *Set layout
      PERFORM  set_layout.
    *Get Event
      PERFORM get_event.
    *Display Report
      PERFORM display_alv_report.
    ENDFORM.                    " DISPLAY_REPORT
    FORM creat_field_catlog .
      PERFORM add_fields_catlog USING:
           '01'    'RZZYYPRODUCT'     'IT_OUT'    'MPMs' ' ',
           '02'    'KSLVT'     'IT_OUT'    'License Fee' ' ',
           '03'    'KSLVT'     'IT_OUT'    'Ad Sales' ' ',
           '04'    'KSLVT'     'IT_OUT'    'Promo Fees' ' ',
           '05'    'KSLVT'     'IT_OUT'    'Total Ad Sales/Promo' ' ',
           '06'    'KSLVT'     'IT_OUT'    'Other' ' ',
           '07'    'KSLVT'     'IT_OUT'    'Total' ' ',
           '08'    'KSLVT'     'IT_OUT'    'Dom Station' ' ',
           '09'    'KSLVT'     'IT_OUT'    'Basic Cable/Free VOD' ' ',
           '10'    'KSLVT'     'IT_OUT'    'License Fee' ' ',
           '11'    'KSLVT'     'IT_OUT'    'Ad Sales (incl Internet)' ' ',
           '12'    'KSLVT'     'IT_OUT'    'Promo Fees' ' ',
           '13'    'KSLVT'     'IT_OUT'    'Ad Sales & Promo Fees' ' ',
           '14'    'KSLVT'     'IT_OUT'    'Foreign' ' ',
           '15'    'KSLVT'     'IT_OUT'    'Pay TV' ' ',
           '16'    'KSLVT'     'IT_OUT'    'Other' ' ',
           '17'    'KSLVT'     'IT_OUT'    'Total' ' ',
           '18'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',
           '19'    'KSLVT'     'IT_OUT'    'SPTI' ' ',
           '20'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',
           '21'    'KSLVT'     'IT_OUT'    'Total' ' ',
           '22'    'KSLVT'     'IT_OUT'    'Total Revenue' ' ',
           '23'    'KSLVT'     'IT_OUT'  'PV Net Down & Producers Share' '',
           '24'    'KSLVT'     'IT_OUT'    'Total Net Revenue' ' ',
           '25'    'KSLVT'     'IT_OUT'    'Development Expense' ' ',
           '26'    'KSLVT'     'IT_OUT'    'SOP Deficits' ' ',
           '27'    'KSLVT'     'IT_OUT'    'Amortization' ' ',
           '28'    'KSLVT'     'IT_OUT'    'Other COS ' ' ',
           '29'    'KSLVT'     'IT_OUT'    'Total COS' ' ',
           '30'    'KSLVT'     'IT_OUT'    'Profit Before Releasing' ' ',
           '31'    'KSLVT'     'IT_OUT'    'Gross Profit %' ' ',
           '32'    'KSLVT'     'IT_OUT'    'SPT' ' ',
           '33'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',
           '34'    'KSLVT'     'IT_OUT'    'SPTI' ' ',
           '35'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',
           '36'    'KSLVT'     'IT_OUT'    'Other' ' ',
           '37'    'KSLVT'     'IT_OUT'    'Total' ' ',
           '38'    'KSLVT'     'IT_OUT'    'Gross Profit' ' ',
           '39'    'KSLVT'     'IT_OUT'    'SPT' ' ',
           '40'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',
           '41'    'KSLVT'     'IT_OUT'    'SPTI' ' ',
           '42'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',
           '43'    'KSLVT'     'IT_OUT'    'Other' ' ',
           '44'    'KSLVT'     'IT_OUT'    'Total' ' ',
           '45'    'KSLVT'     'IT_OUT'    'Net Margin' ' '.
    ENDFORM.                    " CREAT_FIELD_CATLOG
    *&      Form  ADD_FIELDS_CATLOG
          Filling of field Catlog
    FORM add_fields_catlog  USING    p_colpos
                                     p_fildname
                                     p_tabname
                                     p_fildtext
                                     p_ndisplay.
      w_fieldcat-row_pos       = '1'.
      w_fieldcat-col_pos       = p_colpos.
      w_fieldcat-fieldname     = p_fildname.
      w_fieldcat-tabname       = p_tabname.
      w_fieldcat-reptext_ddic  = p_fildtext.
      w_fieldcat-no_out        = p_ndisplay.
      APPEND w_fieldcat TO t_fieldcat.
      CLEAR: w_fieldcat.
    ENDFORM.                    " ADD_FIELDS_CATLOG
    *&      Form  SET_LAYOUT
          Set Layout
    FORM set_layout .
      w_layout-colwidth_optimize = 'X'.
    ENDFORM.                    " SET_LAYOUT
    *&      Form  GET_EVENT
          text
    FORM get_event .
      w_event-name = 'TOP-OF-PAGE'.
      w_event-form = 'F_TOP-OF_PAGE'.
      APPEND w_event TO t_event.
    ENDFORM.                    " GET_EVENT
    *&      Form  TOP-OF-PAGE
          Top of Page
    FORM top-of-page.
      DATA : t_list_commentry   TYPE slis_t_listheader,
               w_header           TYPE slis_listheader,
               lv_text(90)        TYPE c,
               l_text(90)         TYPE c,
               lv_rundate(10)     TYPE c,
               lv_runtime(10)     TYPE c.
      CONSTANTS: c_space(2) TYPE c VALUE '  ',
                 c_space2(6) TYPE c VALUE '      '.
      w_header-typ  = 'S'.
      w_header-key  = 'Program:'.
      w_header-info = sy-repid.
      APPEND w_header TO t_list_commentry.
      WRITE: sy-datum TO lv_rundate MM/DD/YYYY.
      WRITE: sy-uzeit TO lv_runtime USING EDIT MASK '__:__:__'.
    CLEAR w_header.
    w_header-typ  = 'S'.
    w_header-key  = text-021.
    w_header-info = lv_rundate.
    APPEND w_header TO t_list_commentry.
      CLEAR: w_header.
      w_header-typ  = 'S'.
      w_header-key  = 'User Id'.
      w_header-info = sy-uname.
      APPEND w_header TO t_list_commentry.
      CLEAR: w_header.
      w_header-typ  = 'S'.
      w_header-key  = 'Run Date'.
      w_header-info = lv_rundate.
      APPEND w_header TO t_list_commentry.
      CLEAR: w_header.
      w_header-typ  = 'S'.
      w_header-key  = 'Run Time'.
      w_header-info = lv_runtime.
      APPEND w_header TO t_list_commentry.
      CLEAR: w_header.
      w_header-typ  = 'H'.
      w_header-key  = 'order'.
      w_header-info = 'MCR Report'.
      APPEND w_header TO t_list_commentry.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = t_list_commentry.
    ENDFORM.                    "TOP-OF-PAGE
    FORM display_alv_report .
      CONSTANTS : gc_save TYPE c VALUE 'A'. "Save Layout
    t_callback_main_user_command  = c_user_command.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
        i_callback_user_command           = t_callback_main_user_command
         i_callback_top_of_page            = 'TOP-OF-PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
         is_layout                         = w_layout
         it_fieldcat                       = t_fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
         i_save                            = gc_save
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = it_out
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
       ENDIF.

  • Receiving a run time error BCD_OVERFLOW

    Hello,
    While executing the Zprogram ...I am receiving a run time error.
    Got Runtime Error BCD_OVERFLOW
    When I analysed the issue in ST22....Type P
    Result is larger than one which is defined...
    Any suggestion would be appreciated ...
    Regards,
    Kittu

    Hi,
    You may need to define the result field to be larger, if it is still
    possible to do so.
      Or
    there is another way you can handle this error...
    You can give a try  using this sample code:
    Data : l_number_str type string.
    Catch system-exceptions convt_no_number    = 1
                           convt_overflow     = 2
                           bcd_field_overflow = 3
                           bcd_overflow       = 4. 
    l_number = l_number_str.
    endcatch
    Regards
    Lekha

Maybe you are looking for

  • Why does a mystery application try to open when I login?

    I wonder if anyone can help me with an issue I'm having with a mystery application trying to open. Every time I wake my iBook G4 from sleep, or I start it from shutdown (I am the only user), I see an application is trying to open at the right side of

  • Populating a PDF form with database data

    I would love to know how (if possible) to populate an Adobe PDF form with data pulled from an Access database. Background I have a registration form already created using Adobe LiveCycle which is used by people to fill in their details.  With a built

  • Limit VIP to only certain mailboxes?

    Hi everyone, I am currently using the VIP function in Mail.app, but have run into a snag. In Mail I currently have three accounts, my own work emial box and then two shared "team" mailboxes. I notice now that even when a VIP email comes to a team mai

  • The touch screen in my IPad2 is not working

    If you can help me that would be awesome !!!! somehow we have disabled the touch screen in my IPad 2 and I don't know how to enable it again.   Any ideas

  • Specific IP-address

    What is the most elegant way to let only users from specific hosts (IP-address) access Weblogic server resources? (i'm interested in the access of web resources, JSP's more precisely) Marius