Unable to extend ExpenseAllocationsVO in iExpenses

Hi,
I tried to extend ExpenseAllocationsVO in iExpenses (oracle.apps.ap.oie.entry.accounting.server.ExpenseAllocationsVO).
I've not added any new attributes or changed the sql of seeded VO in my extended VO. Created the substituition for the custom VO. When I ran the page, I got the foloowing exception:
## Detail 0 ##
java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: Bind_ReportLineId
     at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:11915)
     at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:815)
     at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3919)
     at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
     at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
     at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
     at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
     at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
     at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
     at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4534)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:688)
     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2657)
     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2634)
     at oracle.jbo.server.ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1474)
     at oracle.jbo.server.ViewRowSetImpl.first(ViewRowSetImpl.java:2828)
     at oracle.apps.ap.oie.entry.accounting.server.AllocationsLinesVORowImpl.getDistributionsIterator(AllocationsLinesVORowImpl.java:2000)
     at oracle.apps.ap.oie.entry.accounting.server.AllocationsLinesVORowImpl.hasMultipleDistributions(AllocationsLinesVORowImpl.java:2272)
     at oracle.apps.ap.oie.entry.accounting.server.AllocationsLinesVORowImpl.populateTransientAttributes(AllocationsLinesVORowImpl.java:2096)
     at oracle.apps.ap.oie.entry.accounting.server.AllocationsHeaderVORowImpl.populateTransientAttributes(AllocationsHeaderVORowImpl.java:912)
     at oracle.apps.ap.oie.entry.accounting.server.AllocationsHeaderVOImpl.populateTransientAttributes(AllocationsHeaderVOImpl.java:53)
     at oracle.apps.ap.oie.entry.accounting.server.ExpenseAllocationsAMImpl.populateHGridAttributes(ExpenseAllocationsAMImpl.java:1054)
     at oracle.apps.ap.oie.entry.accounting.server.ExpenseAllocationsAMImpl.initHGrid(ExpenseAllocationsAMImpl.java:1034)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:720)
     at oracle.apps.ap.oie.entry.accounting.webui.AllocationsHGridCO.processRequest(AllocationsHGridCO.java:188)
     at mcw.oracle.apps.mcwext.ap.oie.entry.accounting.webui.McwAllocationsHGridCO.processRequest(McwAllocationsHGridCO.java:53)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
     at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2144)
     at oracle.apps.fnd.framework.webui.OAWebBeanHGridHelper.processRequest(OAWebBeanHGridHelper.java:1643)
     at oracle.apps.fnd.framework.webui.beans.table.OAHGridBean.processRequest(OAHGridBean.java:688)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
     at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
     at oracle.apps.fnd.framework.webui.OASubTabLayoutHelper.processRequest(OASubTabLayoutHelper.java:434)
     at oracle.apps.fnd.framework.webui.beans.layout.OASubTabLayoutBean.processRequest(OASubTabLayoutBean.java:465)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
     at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
     at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
     at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
     at OA.jspService(_OA.java:212)

