Extended oracle error details

I've been using the OracleExecption, and OracleError class to retreive any errors that an SQL statement has generated, but I don't seem to be able to find the extended details of which line/column the error in the SQL statement relates to.
Does anybody know how to get this information, or when this information will be made available? It's been there in existing Oracle interfaces so I can't understand why it's not in this interface.
Thanks

Thanks for the response but that will give me the details of where the error is within my application. What I'm after is knowing more about the error that has been generated from an invalid SQL statement.
Within my application the user can specify SQL statements for obtaining data from the database, but if they type in a large SQL statement, and when it's submitted to the database and Oracle produces an Invalid Column name error, I need to know which column/part of the SQL statement contains the error.
Using other legacy oracle tools you could find out which row and column within the submitted SQL statement caused the error. Does anybody know if this information is accessable via the new .NET interface.
Thanks

Similar Messages

  • Obtaining application Oracle error details

    I feel I should know the answer to this but I can't find it so I'm asking.
    I am supporting a Delphi (i.e., compiled) application that accesses an Oracle database (Oracle 10g, Windows XP). Right now under certain circumstances the application encounters an error and puts up a message box saying there was an error of type ORA-00942 -- table or view does not exist. I have looked in various trc and log files trying to find the name of the table or view the program was trying to access, but with no success. For the database TRACE_ENABLED is true. Windows event logs also contain nothing relevant.
    Is there some way I can coax Oracle into telling me the name of the table or view over which it is stumbling?

    The "No current SQL" makes it difficult to diagnose !
    Is there any other information -- prior SQL statements from the same Process (database session) in the trace file ?
    If you know which database session is likely to raise a 942 sometime in the near future you could enable SQL Tracing on that session for a while and you'll be able to identify all the SQL statements and, as you walk through them and compare them with your application code / expectations probably identify the issue.
    Another way is to Audit DROP Table or Drop View executions OR create a DDL trigger to log all Drop Tables or Drop Views !

  • Oracle error message code 1653 op 4, ORA-01653: unable to extend table

    Hi
    Our application use Oracle 9i as database. I modified one of tables and try to convert it from this application, then I got an Oralce 1653 error as followings:
    Creating Table SAMPLE_T
    Copying data from SAMPLE to SAMPLE_T
    Unable to move data from table 'SAMPLE' to table 'SAMPLE_T'
    Oracle error message code 1653 op 4, ORA-01653: unable to extend table SAND.SAMPLE_T by 1024 in tablespace SAMPLE_RESULT
    I suspect the tablespace SAMPLE_RESULT is not big enough and also can not extended automatically, but not sure if it is right or there maybe other reasons behind this error.
    Any idea?
    Thanks
    Li

    Lets try .....
    SQL> select tablespace_name,sum(bytes)/1024 from dba_free_space where tablespace_name='USERS' group by tablespace_name;
    TABLESPACE_NAME                SUM(BYTES)/1024
    USERS                                      384
    SQL> alter database datafile 'C:\ORACLE\ORADATA\MYDB\USERS01.DBF' autoextend off;
    SQL> alter table scott.emp allocate extent;
    Table altered.
    SQL> /
    alter table scott.emp allocate extent
    ERROR at line 1:
    ORA-01653: unable to extend table SCOTT.EMP by 128 in tablespace USERSI believe you must add more space to tablespace SAMPLE_RESULT or set the autoextend on for associated datafiles.
    Hope it help ..
    Bhupinder

  • Oracle BAM Webpage error details

    When trying to use the surface prompt to filter data in a report I am getting the following webpage error has anyone faced this issue before,
    I am using IE 8 and Our BAM version is 11.1.1.7
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)
    Timestamp: Tue, 8 Jul 2014 15:45:20 UTC
    Message: '2' is null or not an object
    Line: 1482
    Char: 5
    Code: 0
    URI: http://cifasoa-wc-a1p.sys.comcast.net:9001/OracleBAM/17584/shared/scripts/utilities/Utilities.js

    Hello
    Downgrade you're IE to 7 or 6 ..you're problem solved.
    Regards
    Shankar

  • Extending oracle sourcing

    Hello,
    I am extending oracle sourcing.
    I copied all class and xml files under myclasses and tried to test in local Jdev.
    But the error always show like following:
    Could everybody help me out? Thanks a million.
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: null
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:864)
         at OAErrorPage.jspService(OAErrorPage.jsp:35)
         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 OA.jspService(OA.jsp:35)
         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 ##
    java.lang.ExceptionInInitializerError
         at oracle.apps.pon.util.webui.SourcingUtil.<clinit>(SourcingUtil.java:76)
         at oracle.apps.pon.homepages.buying.webui.BuyerHomeCO.processRequest(BuyerHomeCO.java:58)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1095)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         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)
    Caused by: java.lang.NullPointerException: pFileName must not be null.
         at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:685)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
         at oracle.apps.pon.util.SourcingCommonUtil.<clinit>(SourcingCommonUtil.java:394)
         ... 33 more

    This is the exact issue we are hitting.
    Following your suggestions, I have made a copy of the toolbox tutorial jsp page and have tried to launch the sourcing home page using the following link:
    &lt;a href="&lt;&#37;=URLMgr.processOutgoingURL("OA.jsp?OAFunc=PON_SOURCING_BUYER&OAHP=PON_SRC_SUPER_USER_HOME&OASF=PON_SOURCING_BUYER&OAPB=PON_SOURCING_BRAND&transactionid=" + transactionid, wctx) &#37;&gt;"&gt;Sourcing&lt;/a&gt;
    This link works perfectly on Jdev pre-RUP4, but once the RUP4 version (patch 5455514) had been applied, the error shown in the first post of this thread started.
    Setting a breakpoint in the processRequest method in BuyerHomeCO, the exception happens when it is running the line:
    if(!SourcingUtil.validateSourcingUser(oapagecontext, oawebbean))
    Stepping into this, with a breakpoint in the validateSourcingUser method, the debugger never gets to this method. It first wants to find the source for the class ContextClassLoader (in package com.evermind.naming) and then the class OAWebBeanHelper (in package oracle.apps.fnd.framework.webui) before raising the exception shown. The debugger never gets to any method in the SourcingUtil class.
    All the class files being used are from the server where this error is not being seen, so it appears to be an issue around the RUP4 JDev or the project configuration or how it is being launched.

  • Oracle error 1403:java.sql.SQLException: ORA-01403: no data found ORA-06512

    My customer has an issue, and error message as below:
    <PRE>Oracle error 1403: java.sql.SQLException: ORA-01403: no data found ORA-06512:
    at line 1 has been detected in FND_SESSION_MANAGEMENT.CHECK_SESSION. Your
    session is no longer valid.</PRE>
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    And customer’s statement is: Upgrade from EBS 11.5.10 to 12.1.3. Login the EBS, open any forms and put it in idle. Then refresh the form, error happens
    Then, I checked ISP, and found two notes:
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid (Doc ID 1284094.1)
    Note 1319380.1: Webadi Gl Journal Posting Errors After Atg R12.1.3 (Doc ID 1319380.1)
    But these two notes are both WebADI.
    Following is the data collection from customer:
    1. Run UNIX command to check .class file version:
    strings $JAVA_TOP/oracle/apps/bne/utilities/BneViewerUtils.class | grep Header--> S$Header: BneViewerUtils.java 120.33.12010000.17 2010/11/21 22:19:58 amgonzal s$
    2. Run SQL to check you patch level:
    SELECT * FROM fnd_product_installations WHERE patch_level LIKE '%BNE%';--> R12.BNE.B.3
    3. Run SQL to check patch '9940148' applied or not:
    SELECT * FROM ad_bugs ad WHERE ad.bug_number = '9940148';--> No Rows returned
    4. Run SQL to check patch '9785477' applied or not:
    SELECT * FROM ad_bugs WHERE bug_number in ('9785477');-->
    BUG_ID APPLICATION_SHORT_NAME BUG_NUMBER CREATION_DATE ARU_RELEASE_NAME CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY TRACKABLE_ENTITY_ABBR BASELINE_NAME GENERIC_PATCH LANGUAGE
    576982 11839583 2011/8/7 上午 08:20:36 R12 5 2011/8/7 上午 08:20:36 5 pjt B n US
    516492 9785477 2011/6/12 上午 11:42:45 R12 5 2011/6/12 上午 11:42:45 5 bne B n US
    546109 9785477 2011/6/12 下午 01:17:41 R12 5 2011/6/12 下午 01:17:41 5 bne B n ZHT
    5. Run SQL to check the status of object ‘FND_SESSION_MANAGEMENT’
    SELECT * FROM dba_objects do WHERE do.object_name = 'FND_SESSION_MANAGEMENT';-->
    OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY NAMESPACE EDITION_NAME
    APPS FND_SESSION_MANAGEMENT 219425 PACKAGE 2004/10/30 下午 01:52:35 2011/8/7 上午 08:18:39 2011-08-07:08:18:26 VALID N N N 1
    APPS FND_SESSION_MANAGEMENT 226815 PACKAGE BODY 2004/10/31 上午 01:05:40 2011/8/7 上午 08:18:54 2011-08-07:08:18:27 VALID N N N 2
    So, my question is: Customer’s BneViewerUtils.java version is already 120.33.12010000.17, which greater than 120.33.12010000.14. Is there any others solutions for this issue? Does customer still need to apply patch '9940148' based on action plan of
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid?
    Customer's EBS version is 12.1.3; OS is HP-UX PA-RISC (64-bit); DB is 11.2.0.2.
    Thanks,
    Jackie

    And customer’s statement is: Upgrade from EBS 11.5.10 to 12.1.3. Login the EBS, open any forms and put it in idle. Then refresh the form, error happens
    Idle for how long? Is the issue with all sessions?
    Please see these docs/links
    User Sessions Get Timed Out Before Idle Time Parameter Values Are Reached [ID 1306678.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Timeout+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Then, I checked ISP, and found two notes:
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid (Doc ID 1284094.1)
    Note 1319380.1: Webadi Gl Journal Posting Errors After Atg R12.1.3 (Doc ID 1319380.1)
    But these two notes are both WebADI.Can you find any details about the error in Apache log files and in the application.log file?
    Any errors in the database log file?
    So, my question is: Customer’s BneViewerUtils.java version is already 120.33.12010000.17, which greater than 120.33.12010000.14. Is there any others solutions for this issue? No.
    Does customer still need to apply patch '9940148' based on action plan ofIf the issue not with Web ADI, then ignore this patch. However, if you use Web ADI you could query AD_BUGS table and verify if you have the patch applied.
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid?
    Customer's EBS version is 12.1.3; OS is HP-UX PA-RISC (64-bit); DB is 11.2.0.2.If you could not find any details in the logs, please enable debug as per (R12, 12.1 - How To Enable and Collect Debug for HTTP, OC4J and OPMN [ID 422419.1]).
    Thanks,
    Hussein

  • How to resolve EXP-00056: ORACLE error 19206 encountered during an export.

    Hi,
    I am facing the problem while exporting the user in ORACLE 9i. It is showing the following error message's
    EXP-00056: ORACLE error 19206 encountered
    ORA-19206: Invalid value for query or REF CURSOR parameter
    ORA-06512: at "SYS.DBMS_XMLGEN", line 83
    ORA-06512: at "SYS.DBMS_METADATA", line 353
    ORA-06512: at "SYS.DBMS_METADATA", line 418
    ORA-06512: at "SYS.DBMS_METADATA", line 457
    ORA-06512: at "SYS.DBMS_METADATA", line 1181
    ORA-06512: at "SYS.DBMS_METADATA", line 1162
    ORA-06512: at line 1
    I have tried in the below way to solve the above issue.
    I have logged in to sql+ sheet : sys/sys@esmr as sysdba [username/password@net service name as sysdba] and executed the query " $ora92/rdbms/admin/catmeta.sql "
    But still I am unable to export the database user.Still it is showing me the same error. Please help me out.
    Thanks so much,
    Sudheer Reddy T
    Edited by: 921309 on Mar 15, 2012 10:24 PM

    Dear User,
    Please check the below Document for details regarding your error.
    ORA-19206 EXP-56 While Taking Export (Doc ID 206313.1)
    Regards...
    Chetan DBA@ORACLE

  • IMP-00017: following statement failed with ORACLE error 1652

    when i importing the dump file, i got such error.IMP-00003: ORACLE error 1652 encountered
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP.
    but the imp program is still going after got such error message. Do I have to stop the import and extend/add the datefile size? Or I can ignore it? Since the dump file is really huge and takes lots of time. Please advise Thanks

    yes, you r right. it reaches the max.
    FILE_ID TABLESPACE_NAME BYTES BLOCKS STATUS
    RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY USER_BYTES USER_BLOCKS
    /db/oracle9i/oradata/ORCL/temp02.dbf
    1 TEMP 1048576000 128000 AVAILABLE
    1 YES 1048576000 128000 1280 1047527424 127872

  • IMP-00017: following statement failed with ORACLE error 1658

    Hi All,
    Please help me to find the reason of this error while importing the export file using parameters full=Y,ignore=n.
    IMP-00003: ORACLE error 1658 encountered
    ORA-01658: unable to create INITIAL extent for segment in tablespace USERS
    IMP-00017: following statement failed with ORACLE error 1658:
    "CREATE TABLE "TABLE_NAME" ("SEGMENTID" VARCHAR2(10) NOT NULL EN"
    "ABLE, "DRIVERID" VARCHAR2(10) NOT NULL ENABLE, "VEHICLEID" VARCHAR2(10) NOT"
    " NULL ENABLE, "START_TIME" VARCHAR2(6) NOT NULL ENABLE, "END_TIME" VARCHAR2"
    "(6) NOT NULL ENABLE, "REPORT_TIME" VARCHAR2(6) NOT NULL ENABLE, "DISPOSITIO"
    "N" VARCHAR2(1), "S_LOCATION1" VARCHAR2(12), "S_LOCATION2" VARCHAR2(60) NOT "
    "NULL ENABLE, "S_LOCATION3" VARCHAR2(12), "S_LOCATION_ENT" VARCHAR2(30), "S_"
    "CITYTOWN" VARCHAR2(30) NOT NULL ENABLE, "S_ZIP" VARCHAR2(10) NOT NULL ENABL"
    "E, "S_STATEPRO" VARCHAR2(4) NOT NULL ENABLE, "S_COUNTRY" VARCHAR2(2), "S_CO"
    "MNTS" VARCHAR2(1), "S_GRID_LAT" NUMBER(10, 6), "S_GRID_LONG" NUMBER(10, 6),"
    " "E_LOCATION1" VARCHAR2(12), "E_LOCATION2" VARCHAR2(60) NOT NULL ENABLE, "E"
    "_LOCATION3" VARCHAR2(12), "E_LOCATION_ENT" VARCHAR2(30), "E_CITYTOWN" VARCH"
    "AR2(30) NOT NULL ENABLE, "E_ZIP" VARCHAR2(10) NOT NULL ENABLE, "E_STATEPRO""
    " VARCHAR2(4) NOT NULL ENABLE, "E_COUNTRY" VARCHAR2(2), "E_COMNTS" VARCHAR2("
    "1), "E_GRID_LAT" NUMBER(10, 6), "E_GRID_LONG" NUMBER(10, 6), "COMMENTS" VAR"
    "CHAR2(200), "STATE" NUMBER(*,0), "OPER_ID" VARCHAR2(20), "UNQ_ID" VARCHAR2("
    "40), "DESCR" VARCHAR2(200), "S_COUNTY" VARCHAR2(30), "E_COUNTY" VARCHAR2(30"
    ")) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FRE"
    "ELISTS 1 FREELIST GROUPS 1) TABLESPACE "USERS" LOGGING"
    Again the next one is
    IMP-00003: ORACLE error 376 encountered
    ORA-00376: file 7 cannot be read at this time
    ORA-01110: data file 7: 'D:\ORACLE\ORADATA\ITMS\USERS01.DBF'
    IMP-00017: following statement failed with ORACLE error 376:
    "CREATE INDEX "TDR_INDX" ON "ITMS_SCHED_TRIPS" ("SEGMENTID" , TRUNC("TRAVELDAT"
    "E") ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1"
    " FREELIST GROUPS 1) TABLESPACE "INDX" NOLOGGING"
    Thanks in advance.
    Abhijeet

    Hi,
    Please check whether you have permission to write on this 'D:\ORACLE\ORADATA\ITMS\USERS01.DBF' .
    Also please check if that file is actually present there or not...?
    Error ORACLE error 1658 means that either your datafile has filled completely and its not set to auto extend OR hard disk where that file is residing is full and oracle cannot allocate the minimum memory to the segment that is Extent
    Regards

  • Oracle error -1: connecting to hyperion interactive reporting studio 9.3

    Hi Experts ,
    I am trying to connect to Hyperion studio 9.3 .
    I create a new database connection file >use oracle net as connection software>use oracle as database for connection>provide the login details .
    I get the error Oracle Error -1:
    Any clue or idea on how to resolve this?
    Thanks

    installing new oracle 10g helped this

  • Extended Syntax Error......

    Hi All,
    In my Program I have created the following Subroutine -
    FORM call_back TABLES record_tab  STRUCTURE seahlpres
                                      CHANGING  shlp_top TYPE shlp_descr
                                                         callcontrol TYPE ddshf4ctrl.
    Here seahlpres is a DDIC Structure
    Now this is giving an Extended Syntax Error stating that "Using STRUCTURE is Obsolete".
    Agreed, but I am unable to use following -
    FORM call_back TABLES record_tab  TYPE STANDARD TABLE OF seahlpres
                             CHANGING  shlp_top TYPE shlp_descr
                                                callcontrol TYPE ddshf4ctrl.
    or
    FORM call_back TABLES record_tab  TYPE LINE OF seahlpres
                             CHANGING  shlp_top TYPE shlp_descr
                                                callcontrol TYPE ddshf4ctrl.
    How to remove this Error, by what way should RECORD_TAB be declared as to remove the Error.
    Regards,
    Pankaj Agarwal.

    Hi,
    see the below code from tcode ABAPDOCU.
    REPORT demo_mod_tech_example_5.
    DATA: BEGIN OF line,
            col1 TYPE i,
            col2 TYPE i,
          END OF line.
    DATA itab LIKE STANDARD TABLE OF line.
    PERFORM fill CHANGING itab.
    PERFORM out  USING    itab.
    FORM fill CHANGING f_itab LIKE itab.
      DATA f_line LIKE LINE OF f_itab.
      DO 3 TIMES.
        f_line-col1 = sy-index.
        f_line-col2 = sy-index ** 2.
        APPEND f_line TO f_itab.
      ENDDO.
    ENDFORM.
    FORM out USING value(f_itab) LIKE itab.
      DATA f_line LIKE LINE OF f_itab.
      LOOP AT f_itab INTO f_line.
        WRITE: / f_line-col1, f_line-col2.
      ENDLOOP.
    ENDFORM.
    For more details check examples in abapdocu.
    The ABAP Programming Language >Modularization Techniques >Procedures >Subroutines
    Cheers,
    Rudhir

  • Giving name to existing oracle error number in my code

    I need to handle the array error on a bulk insert . Is there any danger in doing the following? The error -24381 is NOT my custom error but a standard oracle error.
    Package Header
    PRAGMA EXCEPTION_INIT(array_dml_error, -24381);
    Package Body
    BULK INSERT
    EXCEPTION
    WHEN array_dml_error THEN
    WHEN OTHERS THEN
    Please help?
    Edited by: user4900730 on Apr 19, 2010 2:43 PM
    Edited by: user4900730 on Apr 19, 2010 2:44 PM

    You may want to check the following link from asktom... detailed discussion on BULK error mapping and handing.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8912264456901
    AND
    http://asktom.oracle.com/pls/asktom/f?p=100:11:2431746583773006::::P11_QUESTION_ID:8784259916366
    CTRL-F for -24381 in these pages.
    I have seen name being given to standard Oracle error codes in large production application.
    As long as it is well documented and managed, I believe it is ok.
    Can't really think of any technical downside. ;-)
    vr
    Sudhakar B.
    Edited by: SudhakarB on Apr 19, 2010 6:24 PM
    Meant to say CTRL-F

  • Oracle Error code: 1116, message: ORA-01116: error in opening database file

    Hi ,
    Please advise on this error message
    Oracle Error code: 1116, message: ORA-01116: error in opening database file 202 ORA-01110: data file 202: '/u02/app/oracle/oradata/ubidev12/dbf/temp02.dbf'
    All these while, the dashboard working well in my local computer application with server database.
    Just discovered this error when I refresh the data.
    Kindly advise.
    Thanks,
    Kim Yoke

    the more detail error is
    Oracle Error code: 1116, message: ORA-01116: error in opening database file 203 ORA-01110: data file 203: '/u02/app/oracle/oradata/ubidev12/dbf/temp03.dbf' ORA-27041: unable to open file SVR4 Error: 2: No such file or directory Additional information

  • When configuring a datasource for Oracle using the thin client, I get an Oracle error.

    We have had no problems using Oracle up to this point, and have been using ColdFusion and Oracle very happily for a long time. 
    Due to security requirements where the ColdFusion server is hosted, the following changes were made to the Oracle client on the Oracle RDMS machine which caused ColdFusion to be unable to connect. 
    In the sqlnet.ora file, we had to add the follwing line:
    SQLNET.ALLOWED_LOGON_VERSION = 10
    That parameter was required, it is not optional and we cannot lower it.
    Info about our ColdFusion Server:
    System Information
    Server Details
    Server Product
    ColdFusion
    Version
    ColdFusion 10,285437
    Edition
    Enterprise  
    Operating System
    Windows Server 2008 R2  
    OS Version
    6.1  
    Update Level
    /D:/ColdFusion10/cfusion/lib/updates/chf10000011.jar  
    Adobe Driver Version
    4.1 (Build 0001)  
    We are using Oracle 11.2.0.3
    Once that change is in place, connections from our ColdFusion server get refused with the following error:
    ORA-28040: No matching authentication protocol
    I have verified that I can connect to the database with our credentials, and verified that the connection is valid:
    From the local server's ODBC Data Source Administrator console, I create a system DSN using the Oracle OCI client driver (ojdbc6.jar) by indicating that the TNS Service name is the same as defined in the TNSNames file, and it tests out fine.
    Everything I have found on the net indicates that I would need to make a change to the Client, but the Client in this case is the ColdFusion server.  It doesn't seem like other than the fact that it seems to be using the correct driver, that it is making any use of any of the additional settings, including those found in the sqlnet.ora file.
    HELP!  I don't know where else to go... i don't believe that this is an Oracle error, since everything seems to be functioning correctly.  I believe this to be a ColdFusion issue.
    Any help or pointers would be greatly appreciated.

    Thank you VJ, however that didn't provide any help.  There are no pointers at all within that post.
    Please keep in mind that I don't believe this to be an Oracle issue.  The Oracle client is functioning fine when I use the ODBC tools in windows to verify the connection.
    I can google, "SQLNET.ALLOWED_LOGON_VERSION = 10" and get a billion links that say basically nothing too.
    I believe this is the way ColdFusion is configured to use the Oracle drivers... Which is why I can't ask Oracle, they'd just tell me to go to Adobe!
    But, I have searched Oracle Support, and there wasn't much there either, so I am turning to the community in hopes that someone has seen this and solved it.

  • Oracle error message code 1401 op 4, ORA-01401: inserted value too large fo

    Hi All
    I got this error when I try to run convert tables on our application server. Anyone know why? I am using Oracle 9i
    Here is the error message:
    Checking Table WORK_INSTRUCTION
    Table not in database
    Conversion Method - Create Table
    Creating Table WORK_INSTRUCTION
    Unable to create database table 'WORK_INSTRUCTION'
    Oracle error message code 1401 op 4, ORA-01401: inserted value too large for column
    WORK_INSTRUCTION definition as followings:
    table work_instruction;
    field identity
         used_for unique_key
         datatype identity;
    { APR 31/3/03 - Bug Nr WI4}
    field wi_admin
    {         links_to personnel . identity;}
    {         links_to location . identity;}
         links_to lab_section . identity;
    { ARP 31/3/03 - Bug Nr WI5 }
    field wi_title
    {         datatype text(20);   }
         datatype text(100);
    field version
              datatype text ( 4 );
    field wi_status
         datatype identity
         prompt_type choose
         choose_type WI_STATUS
         default 'I ' ;
    field wi_type
         datatype identity
         prompt_type choose
         choose_type WI_TYPE
         default '0 ';
    field sterlab_status
         datatype identity
         prompt_type choose
         choose_type STER_STAT
         default '0 ';
    field used_in_lims
         datatype boolean
         true_word 'Yes'
         false_word 'No'
         default 'No' ;
    { ARP WI16 28/5/03 - Extend from 10 to 45 }
    field method
         datatype text(45);
    field ref_method
         datatype text(100);
    field delegate
         links_to personnel . identity;
    field date_expire
         datatype date;
    field date_draft
         datatype date;
    field double_method
         datatype boolean
         true_word 'Yes'
         false_word 'No'
         default 'No' ;
    field technique
         datatype identity
         prompt_type choose
         choose_type TECHNIQUE
         default '0 ';
    field date_distribute
         datatype date;
    field report_date
         datatype date;
    field group_autho
         datatype text ( 16 );
    field astm_volume
         datatype text ( 6 );
    field date_non_active
         datatype date;
    field translated_in
         datatype text(10);
    { ARP WI16 28/5/03 - Extend from 60 to 2000 }
    field comments
         datatype text(2000);
    field doc_path
         datatype text ( 300 )
         prompt_type user_defined
         library 'TEST_SOP_FILE'
         routine 'file_browse';
    field modified_on
         datatype date
         used_for modified_on ;
    field modified_by
         links_to personnel.identity
         used_for modified_by;
    field modifiable
         datatype boolean
         used_for modifiable;
    field removeflag datatype boolean
         used_for remove_flag;
    { MOD TDR - 10/04/03 - Link to livelink document }
    field livelink_url
    datatype text ( 300 ) ;
    Thanks
    Li

    Verbatim from the manual:
    ORA-01401:     inserted value too large for column
    Cause:     The value entered is larger than the maximum width defined for the column.
    Action:     Enter a value smaller than the column width or use the MODIFY option with ALTER TABLE to expand the column width.You should find which value is bein attempted to be inserted into a column with a capacity shorter than the value length.
    ~ Madrid.

