Runtime error in JDBC

C:\Oracle\oracle8i\jdbc\demo\samples\oci8\basic-samples>java JdbcCheckup
Exception in thread "main" java.lang.NoClassDefFoundError: JdbcCheckup
why i am getting this error while runing a jdbc program in oracle.
Expecting your help.
Thanks

Hi,
This problem is because you do not have the current directory in your classpath.
Set your classpath as follows
set classpath=.;%classpath%You will then be able to run the program.
Hope this helps.
Sujatha.

Similar Messages

  • Runtime Error using JDBC Driver in NetBeans IDE 6.9.1

    Hello,
    I receive a compiler error which reads as follows;
    java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
    java.sql.SQLSyntaxErrorException: Schema 'DEMO' does not exist
    Heres the main body of code i am trying to execute.
    public class Main {
    @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    try{
    Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
    }catch(ClassNotFoundException e){
    System.out.println(e);
    try{
    Connection con = DriverManager.getConnection("jdbc:derby://localhost:1527/SimpleDBDemo", "demo", "demo");
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * FROM DEMO.Table1");
    while (rs.next()) {
    String s = rs.getString("Name");
    float n = rs.getFloat("Age");
    System.out.println(s " " n);
    }catch(SQLException e){
    System.err.println(e);
    I am using NetBeans IDE and have created a database under: Services->Databases-> Java DB->SimpleDBDemo.
    I have a database connection in which theres a simple table (called "TABLE1") created which contains the names and ages of two people. I am trying to access the data of these two people.
    From what i can figure out i am getting a runtime error. I have downloaded a folder called "Microsoft SQL Driver 2005 JDBC Driver" which contains the "sqljdbc.jar" executable file. I copied the jar file to the library in "Program files->Sun->javadb" and then added the file to the project libraries section i.e. "Project->properties->add JAR/Folder->sqljdbc.jar" in netbeans.
    I am still getting the same runtime error. Have i the sqljdbc.jar file added in the wrong place?
    Any help would be greatly appreciated.

    Microsoft SQL Driver 2005 JDBC Driver is not the Derby driver.
    You need the correct JDBC driver for the database you are using, you can't simply grab the first one you find.

  • Runtime error - class not found using JDBC driver and thin client

    Hi,
    We are running a small Java application on a Sun server which acts as a thin client connecting to an Oracle 8i server running on a different server.
    JDK version: 1.3.1_01
    OS version: Solaris 7
    JDBC classes file: classes12.zip
    It compiles fine, but get a runtime error (the DriverManager.registerDriver method )
    cruncher [40]% javac -classpath /export/home/mrscot/classes12.zip JDBCtest.java
    cruncher [41]% java JDBCtest
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
    at JDBCtest.main(JDBCtest.java:7)
    cruncher [42]%
    Program:
    import java.sql.*;
    import java.math.*;
    class JDBCtest {
    public static void main (String args []) throws SQLException {
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin@xxxxxxxxx:1521:xxxx", <userid>,<password>);
    Statement stmt = conn.createStatement ();
    ResultSet rset = stmt.executeQuery (".............");
    while (rset.next ())
    System.out.println (rset.getString ("......."));
    rset.close();
    stmt.close();
    conn.close();
    } catch (Exception e) {
    System.out.println("Error: " + e);
    Any ideas? Probably something very, very stupid I'm overlooking!
    Thanks
    Scotty ([email protected])

    Supplementary question:
    Hi,
    We are running a small Java application on a Sun server which acts as a thin client connecting to an Oracle 8i server running on a different server.The Oracle version is 8.1.6
    Will the 'classes12.zip' for 8.1.7 work with
    1.3.1 of the Java JDK, and Oracle 8i 8.16 ??
    Thanks Scotty

  • Portal Runtime Error  in ESS MSS Pages

    Hi All,
    We are getting following run time error from standard ESS transaction page. It is standard ESS iView and data showing correctly but this message is giving in the bottom of the page content area. We are using EP SP12 with 4.6c backend R/3 system.
    Any help or suggestions will be greatly appreciated.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView
    Cannot assign a java.lang.String object of length 1,342 to host variable 1 which has JDBC type VARCHAR(1,333)..
    Exception id: 10:59_21/08/05_0008_1396450
    See the details for the exception ID in the log file
    Thanks,
    Laxma

    Hi Laxma,
    Change the objectids to something short.
    For now create a new folder structure with Object IDs shorter and move the content in the old folders to the new folders. For each object the name space is too long and is causing the path to exceed the defined limit.
    Regards
    -Venkat Malempati

  • Theme Editor : Runtime error

    Hi,
    I am facing some problems with theme editor
    System details:
    - Windows 2000 with SQL server
    - Only Java stack installed
    - EP6 SP7 patch 2
    When I open any theme for editing it does not display the preview; instead gives me an error
    =========================================
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.themes/com.sap.portal.theme_editor/com.sap.portal.styleeditor
    Component Name : com.sap.portal.themes.editor.default
    The exception was logged. Inform your system administrator..
    Exception id: 06:42_18/11/04_0001_4623250
    See the details for the exception ID in the log file
    =======================================
    From this point onwards any other link in theme editor (or else where) starts giving error
    ================================
    Java iView Runtime
    Version : 6.4.200408122048
    + Copyright 2002 SAP AG. All rights reserved.
    An exception occured while processing your request.
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in connection
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in connection
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:296)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:339)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:317)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:810)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:238)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:276)
         ... 20 more
    Caused by: java.lang.OutOfMemoryError
         at com.ddtek.util.UtilPagedTempBuffer.getBlock(Unknown Source)
         at com.ddtek.util.UtilPagedTempBuffer.write(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRequest.getColumnDataForRow(Unknown Source)
         at com.ddtek.jdbc.sqlserver.SQLServerImplResultSet.getData(Unknown Source)
         at com.ddtek.jdbc.base.BaseResultSet.getClob(Unknown Source)
         at com.sap.sql.jdbc.basic.BasicResultSet.getClob(BasicResultSet.java:432)
         at com.sap.sql.jdbc.direct.DirectResultSet.getClob(DirectResultSet.java:1046)
         at com.sap.sql.jdbc.common.CommonResultSet.createClob(CommonResultSet.java:1160)
         at com.sap.sql.jdbc.common.CommonResultSet.getClob(CommonResultSet.java:314)
         at com.sapportals.portal.pcd.pl.AttributeHeadersTable.readFirstValue(AttributeHeadersTable.java:773)
         at com.sapportals.portal.pcd.pl.AttributeHeadersTable.readAttributeHeader(AttributeHeadersTable.java:745)
         at com.sapportals.portal.pcd.pl.AttributeHeadersTable.selectSubtreeObjectsAttributeHeaders(AttributeHeadersTable.java:913)
         at com.sapportals.portal.pcd.pl.PlFactory.getSubtreeSegment(PlFactory.java:897)
         at com.sapportals.portal.pcd.pl.PlFactory.getSubtree(PlFactory.java:823)
         at com.sapportals.portal.pcd.pl.PlContext.lookupSubtree(PlContext.java:289)
         at com.sapportals.portal.pcd.pl.PlContext.lookupSubtree(PlContext.java:310)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.(XfsContext.java:146)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.(XfsDeltaLink.java:149)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.getXfsChildFromPlChild(XfsContext.java:585)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.readXfsObjectFromPersistence(XfsContext.java:503)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChildAtomicName(XfsContext.java:416)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChild(XfsContext.java:283)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChild(XfsContext.java:274)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChild(XfsContext.java:274)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChild(XfsContext.java:274)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChild(XfsContext.java:274)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.lookup(XfsContext.java:222)
         at com.sapportals.portal.pcd.gl.xfs.XfsFactory.getXfsObjectCached(XfsFactory.java:286)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.dlGetUnitRootOfTarget(XfsDeltaLink.java:378)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.dlGetVirtualTree(XfsDeltaLink.java:292)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.deepClone(XfsDeltaLink.java:3063)
         at com.sapportals.portal.pcd.gl.xfs.XfsList.deepClone(XfsList.java:604)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.deepClone(XfsContext.java:2723)
         at com.sapportals.portal.pcd.gl.xfs.XfsList.deepClone(XfsList.java:604)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.deepClone(XfsContext.java:2723)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.dlBuildupVirtualTree(XfsDeltaLink.java:468)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.dlGetVirtualTree(XfsDeltaLink.java:316)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.deepClone(XfsDeltaLink.java:3063)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.dlBuildupVirtualTree(XfsDeltaLink.java:468)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.dlGetVirtualTree(XfsDeltaLink.java:316)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.getAttributes(XfsDeltaLink.java:1486)
         at com.sapportals.portal.pcd.gl.xfs.XfsDeltaLink.getAttributes(XfsDeltaLink.java:1468)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.getAttributes(XfsContext.java:1575)
         at com.sapportals.portal.pcd.gl.xfs.XfsContext.getAttributes(XfsContext.java:1586)
         at com.sapportals.portal.pcd.gl.xfs.BasicObject.getAttributes(BasicObject.java:210)
         at com.sapportals.portal.pcd.gl.xfs.BasicDeltaLink.getAttributes(BasicDeltaLink.java:64)
         at com.sapportals.portal.pcd.gl.PcdPersObject.getAttributes(PcdPersObject.java:114)
         at com.sapportals.portal.pcd.gl.PcdGlObject.getAttributesInternal(PcdGlObject.java:146)
         at com.sapportals.portal.pcd.gl.PcdFilterContext.getFilter(PcdFilterContext.java:928)
         at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:369)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1064)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1070)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1070)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1070)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1070)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1166)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1113)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:907)
         at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:77)
         at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java:238)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1873)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:226)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:307)
         at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
         at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:434)
         at com.sapportals.portal.prt.service.document.DocumentHookServiceNew.doDocumentHook(DocumentHookServiceNew.java:218)
         at com.sapportals.portal.prt.connection.PortalHook.doDocumentHook(PortalHook.java:763)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:795)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
         ... 20 more
    If this situation persists, please contact your system administrator.
    ======================================================
    If any of you have faced this problem and found solution, please help.
    Regards,
    Vittal.

    Hi,
    since you get an out of memory error, I would start by increasing the Maximum Heap Size in the JVM settings of the J2EE Engine to at least 1GB. I beleive this mught help.
    Best Regards,
    Elad

  • Runtime error during createStatement() trying to connect to MySQL database

    I am trying to make a script to access a MySQL database over the internet. I can get this to work on my home server using PHP, but I can't figure out why my code below is not working. I get a runtime error in the conn.createStatement() line but I can't figure out what the problem is... Any help is appreciated...
    import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class sqltest extends Activity {                 Connection conn=null; try { // from http://help.godaddy.com/topic/319/article/262 conn = DriverManager.getConnection( "jdbc:mysql://profiles.db.1111111.hostedresource.com:3306/dbname", "dbname", "password"); } catch (SQLException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } try { // Create a result set containing all data from mysql_all_table Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT * FROM *");                 } }
    PS: I am developing this code for android using Eclipse, but I think the issue is a pure java code related...

    You catch the conection exception and keep on going. So 'conn' is null. That produces a null pointer exception at the createStatement() line. Which I am guessing the IDE tells you exactly that.

  • Runtime error in starting Lightroom

    I receive the following message when I try to start Lightroom:
    Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program:...Files\Adobe\Adobe Photoshop Lightroom 1.2\lightroom.exe
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.
    Lightroom ran well for several days and then failed to open with the above message.
    I have tried everything I know to do (uninstalled and reinstalled the application, restored the computer to a restore point before Lightroom was originally installed, etc.) and do not know were to go from here. Suggestions would be appreciated.
    I am using Windows XP sp2 and have 4 GB of ram and 250 GB of hard disk space.
    Thanks,
    Cliff Culp

    Aha! A fix! Please look at this...
    http://www.adobeforums.com/cgi-bin
    bob frost, "Help! Runtime error after Lightroom 1.1 install!" #10, 27 Jun 2007 6:54 am

  • Runtime error while executing rule

    Hello All,
      While executing the DTP for a cube, im facing the error as Runtime error while executing rule -> see long text .
      For this source is another Cube, where im loading the data from Cube to Cube.
    Error Description are as follows:-
    Error Location: Object Type    TRFN
    Error Location: Object Name    0T9SCR6Q4VWS1SOPNRRBOY1YD51XJ7PX
    Error Location: Operation Type ROUTINE
    Error Location: Operation Name
    Error Location: Operation ID   00034 0000
    Error Severity                 100
    Original Record: Segment       0001
    Original Record: Number        557
    and Also descripton is :-
    Diagnosis
        An error occurred while executing a transformation rule:
        The exact error message is:
        Division by zero
        The error was triggered at the following point in the program
        GP4H0CW3MLPOTR3E8Y93QZT2YHA 4476
    System Response
        Processing the data record has been terminated.
    Procedure
    The following additional information is included in the higher-level
    node of the monitor:
       Transformation ID
       Data record number of the source record
       Number and name of the rule which produced the error
    Let me know ur valuable suggestions on these error...
    thanks.

    Hello,
    I have checked all the transformation and End Routines.All are working fine.Yesterday i have loaded some data into it, but today its gettting errored out.
    Checked completely in the forum for threads related to this, but couldnt find proper thread which had solutions....
    thanks,
    srinivas.

  • Could someone help me with a Runtime Error while saving a PDF file?

    While saving a 28 page PDF file in Illustrator today, I got a window saying, "This application has requested the "Runtime" to terminate it in a unusual way." It said to contact the applications support team for more information. I keep getting the same thing each time I try it. Does anyone know how to fix this issue or how I contact the applications support team ?
    Thank you for any insight.
    Pam

    It is a 13.5x11 inch calendar. There are 14 pages with images on them and
    some text. The other pages have text, a grid and a colored background with a
    gaussian blur. I saved each page as an "outline".
    The printer I am using requested I save all pages in a pdf file. I was
    successful in saving all but about six pages, now I can't even open the
    file.
    What happens is... I open Illustrator
                                   I open the pdf file
                                   A window appears that says... Runtime Error,
    This application has requested the Runtime to terminate it in an unusual
    way. Please contact the application's support team for more information.
                                   I select ok
                                   then a window appears that says... Adobe
    Illustrator CS5 has stopped working. A problem caused the program to stop
    working correctly. Windows will close the program and notify you if a
    solution is available.
                                   Then the program closes.
    So far I have not been notified of anything.
    Please let me know if you need more details.
    Thank you so much for helping me with this.
    Pam

  • RunTime Error while saving a Sales Order

    Hi All,
    When i am saving a Sales Order, the system is throwing a Runtime Error.
    The ABAP Code in the Runtime Error screen as follows.
              select * from (t681-kotab) appending table <cond_tab>
                     up to 1 rows
                     where kappl  = se_kappl
                     and   kschl  = se_kschl
                     and   datbi >= se_date
                     and   datab <= se_date
                     and   (coding_tab).
    Till these days, there was no such error while saving a Sales Order.
    How to resolve this issue?
    Regards
    Pavan

    Hi,
    The below piece of code is trying to get the contents of the table mentioned in T681-KOTAB.
    select * from (t681-kotab) appending table <cond_tab>
    up to 1 rows
    where kappl = se_kappl
    and kschl = se_kschl
    and datbi >= se_date
    and datab <= se_date
    and (coding_tab).
    The reason could be is someone has screwed up the entries in T681 table. Check that out.
    Try to put a break point on this SELECT query and see what the value of T681-KOTAB holds before the SELECT query. Check whether such a table entry exists in DB.
    Let me know if you are still stuck up.
    If you can send me the ST22 dump of the run time error, i might be able to help you more  on this.
    Hope this helps.
    Thanks,
    Balaji

  • WHILE DELETING A SALE ORDER GETTING A RUNTIME ERROR

    hi to all experts,
    whenever i try to delete a particular sale order im getting a runtime error
    stating that
    Short text
        Screen: Illegal message
    What happened?
        The current screen processing action was terminated since a situat
        occurred where the application could not continue.
        This is probably due to an error in the ABAP program or in the cur
        screen.
    Error analysis
        The program attempted to issue a " " message during "Exit Command" processing.
        This is an illegal operation.
        The program was terminated.
        Screen name.............. "SAPMV45A"
        Screen number............ 4001
    Trigger Location of Runtime Error
        Program                                 SAPMV45A
        Include                                 MV45AFZZ
        Row                                     370
        Module type                             (FORM)
        Module Name                             USEREXIT_SAVE_DOCUMENT
    SourceCde
                  message e001(zm) WITH text-335 ltab-kunnr text-334.
                else.
                  if ktab-jkunnr <> ltab-kunnr.
                    ktab-jkunnr = ltab-kunnr.
                    jobsitecode = ltab-kunnr.
                    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                    EXPORTING
                      input  = jobsitecode
                      IMPORTING
                      output = jobsitecode.
                    SELECT SINGLE * FROM kna1 WHERE kunnr = jobsitecode.
                    IF sy-subrc = 0.
                      ktab-jname1 = kna1-name1.
                      ktab-jstras = kna1-stras.
                    ENDIF.
                    chg_flg = 'X'.
                  endif.
                endif.
              else.
                message e001(zm) WITH text-336.
    * Validation for relationship between Sold-to Party and Ship-to Party
    *          if ktab-ckunnr+0(4) NE ktab-jkunnr+0(4).
    *            message e001(zm) WITH text-335 ktab-jkunnr text-337 ktab-ckunnr.
    *          endif.
              custcode1 = ktab-ckunnr.
              CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                  input  = custcode1
                IMPORTING
                  output = custcode1.
              jobsitecode1 = ktab-jkunnr.
              CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                  input  = jobsitecode1
                IMPORTING
                  output = jobsitecode1.
              SELECT SINGLE * FROM knvp
              WHERE kunnr = custcode1
                AND vkorg = vbak-vkorg
                AND vtweg = vbak-vtweg
                AND spart = vbak-spart
                AND parvw = 'WE'
    Error analysis
        The program attempted to issue a " " message during "Exit Command"
        This is an illegal operation.
        The program was terminated.
        Screen name.............. "SAPMV45A"
        Screen number............ 4001
    Trigger Location of Runtime Error
        Program                                 SAPMV45A
        Include                                 MV45AFZZ
        Row                                     370
        Module type                             (FORM)
        Module Name                             USEREXIT_SAVE_DOCUMENT

    Hi,
    Seems there is some problem with the user exit USEREXIT_SAVE_DOCUMENT..
    Put a breakpoint and see.
    Regards,
    Nagaraj

  • WHILE DELETING A SALE ORDER GETTING A RUNTIME ERROR " Screen: Illegal message"

    Hi Experts,
    While deleting a sales order giving run time error.  PFB runtime error details.
    If you know any OSS message, please let m know. I tried, but there is no luck.
    Short text
        Screen: Illegal message
    What happened?
        The current screen processing action was terminated since a situation
        occurred where the application could not continue.
        This is probably due to an error in the ABAP program or in the current
        screen.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator.
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    Error analysis
        The program attempted to issue a " " message during "Exit Command" processing.
        This is an illegal operation.
        The program was terminated.
        Screen name.............. "SAPMV45A"
        Screen number............ 4001
    How to correct the error
        The program must be modified to correct the error.
        The modification must be made in "Exit Command" processing.
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
    Source Code Extract
    Line  SourceCde
        1 *---------------------------------------------------------------------*
        2 *       FORM YVBEP_LESEN                                              *
        3 *---------------------------------------------------------------------*
        4 *       Lesen der Tabelle YVBEP (nicht sortiert)                      *
        5 *---------------------------------------------------------------------*
        6 FORM YVBEP_LESEN USING US_POSNR
        7                        US_ETENR
        8               CHANGING CH_TABIX.
        9
       10   YVBEP = SPACE.
       11   YVBEP-MANDT = VBAK-MANDT.
       12   YVBEP-VBELN = VBAK-VBELN.
       13   YVBEP-POSNR = US_POSNR.
       14   YVBEP-ETENR = US_ETENR.
       15   READ TABLE YVBEP.
       16   IF SY-SUBRC > 0.
       17     MESSAGE E506 WITH US_POSNR US_ETENR.
       18   ENDIF.
    >>>>>   CH_TABIX = SY-TABIX.
       20
       21 ENDFORM.
    Could you please help on this issue.
    Thanks
    Srinu

    Hi Srinu,
    it looks like you got the error message Schedule line &1 &2 is missing in table YVBEP while deleting the sales order.
    It seems, that there are no SAP notes regarding this issue. Do you have this issue with all orders or with a single order?
    If only a single order causes this issue, maybe something was wrong during an update.
    If you get this error for many orders, then custom code (modification, enhancement, user exit in MV45AFZZ, ...) may be the reason for it.
    If you have no custom code in module pool SAPMV45A, then contact SAP for this issue.
    Regards,
    Klaus

  • Portal runtime error while selecting page layout in WPC editor

    Hello,
    in web page composer, editing page, when i click on "select page layout" I have a portal runtime error popup.
    The logfile shows the following :
    #1.5 #005056834112005E0000000C00000FA800048E28A94966CC#1282205196819#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#1016#149##n/a##7ff9c93eab6811dfa9c70000003307de#SAPEngine_Application_Thread[impl:3]_15##0#0#Error##Java###10:06_19/08/10_0010_3344350
    [EXCEPTION]
    #1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error in java compiling
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: E:
    usr
    sap
    EPD
    JC00
    j2ee
    cluster
    server0
    apps
    sap.com
    irj
    servlet_jsp
    irj
    root
    WEB-INF
    portal
    portalapps
    com.sap.netweaver.bc.util
    lib
    bc.util.public_api.jar(com/sapportals/wcm/WcmException.java):24: class WcmException is public, should be declared in a file named WcmException.java
    (source unavailable)
    1 error
    I have the same by clicking on "check assignments"
    Any help ?
    Thanks

    Hello Jego.
    We faced the same issue after upgrade to EHP1 SP07 last week and managed to solve it by modification of layout.jsp and com.sap.nw.wpc.layoutmanager.LayoutBean within com.sap.nw.wpc.designtime.par. SAP's code requires an additional catch handler, so it is better to rise an OSS message.
    As a workaround you may change a default layout for wpc main page (good for new pages) or manually edit output.xml for existing pages.
    Best regards,
    Aliaksandr Zhukau

  • Runtime Error when installing Adobe Creative Suite 5.5 Production Premium

    I am trying to install Adobe Creative Suite 5.5 Production Premium, but I keep getting a 'Runtime Error!':  This application has requested the Runtime to terminate it in an unusual way.  Please contact the application's support team for more information.
    What should I do?  Any help greatly appreciated!  I am running Win 7, Service Pack 1, 64 bit.

    We cannot know. Your information is hugely insufficient. Check Your Windows Event Viewer and tell us the "fault module" plus provide detailed specs for your computer. Runtime errors usualyl mean that A DLL is missing, a security tool is blocking critical functions or that the processor is not compatible in teh first place. Just as well this could be a driver issue with your SATA bus or whatever.
    Mylenium

  • Runtime error in enhancement spot-' mereq_topline does  not exists.'

    Hi all,
    I have implemented an implicit enhancement spot in ME53n.
    When i applied break point in enhancement spot and control goes to ebhancement spot in debugging mode, i got purchse requisition number in mereq_topline.
    When i tried to use this structure value in code i get runtime error-
    ' mereq_topline does  not exists.'
    Can you please guide how to resolve  this runtime error.
    thanks.
    Edited by: Sanjay_lnt on Sep 20, 2010 8:52 AM

    Sanjay,
    try to delete the enhancement and recreate it
    Thanks
    Bala Duvvuri

Maybe you are looking for