This is the extended VO query same like seeded VO query. I've not modified the seeded VO sql.
Yes, the VO has :1 = ApExpenseReportDistEO.REPORT_LINE_ID where condition, but seeded code should take care of binding the parameters. Right?
SELECT ApExpenseReportDistEO.REPORT_DISTRIBUTION_ID,
ApExpenseReportDistEO.REPORT_LINE_ID,
ApExpenseReportDistEO.REPORT_HEADER_ID,
ApExpenseReportDistEO.SEQUENCE_NUM,
ApExpenseReportDistEO.ORG_ID,
ApExpenseReportDistEO.CODE_COMBINATION_ID,
ApExpenseReportDistEO.PREPARER_MODIFIED_FLAG,
ApExpenseReportDistEO.AMOUNT AS ReimbursementAmount,
ApExpenseReportDistEO.PROJECT_ID,
ApExpenseReportDistEO.TASK_ID,
ApExpenseReportDistEO.AWARD_ID,
ApExpenseReportDistEO.EXPENDITURE_ORGANIZATION_ID,
ApExpenseReportDistEO.COST_CENTER,
ApExpenseReportDistEO.SEGMENT1,
ApExpenseReportDistEO.SEGMENT2,
ApExpenseReportDistEO.SEGMENT3,
ApExpenseReportDistEO.SEGMENT4,
ApExpenseReportDistEO.SEGMENT5,
ApExpenseReportDistEO.SEGMENT6,
ApExpenseReportDistEO.SEGMENT7,
ApExpenseReportDistEO.SEGMENT8,
ApExpenseReportDistEO.SEGMENT9,
ApExpenseReportDistEO.SEGMENT10,
ApExpenseReportDistEO.SEGMENT11,
ApExpenseReportDistEO.SEGMENT12,
ApExpenseReportDistEO.SEGMENT13,
ApExpenseReportDistEO.SEGMENT14,
ApExpenseReportDistEO.SEGMENT15,
ApExpenseReportDistEO.SEGMENT16,
ApExpenseReportDistEO.SEGMENT17,
ApExpenseReportDistEO.SEGMENT18,
ApExpenseReportDistEO.SEGMENT19,
ApExpenseReportDistEO.SEGMENT20,
ApExpenseReportDistEO.SEGMENT21,
ApExpenseReportDistEO.SEGMENT22,
ApExpenseReportDistEO.SEGMENT23,
ApExpenseReportDistEO.SEGMENT24,
ApExpenseReportDistEO.SEGMENT25,
ApExpenseReportDistEO.SEGMENT26,
ApExpenseReportDistEO.SEGMENT27,
ApExpenseReportDistEO.SEGMENT28,
ApExpenseReportDistEO.SEGMENT29,
ApExpenseReportDistEO.SEGMENT30,
ApExpenseReportDistEO.WEB_PARAMETER_ID
FROM AP_EXP_REPORT_DISTS_ALL ApExpenseReportDistEO
WHERE :1 = ApExpenseReportDistEO.REPORT_LINE_ID
AND (SELECT COUNT (report_distribution_id)
FROM ap_exp_report_dists_all
WHERE report_line_id = ApExpenseReportDistEO.REPORT_LINE_ID) > 1
AND EXISTS
(SELECT 1
FROM AP_EXPENSE_REPORT_PARAMS_ALL erp,
AP_EXPENSE_REPORT_LINES_ALL AERL
WHERE erp.parameter_id = AERL.web_parameter_id
AND erp.pa_expenditure_type IS NOT NULL
AND AERL.report_line_id =
ApExpenseReportDistEO.REPORT_LINE_ID
AND AERL.allocation_split_code = 'PROJECT'
AND ROWNUM = 1)
ORDER BY sequence_num