Maybe you are looking for

  • How to configure a shell and tube heat exchanger with Lab VIew to get data

    HiI In our undergraduate chemical engineering labboratory we want to configure our shell and tube heat exchanger  with a DAq and Lab VIEW to get information about the temperaure (of the cold fluid stream being heated), the pressure (of the steam on t

  • Free of Charge Intercompany Invoice process

    Hello Experts, I would like to know how the TANN, Free of Charge process works for intercompany Sales? When I do the F2 billing document, the system behaves as it should but when I process the IV billing document, system is finding a price maintained

  • I have Aperture 3 now and can't use my iPhoto library with Aperture.

    My version of iPhoto is 8.1.2. Aperture says I need iPhoto 9.1 or somewhere around there. How do I do this. Is this another purchase I will have to make? I downloaded the upgrade for iPhoto 9.4.2 and it told me that I need iPhoto 9.1 or later for the

  • Sometimes ORA-00904: invalid column

    Hello, Some times when i am running a query I get 'ORA-00904: invalid column name'. Next times i run exactly the same query the query runs well for a few times. And in an unpredictable way, exactly the same query fails again. I am using Oracle 8i 8.1

  • How to run two mobile application in netbeans

    if I run the next main.fx ,netbeans execute the build.xml, netbeans will clear and rebuild project, when clear the project command error... and if I run the project,one application is show ,and another can not show. how install the fx mobile simulato