Similar Messages

  • ORA-01652: unable to extend temp segment by 128 in tablespace TEMP2

    Dear all,
    received this error when generate a report.
    check the TEMP1 and TEMP2 they all have lot of spaces.
    check the env $APPLLCSP return empty.
    Please advise how to correct this error.
    Regards,
    Payables: Version : 12.0.0
    APXSSIMP module: Supplier Sites Open Interface Import
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-300: MSG-00001: After SRWINIT
    MSG-00002: After Get_Company_Name
    MSG-00003: After Get_NLS_Strings
    MSG-00004: After Importing Suppliers
    MSG-00005: After Get_Header_Information
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP2
    ==> SELECT assi.org_id C_Rejected_Org_Id,
    MSG-00020: After SRWEXIT
    Report Builder: Release 10.1.2.0.2 - Production on Mon May 11 09:55:36 2009

    >
    check the TEMP1 and TEMP2 they all have lot of spaces.
    >
    How much is "lot" ? :-) How did you determine this "lot" ?
    Pl see MOS Doc 1025288.6 (How to Diagnose and Resolve UNABLE TO EXTEND Errors)
    HTH
    Srini

  • Unable to extend table

    Hi All,
    I have Oracle 8i installed on Redhat 7.3
    I am trying to import from a large dmp file (10 GB). Initially I was getting error related to "unable to extend datafile", which I got over by creating multiple datafiles with size 2GB each. Thanks to the help provided on this list.
    But now I ran into another error that reads as following:
    IMP-00058: ORACLE error 1653 encountered
    ORA-01653: unable to extend table XXX.XXX_DAT by 311072 in tablespace YYY
    IMP-00017: following statement failed with ORACLE error 1031:
    "CREATE TRIGGER "USERME".XXX_BI before insert"
    I have created enough datafile and I have 60 GB available space on the drive. Please guide me as to what am I doing wrong here, and how could I get over this problem.
    Thanks.
    Amit

    Hi Joel,
    Thanks for your time.
    I have already done that part before I started import. The user has unlimited quota on the tablespace. But the problem still shows up.
    By the way, I have multiple dmp files, I could import the first dmp file, but this error shows up while doing the import for the next dmp file, which should just append the data to the existing table. I am sorry, I should have mentioned this before.
    Please advise.
    -Amit

  • Unable to extend table SYS.yyy_xx1$ by 8192 in tablespace SYSTEM

    While trying to compile a package with lots of objects i am getting the below error message.
    Oracle 11gr2
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01653: unable to extend table SYS.yyy_xx1$  by 8192 in tablespace SYSTEM
    00604. 00000 -  "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
               (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
               can be corrected, do so; otherwise contact Oracle Support.
    How can i resolve the issue

    Result of query
    select -- file_name
         blocks
         , maxblocks
         , status
         , autoextensible
      from dba_data_files
    where tablespace_name = 'SYSTEM';
    4194302
    4194302
    AVAILABLE
    YES
    4194302
    4194302
    AVAILABLE
    YES
    4194302
    4194302
    AVAILABLE
    YES
    262144
    0
    AVAILABLE
    NO
    524288
    0
    AVAILABLE
    NO
    524288
    0
    AVAILABLE
    NO
    524288
    0
    AVAILABLE
    NO
    524288
    0
    AVAILABLE
    NO
    524288
    524288
    AVAILABLE
    YES
    524288
    524288
    AVAILABLE
    YES
    518400
    524288
    AVAILABLE
    YES
    517120
    524288
    AVAILABLE
    YES
    655360
    0
    AVAILABLE
    NO
    655360
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO

  • Trying to create a fact table,error:unable to extend temp segement

    Using Oracle 10.2g
    SQL>
    create materialized view facts_table
    (     s_id
    ,     g_id
    ,     sb_id
    ,     sc_id
    ,     y_id)
    refresh with rowid
    as      select s.s_id
    ,     g.g_id
    ,     sb.sb_id
    ,     sc.sc_id
    ,     y.academicyear
    from      student s
    ,     grade g
    ,     subject sb
    ,     school sc
    ,     comqdhb.teachinggroup y;
    ERROR at line 3:
    ORA-01652: unable to extend temp segment by 1024 in tablespace POSTGRADSI am creating the fact table as materialized view because its specified for us.
    I am trying to create a fact table from the dimension tables and its giving this error
    what is the mistake kindly help.
    Also when creating the fact table do all the columns need to be foreign keys compulsorily.
    Edited by: Trooper on Jan 10, 2009 5:25 AM
    Edited by: Trooper on Jan 10, 2009 6:37 AM

    Well basically what your saying is absolutely right
    I realized what i am doing right now is stupendous blunder.
    Basically my aim is there are 5 dimensional tables that are created
    Student->s_id primary key,upn(unique pupil no),name
    Grade->g_id primary key,grade,exam_level,values
    Subject->sb_id primary key,subjectid,subname
    School->sc_id primary key,schoolno,school_name
    year->y_id primary key,year(like 2008)
    s_id,g_id,sb_id,sc_id,y_id are sequences
    select * from student;
    S_ID UPN FNAME COMMONNAME GENDER DOB
    ==============================
    9062 1027 MELISSA ANNE       f  13-OCT-81
    9000 rows selected
    select * from grade;
          G_ID GRADE      E_LEVEL         VALUE
            73 A          a                 120
            74 B          a                 100
            75 C          a                  80
            76 D          a                  60
            77 E          a                  40
            78 F          a                  20
            79 U          a                   0
            80 X          a                   0
    18 rows selectedThese are basically the dimensional views
    Now according to the specification given, need to create a fact table as facts_table which contains all the dim tables primary keys as foreign keys in it.
    The problem is when i say,I am going to consider a smaller example than the actual no of dimension tables 5 lets say there are 2 dim tables student,grade with s_id,g_id as p key.
    create materialized view facts_table(s_id,g_id)
    as
    select  s.s_id,g.g_id
    from   (select distinct s_id from student)s
    ,         (select distinct g_id from grade)gThis results in massive duplication as there is no join between the two tables.But basically there are no common things between the two tables to join,how to solve it?
    Consider it when i do it for 5 tables the amount of duplication being involved, thats why there is not enough tablespace.
    I was hoping if there is no other way then create a fact table with just one column initially
    create materialized view facts_table(s_id)
    as
    select s_id
    from student;then
    alter materialized view facts_table add column g_id number;Then populate this g_id column by fetching all the g_id values from the grade table using some sort of loop even though we should not use pl/sql i dont know if this works?
    Any suggestions.
    Edited by: Trooper on Jan 10, 2009 6:38 AM

  • Unable to extend TEMP segment even after adding fresh temp files

    Hi All,
    I have a huge table with rows nearly 2 million. When this table is moved to another tablespace, the command failed giving the following error:
    ORA-01652: unable to extend temp segment by 128 in tablespace XYZ
    To overcome this error, an additional temp file was added with huge size. Unfortunately, the same error appeared again when the table was tried to move to another tablespace. I wonder if the new temp file was not recognized by database, so tried to see how many files belong to temporary tablespace, but the query listed the newly added temp file also.
    What could be the possible reason for this error? Suggestions or clues are most welcome.
    Thanks,
    ...

    The temp segment is for the table that is being moved.
    Oracle creates a temporary segment when doing a move. If the target tablespace has enough space, the move succeeds and the temp segment gets converted to a Table segment. Else, if the move fails because of lack of space (the temp segment itself unable to grow), then the temp segment is dropped on failure.
    Thus, in a
    alter table ABC move tablespace MY_TBS;or
    the target tablespace MY_TBS should have enough space for ABC. While Oracle is building the copy of ABC in MY_TBS, it is being built as a temporary segment. If the copy succeeds, the temporary segment is renamed as a Table segment 'ABC' and the original table segment 'ABC' is dropped.
    This behaviour also happens when you do an ALTER TABLE .. MOVE ; into the same tablespace that it is existing in. The new copy of the table is a temporary sgement till the copy succeeds.

  • Request of one report fails with error: unable to extend tablespace

    Hi All,
    When I submit one request of report, the request end up with error:
    unable to extend temp segment by 128 in tablespace XXXX
    The request costs too much tablespace in short time, but the temp is about 20 G large.
    The sever have been add storage recently, but I don't know whether it is related to the performance issue, because the request had not such issue.
    How do I deal with it ?
    Thanks,
    Xinya

    What report is it ?
    Did you try and search metalink ?
    How to handle 'ORA-01652: unable to extend the temp segment by 128 in tablespace' error messages? (Doc ID 1359238.1)
    R12 Journal Entries Report (XLAJELINESRPT) Has Performance Issue Or Fails With Error: "java.sql.SQLException: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP1" (Doc ID 1141673.1)
    This forum may be the right one for your question - General EBS Discussion

  • Unable to extend temp segment by 128 in tablespace PSAPTEMP

    Hi everybody!
    While processing a UNICODE coversion with SAPINST on my SAP NW2004s system (AIX 5,2  - Oracle 10.2 - BW 7.0) into my.SAPDFACT_1.log file the following errors occured:
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "HBQ20080503070541                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "si088ss1                                                        "
    (GSI) INFO: sysname  = "AIX"
    (GSI) INFO: nodename = "si088ss1"
    (GSI) INFO: release  = "2"
    (GSI) INFO: version  = "5"
    (GSI) INFO: machine  = "0031832B4C00"
    (DB) INFO: /BIC/FZHPY_LIM created #20080503200234
    (IMP) INFO: import of /BIC/FZHPY_LIM completed (133182692 rows) #20080503212420
    DbSl Trace: Error 1652 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-1652 occurred when executing SQL stmt (parse error offset=42)
    (DB) ERROR: DDL statement failed
    (CREATE UNIQUE INDEX "/BIC/FZHPY_LIM~0" ON "/BIC/FZHPY_LIM" ( "KEY_ZHPY_LIMP", "KEY_ZHPY_LIMT", "KEY_ZHPY_LIMU", "KEY_ZHPY_LIM2", "KEY_ZHPY_LIM3", "KEY_ZHPY_LIM4", "KEY_ZH
    PY_LIM5", "KEY_ZHPY_LIM6", "KEY_ZHPY_LIM7" ) TABLESPACE PSAPSR3 STORAGE (INITIAL 65536 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
    DbSlExecute: rc = 99
      (SQL error 1652)
      error message returned by DbSl:
    ORA-01652: unable to extend temp segment by 128 in tablespace PSAPTEMP
    (DB) INFO: disconnected from DB
    Anybody can help me?
    Thanks a lot!

    Hi Stefan!
    desc SAPSR3."/BIC/FZHPY_LIM";
    Name                                      Null?    Type
    KEY_ZHPY_LIMP                             NOT NULL NUMBER(10)
    KEY_ZHPY_LIMT                             NOT NULL NUMBER(10)
    KEY_ZHPY_LIMU                             NOT NULL NUMBER(10)
    KEY_ZHPY_LIM2                             NOT NULL NUMBER(10)
    KEY_ZHPY_LIM3                             NOT NULL NUMBER(10)
    KEY_ZHPY_LIM4                             NOT NULL NUMBER(10)
    KEY_ZHPY_LIM5                             NOT NULL NUMBER(10)
    KEY_ZHPY_LIM6                             NOT NULL NUMBER(10)
    KEY_ZHPY_LIM7                             NOT NULL NUMBER(10)
    /BIC/ZHCONTING                            NOT NULL NUMBER(17,2)
    /BIC/ZHD_IMP                              NOT NULL NUMBER(17,2)
    /BIC/ZHPERC2                              NOT NULL NUMBER(10)
    SELECT AVG_ROW_LEN FROM ALL_TABLES WHERE TABLE_NAME = '/BIC/FZHPY_LIM';
    AVG_ROW_LEN
    SELECT BYTES, BLOCKS FROM DBA_SEGMENTS WHERE SEGMENT_NAME = '/BIC/FZHPY_LIM';
         BYTES     BLOCKS
    7180648448     876544
    SELECT FILE_NAME, TABLESPACE_NAME, BYTES, BLOCKS, AUTOEXTENSIBLE, MAXBYTES, MAXBLOCKS FROM DBA_TEMP_FILES;
    FILE_NAME
    TABLESPACE_NAME                     BYTES     BLOCKS AUT   MAXBYTES  MAXBLOCKS
    /oracle/HBQ/sapdata1/temp_1/temp.data1
    PSAPTEMP                       1048576000     128000 YES 1.0486E+10    1280000
    /oracle/HBQ/sapdata1/temp_1/temp2.data1
    PSAPTEMP                        298844160      36480 YES 3.4359E+10    4194176
    Thanks.

  • Unable to Extend Vanilla AM

    I'm a newby to the OAF world. Itook a class based on 11.5.10 version of jdev but now trying to do a R12 customization. Of course the tools are not the same...
    I've copied the $JAVA_TOP/oracle/apps folder to myclasses
    I've exported the page I want to extend
    Trying to create a new AM while extending the vanilla AM. at first attempt the vanilla AM is not available to extend so I've copied the AM.xml file under myprojects subfolders. Now it's an option to extend it. However, when I attempt it, I get this type of error
    "Unable to Extend from object... Invalid View instance..."
    How do I get around these errors? I'm totally stuck.
    thx

    user593515,
    Yes, it is always advisable to use extension, personalization instead of recoding the whole thing, but there are some limitations with extension, personalization. What Sumit was pointing to is the fact that OAF doesn't support substituting a Root AM. But again that doesn't stop you from moving ahead, there are workarounds to get the things done staying within the framework standards.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Unable to extend table in tablespace

    Hi,
    I have a Oracle Database 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option.
    I'm receiving the unable to extend table T_DATA in tablespace USER
    I'm using ASM.
    This is the situation of datafiles of USER tablespace (dimension is in GB):
    +DATA/evodb/datafile/users.277.737627613     USERS     9,97265625
    +DATA/evodb/datafile/users.275.731805999     USERS     60,97265625
    +DATA/evodb/datafile/users.261.662113927     USERS     63,999969482421875
    +DATA/evodb/datafile/users.264.705345395     USERS     63,999969482421875
    +DATA/evodb/datafile/users.265.698502565     USERS     63,999969482421875
    +DATA/evodb/datafile/users.268.718788313     USERS     63,999969482421875
    It seems I still have 2 datafile that can grow (maximium size is 63,999969482421875)
    This is the situation of DATA group (the one to which USER tablespace belongs):
    Group # | Name | Free_mb | Usable_file_mb | total_mb
    2     DATA     300051     300051     1134809
    And this is the situation of every device belonging to DATA diskgroup:
    Path | disk_number | group_name | group_number | header_status| free_mb | os_mb | total_mb
    /dev/asm212     13     DATA     2     MEMBER     56627     208500     208500
    /dev/asm9     7     DATA     2     MEMBER     12607     48127     48127
    /dev/asm6     4     DATA     2     MEMBER     12600     48127     48127
    /dev/asm8     6     DATA     2     MEMBER     12595     48127     48127
    /dev/asm11     9     DATA     2     MEMBER     13315     51199     51199
    /dev/asm211     11     DATA     2     MEMBER     56555     208500     208500
    /dev/asm5     3     DATA     2     MEMBER     12611     48127     48127
    /dev/asm3     1     DATA     2     MEMBER     12614     48127     48127
    /dev/asm12     10     DATA     2     MEMBER     0     5115     5115
    /dev/asm7     5     DATA     2     MEMBER     12584     48127     48127
    /dev/asm213     12     DATA     2     MEMBER     60138     228352     228352
    /dev/asm4     2     DATA     2     MEMBER     12608     48127     48127
    /dev/asm10     8     DATA     2     MEMBER     12598     48127     48127
    /dev/asm2     0     DATA     2     MEMBER     12599     48127     48127
    Why table cannot extend??
    And more:
    if I try to add a datafile to USER tablespace, I got:
    ORA-17502: ksfdcre:4 Failed to create file +DATA
    ORA-15041: diskgroup space exhausted
    01119. 00000 - "error in creating database file '%s'"
    Any suggestion??
    thanks in advance,
    Samuel

    OK, but what does FREE_MB mean?
    Is it the unallocated space?
    Is it possible that this disk:
    path | disk_number | group_name | group_number | header_status| free_mb | os_mb | total_mb
    /dev/asm12 10 DATA 2 MEMBER 0 5115 5115
    is causing the error?
    Does it make sense to try to remove it from the diskgroup? I should have more than enough space on other disks of the DATA diskgroup.
    Edited by: Samuel Rabini on Jan 12, 2011 6:14 PM

  • Unable to extend temp segment

    Hi All,
    I received the following error;
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP2
    Then I added the datafile in temp2 tablespace.
    But still it giving the same error;
    Syntax of Create tablespace is
    Create temporary tablespace temp2
    Datafile ‘\temp_01.dbf’ size 500m;
    Table contains 100000 records;
    Please help me.
    Thanks and regards,
    Prathamesh.

    Please check the allocation and deallocation of space in a temporary tablespace sort segment using the V$SORT_SEGMENT view. The V$TEMPSEG_USAGE view identifies the current sort users in those segments.
    Also, check settings of TEMP tablespace. May be it's trying to create a huge extent as NEXT (larger than available space), which is not required. In that case reduce NEXT EXTENT for this.

  • Unable to extend index name of the index by 8 in tablespace

    Hello,
    I am not a DBA and do not have much experience in Oracle. When I was trying to restore the backup of my application, I received the following error. I could not able to proceed further in my tasks.
    ORA-01654: unable to extend index <name of the index> by 8 in tablespace <name of the Index tablespace>The following query was used to create the table space. Oracle version is 10g.
    CREATE TABLESPACE TS_JIRA
    DATAFILE 'D:\oracle\product\10.2.0\oradata\jiraadmi\TS_JIRA.dbf' SIZE 100M REUSE
    AUTOEXTEND ON NEXT 10M MAXSIZE 200M
    MINIMUM EXTENT 64K
    DEFAULT STORAGE ( INITIAL 64K NEXT 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0);I do not know how to extend the size of the tablespace. Can anyone help to sort out this issue?
    Thanks in advance
    Ram

    Hi Ram;
    I suggest also review below doc for your future issue
    TROUBLESHOOTING GUIDE (TSG) - UNABLE TO CREATE / EXTEND Errors [ID 1025288.6]
    Overview Of ORA-01654: Unable To Extend Index %s.%s By %s In Tablespace %s [ID 146595.1]
    OERR: ORA 1654 unable to extend index <name.name> by <num> for tablespace <nam [ID 19049.1]
    I belive they will answer all your question ;)
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Unable to extend the VO ConsInvTableVO in the iReceivables page

    Hi All,
    I am getting the error message "Each row in the Query Result Columns must be mapped to a unique Attribute in the Mapped Entity columns" when I am trying to extend view object ConsInvTableVO in iReceivables page. Though there were many posts available for the error, I have tried the solutions like
    1. modifying the option in step1 of wizard from Read-Only to Updatable, but still error exists.
    My requirement is to add an new column, but even without modifying the SQL query in the extended VO, I am facing this error at step4 in VO wizard.
    There are some transient attributes in the standard VO like TransactionDetailsRegionCode, AmountDueRemainingFormatted, AmountDueOriginalFormatted, IrSalesOrder, TransactionDetailsClass, LkpCodeStatusMeaningModified which I think were causing the issue.
    Please let me know whether any workaround/solution is available.
    Regards,
    Ramakrishnan
    Edited by: 877977 on Sep 1, 2011 3:51 AM

    Hi Pratap,
    Thanks a lot for your reply. The problem is I am unable to extend the standard view object in Jdev itself. I think there is an view link exists in the VO. When I uploaded the java files and xml file of the VO "oracle.apps.ar.irec.accountDetails.server.ConsInvTableVO" in my local JDev, I got an error msg that "Could not find the following referenced objects oracle.apps.ar.irec.accountDetails.server.InvoiceDetailsVO".
    Later I uploaded the files of that referenced VO also in the JDev. Let me know how to extend the View object which is having view link.
    Regards,
    Ramakrishnan

  • Import fails with unable to extend table CUSTOM.CASA_TRAN_HIST_UPLD by 6999

    Hi,
    I have taken export backup of table from 9.2.0.4 on AIX & trying to import in 11.1.0.7.0 on AIX
    while importing im getting the following error.
    ORA-01653: unable to extend table CUSTOM.CASA_TRAN_HIST_UPLD by 699912 in tablespace CUSTOM
    As the table size is 37G , total free space in tablespace is 40G,
    & no index on the table.
    following are sum lines from import file
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V09.02.00 via direct path
    import done in US7ASCII character set and UTF8 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export server uses AL16UTF16 NCHAR character set (possible ncharset conversion)
    . importing DATAMIG's objects into CUSTOM
    . . importing table "CASA_TRAN_HIST_UPLD"
    IMP-00058: ORACLE error 1653 encountered
    ORA-01653: unable to extend table CUSTOM.CASA_TRAN_HIST_UPLD by 699912 in tablespace CUSTOM
    IMP-00028: partial import of previous table rolled back: 62844421 rows rolled back
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT SELECT ON "CASA_TRAN_HIST_UPLD" TO "BSGUSER""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'BSGUSER' does not exist
    Import terminated successfully with warnings.
    is there any to resolve the issue.
    how to change NCHAR set for import.
    Thanks

    Hello,
    which & how i can set character set for import.About the Character Set, it's a setting at the Database creation. You may check it by using the following query on the Source and Target Databases:
    select * from v$nls_parameters; The NLS_CHARACTERSET will give you the Character set of the Database.
    It cannot be changed easily. It may imply a Database creation and export/import of data ( see Note *225912.1* ).
    Else, when you export (with the Original Export/Import utility) it's recommended to set the NLS_LANG parameter.
    The NLS_LANG parameter has 3 components:
    - Language
    - Territory
    - Client Character Set
    A wrong setting of the NLS_LANG may lead to conversion. However starting with *9i* most data is exported with the Character Set of the Database regardless the NLS_LANG setting. The following note may give you some details about it:
    Export/Import and NLS Considerations [ID 15095.1]Hope this help.
    Best regards,
    Jean-Valentin

  • ORA-1653: unable to extend table - but enough space for datafile

    We encountered this problem in one of our database Oracle Database 10g Release 10.2.0.4.0
    We have all datafiles in all tablespaces specified with MAXSIZE and AUTOEXTEND ON. But last week database could not extend table size
    Wed Dec  8 18:25:04 2013
    ORA-1653: unable to extend table PCS.T0102 by 128 in                 tablespace PCS_DATA
    ORA-1653: unable to extend table PCS.T0102 by 8192 in                tablespace PCS_DATA
    Wed Dec  8 18:25:04 2013
    ORA-1653: unable to extend table PCS.T0102 by 128 in                 tablespace PCS_DATA
    ORA-1653: unable to extend table PCS.T0102 by 8192 in                tablespace PCS_DATA
    Wed Dec  8 18:25:04 2013
    ORA-1653: unable to extend table PCS.T0102 by 128 in                 tablespace PCS_DATA
    ORA-1653: unable to extend table PCS.T0102 by 8192 in                tablespace PCS_DATA
    Datafile was created as ... DATAFILE '/u01/oradata/PCSDB/PCS_DATA01.DBF' AUTOEXTEND ON  NEXT 50M MAXSIZE 31744M
    Datafile PCS_DATA01.DBF had only 1GB size. Maximum size is 31GB but database did not want to extend this datafile.
    We used temporary solution and we added new datafile to same tablespace. After that database and our application started to work correctly.
    There is enough free space for database datafiles.
    Do you have some ideas where could be our problem and what should we check?
    Thanks

    ShivendraNarainNirala wrote:
    Hi ,
    Here i am sharing one example.
    SQL> select owner,table_name,blocks,num_rows,avg_row_len,round(((blocks*8/1024)),2)||'MB' "TOTAL_SIZE",
      2   round((num_rows*avg_row_len/1024/1024),2)||'Mb' "ACTUAL_SIZE",
      3   round(((blocks*8/1024)-(num_rows*avg_row_len/1024/1024)),2) ||'MB' "FRAGMENTED_SPACE"
      4   from dba_tables where owner in('DWH_SCHEMA1','RM_SCHEMA_DDB','RM_SCHEMA') and round(((blocks*8/1024)-(num_rows*avg_row_len/1024/1024)),2) > 10 ORDER BY FRAGMENTED_SPACE;
    OWNER           TABLE_NAME                        BLOCKS   NUM_ROWS AVG_ROW_LEN TOTAL_SIZE           ACTUAL_SIZE          FRAGMENTED_SPACE
    DWH_SCHEMA1     FP_DATA_WLS                        14950     168507          25 116.8MB              4.02Mb               112.78MB
    SQL> select tablespace_name from dba_segments where segment_name='FP_DATA_WLS' and owner='DWH_SCHEMA1';
    TABLESPACE_NAME
    DWH_TX_DWH_DATA
    SELECT /* + RULE */  df.tablespace_name "Tablespace",
           df.bytes / (1024 * 1024) "Size (MB)",
           SUM(fs.bytes) / (1024 * 1024) "Free (MB)",
           Nvl(Round(SUM(fs.bytes) * 100 / df.bytes),1) "% Free",
           Round((df.bytes - SUM(fs.bytes)) * 100 / df.bytes) "% Used"
      FROM dba_free_space fs,
           (SELECT tablespace_name,SUM(bytes) bytes
              FROM dba_data_files
             GROUP BY tablespace_name) df
    WHERE fs.tablespace_name   = df.tablespace_name
    GROUP BY df.tablespace_name,df.bytes
    UNION ALL
    SELECT /* + RULE */ df.tablespace_name tspace,
           fs.bytes / (1024 * 1024),
           SUM(df.bytes_free) / (1024 * 1024),
           Nvl(Round((SUM(fs.bytes) - df.bytes_used) * 100 / fs.bytes), 1),
           Round((SUM(fs.bytes) - df.bytes_free) * 100 / fs.bytes)
      FROM dba_temp_files fs,
           (SELECT tablespace_name,bytes_free,bytes_used
              FROM v$temp_space_header
             GROUP BY tablespace_name,bytes_free,bytes_used) df
    WHERE fs.tablespace_name   = df.tablespace_name
    GROUP BY df.tablespace_name,fs.bytes,df.bytes_free,df.bytes_used
    ORDER BY 4 DESC;
    set lines 1000
    col FILE_NAME format a60
    SELECT SUBSTR (df.NAME, 1, 60) file_name, df.bytes / 1024 / 1024 allocated_mb,
    ((df.bytes / 1024 / 1024) - NVL (SUM (dfs.bytes) / 1024 / 1024, 0))
    used_mb,
    NVL (SUM (dfs.bytes) / 1024 / 1024, 0) free_space_mb
    FROM v$datafile df, dba_free_space dfs
    WHERE df.file# = dfs.file_id(+)
    GROUP BY dfs.file_id, df.NAME, df.file#, df.bytes
    ORDER BY file_name;
    Tablespace                      Size (MB)  Free (MB)     % Free     % Used
    DWH_TX_DWH_DATA                     11456       8298         72         28
    FILE_NAME                                                    ALLOCATED_MB    USED_MB FREE_SPACE_MB
    /data1/FPDIAV1B/dwh_tx_dwh_data1.dbf                                 1216       1216             0
    /data1/FPDIAV1B/dwh_tx_dwh_data2.dbf                                10240       1942          8298
    SQL> alter database datafile '/data1/FPDIAV1B/dwh_tx_dwh_data2.dbf' resize 5G;
    alter database datafile '/data1/FPDIAV1B/dwh_tx_dwh_data2.dbf' resize 5G
    ERROR at line 1:
    ORA-03297: file contains used data beyond requested RESIZE value
    Although , we did moved the tables into another TB , but it doesn't resolve the problem unless we take export and drop the tablespace aand again import it .We also used space adviser but in vain .
    As far as metrics and measurement is concerned , as per my experience its based on blocks which is sparse in nature related to HWM in the tablespace.
    when it comes to partitions , just to remove fragmentation by moving their partitions doesn't help  .
    Apart from that much has been written about it by Oracle Guru like you .
    warm regards
    Shivendra Narain Nirala
    how does free space differ from fragmented space?
    is all free space considered by you to be fragmented?
    "num_rows*avg_row_len" provides useful result only if statistics are current & accurate.

Maybe you are looking for