Tabular Form: ORA-20001: Error fetching column value: ORA-01403: no data fo

Hi,
Generating some custom error messages with APEX_ERROR.ADD_ERROR at the "Before Header" process point seems to break the display of tabular forms:
http://apex.oracle.com/pls/apex/f?p=26409:2
but work OK for other forms:
http://apex.oracle.com/pls/apex/f?p=26409:1
I've read other posts saying recreating edited tabular forms will fix the error, but this is a brand new tabular form out of the wizard and this is reproducible at will.
Any ideas? Here are the workspace parameters in case anyone would like to take a look:
name: BNTEST, user: DEV, pw: DEV

>
I looked into collections but I didn't like the thought of the user potentially loosing extensive edits as his session expires.
>
Correct but how would you resolve this. Data only exists in the browser as long as you wont submit your page.
So even if your session expires and you don't use collections you will still loose your data.
I always prefer to use collections with tabular forms cause this gives the user the possibilety to cancel their changes without that it's been written to the database.
I think that it's better to have no data then faulty data.
I know that it takes a little more effort to use collections but in the end you'll be glad that you did it. ;)
Regards
Nico

Similar Messages

  • ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value

    I have an application made in devlopment which is working fine and i jsut migrated it to production but when i am running one of the page in the app in production it si throwing this error "ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small"... this report is ment for generating report.
    Now what i have done, i compared both dev and prod environment but i have not found and changes except this one. In the page of both the application in dev and prod under shared component under under template the region of breadcrum and report region is showing in different position. i dont think it a problem because of that i am facing problem.
    If anybody have idea how could i recitfy the prbs i will be highly thankful to you
    Regards
    Adi

    friends i have seen where the error is coming but i am unable to trace out how to increase the size of lov which i have made.
    when i am taking display as select list(named lov) it is throwing me the error "ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small" but if i am taking display as "popup lov(named lov)" under tablular form element under one of the column in the report, it is working properly. but not shwoing the report the way we want it to show. For that reason i want to increase the size of the love which i have made.

  • Report suddenly showing ORA-20001: Error fetching column value: ORA-06502:

    Hi,
    Some reports in my applications are suddenly showing:
    ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    instead iof the data they used to show.
    In my development system I can fix this by:
    1. changing the column alias in my sql
    select 'a' alias1 from dual becomes
    select 'a' alias2 from dual
    2. SAVE CHANGES
    3. change column alias back to original
    select 'a' alias2 from dual becomes
    select 'a' alias1 from dual
    4. reorder columns back to original in the 'report attributes' tab
    alias1 is now at the bottom of my colum list - i just bounce it up to column 4 using the up arrows
    5. SAVE CHANGES
    then everything starts working OK again.
    There seems to be nothing wrong with my sql as I can make it works on a new page or after I run the above steps, so I guess something is breaking somewhere but I cannot work out what.
    Has anyone else seen this? Does anyone know the cause? Does anyone have a fix for this that does not involve the above steps (plus redeployment to prodcution and all the work that involves)?
    I am seeing this on version 2.3 and 3.0.
    Thanks,
    Martin

    Hi Scott,
    I think this is want you want (sorry it's not easy to read):
    wp.suite_id - Database Column NUMBER - Report Column Based on LOV
    wp.project_id - Database Column NUMBER - Report Column Based on LOV
    wp.application_order wp_order - Database Column NUMBER - Report Column Standard
    lpad(wp.work_package_id,5,'0')||' - '||wp.name wp_name - Database Column NUMBER/VARCHAR2 - Report Column Standard
    pt.application_order pt_order - Database Column NUMBER - Report Column Standard
    pt.name pt_name - Database Column VARCHAR2 - Report Column Standard
    substr(pt.description,1,30) description - Database Column VARCHAR2 - Report Column Standard
    pt.application_tier - Database Column VARCHAR2 - Report Column Based on LOV
    pt.application_method - Database Column VARCHAR2 - Report Column Based on LOV
    pt.TECH_LEAD_ID - Database Column NUMBER - Report Column Based on LOV
    This report has no link columns and no derived columns.
    Regards,
    Martin

  • Report error: ORA-20001: Error fetching column value

    Hi,
    I try to build a tabular form with 1 column as "Select List (Query based on LOV)". This select list should display round about 1.100 rows in the LOV ordered by name. So I got the error: report error:
    ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numerischer oder Wertefehler: character string buffer too small
    When I try tho define this column as Popup LOV (Query based LOV) only the the ID of the attribute and not the display value appeares in the row. The LOV it self displays the display number and not the the ID. I want to see the display value in the column of the particular row and the LOV and return the ID to the record by insert or update as it is normal in LOVs of form regions.
    This lot of rows in the LOV is necessary because it is a part to develop formulas like (number_of_acquisitions - number_of_old_parts)/100 or so. The most formulas will be more complex. In the database there should only be the ID as reference to the attributes.
    Please help me to display the attribute bases on LOV in every particular row.
    Thank you
    Siegwin

    In Apex 4 there is now a column type "Popup Key LOV (named LOV)" which is exactly what you are looking for.
    Edited by: 964978 on Oct 12, 2012 4:53 AM

  • ORA-20001:Error fetching column value:Query must  begin with SELECT or WITH

    Hi all,
    I have implemented an application with a master-detail form using Apex 3.1.2 and I imported that to Apex 3.2 on different server. Everything else seems to be fine except when I add detail record (clicking on Add Rows), I am getting following error.
    =================
    report error:
    ORA-20001: Error fetching column value: ORA-20001: Query must begin with SELECT or WITH
    ====================
    Both the databases have same version 10gR2. I didn't make any change after importing it as well. Can someone let me know what could be the issue? Thanks in advance.
    SHY

    May we know your first name?
    Can you put the application in your workspace on apex.oracle.com so we can take a look?
    Scott

  • Classic Report - report error:ORA-20001: Error fetching column value

    Hi,
    In Apex 4 I have created an SQL report which errors with ORA-20001: Error fetching column value: ORA-01403: no data found.
    It works fine if I hard code the start and end dates but fails when I use page items as parameters.
    I call a stored function as below:
    DECLARE
    l_sql VARCHAR2(4000);
    BEGIN
    SELECT ICDB_PCT_MRSA_POS_REP(v('P40_NEWSTARTDATE'),
    v('P40_NEWENDDATE'))
    INTO l_sql
    FROM dual;
    RETURN(l_sql);
    END;
    although I have used the :P40_NEWSTARTDATE form too, with the same result.
    Any suggestions will be welcome.
    Thanks,
    Chris

    Hi Chris,
    have you debugged if ICDB_PCT_MRSA_POS_REP is raising the no-data-found error or if it's the actual SQL statement which got returned?
    Comment out the call to ICDB_PCT_MRSA_POS_REP and return a hard coded SQL statement with
    return 'select [... here comes a sample sql statement returned by ICDB_PCT_MRSA_POS_REP]';to rule out that ICDB_PCT_MRSA_POS_REP is raising the error.
    BTW what is the purpose of the select from dual? Just call the ICDB_PCT_MRSA_POS_REP directly like
    return ICDB_PCT_MRSA_POS_REP(:P40_NEWSTARTDATE, :P40_NEWENDDATE);Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Master Detail report   report error: ORA-20001: Error fetching column

    Hi All,
    I am a newbie in apex and try to create a master detail form, where the detail is displayed as a report.
    After inserting a new row in the master form i like to create the detail. It displays then ORA-01403: no data found
    I also insert in the database table the details. If i want to edit then it shows the following report error:
    ORA-20001: Error fetching column value: ORA-01403: no data found
    Can anyone help me, because i am struggling for a week with this problem.

    Your problem seems to be related to the usage of primary keys. You have to look into that and get more details.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • ORA-20001 error when creating Tabular Form or Form and Report

    Whenever I try and add a Tabular Form or Form and Report to my application i am getting the following error at the end of the Wizard.
    ORA-20001: Unable to create updateable report. ORA-20001: Error creating shortcut id="" ORA-00001: unique constraint (APEX_030200.WWV_FLOW_SHORTCUT_IDX1) violatedIt's not a problem I have seen when building other apps and clearly I have managed to corrupt this application somehow.
    I have loaded the problem onto apex.oracle.com for those that have access. The application number is 20325.
    Any help would be very much appreciated.
    Cheers Shunt

    Thanks! Never thought of that.
    --Andy                                                                                                                                                                                                                       

  • Ora -20001 error coming while updating from a tabular form

    Hi
    I have a tabular form , which updates a table in the database.
    Whenever I update the record first time I getting an error as
    Error in MRU internal routine ORA-20001.Error in MRU:row=1,
    ORA-1403 no_data_found, update abc.sale_forcast_temp set "PK_ID"=:b1,"W27"=:b2
    Error unable to update process
    But when I press Ok return to the form and then again try to update , records gets successfully updated
    Regards
    Shashi

    Kamal,
    This will be the pseudocode.
    Procedure A()
    select * from EMP bulk collect into records_array; --Of type RECORD_ARRAY
    batch_count = (records_array.length) / batch_size;
    --batch_size is say 5000 rows and batch_count is the number of batches  
    for i in 1..(batch_count+1)
    B( records_array);
    C();
    commit;
    Procedure B(records_array in RECORD_ARRAY )
    INSERT /*+PARALLEL(EMP_DUMMY, 2) */
    INTO TABLE EMP_DUMMY
    SELECT * from TABLE(CAST(records_array as RECORD_ARRAY) ;
    Procedure C()
    Other operations which include reads on the EMP_DUMMY table;
    This is the top view of how it looks like. Actually the Select statement for the insert statement is very complex and I do a join on the records that are being passed in by casting it into a table. This query is taking about 40 minutes for 10,000 rows in the records_array. I need to parellelise this query because each row of the records_array yields a different row for the EMP_DUMMY table.
    I hope that I made it clear for you.
    Can you also tell me if procedure C in which I shall be doing a read on the EMP_DUMMY table, has any affect of the parallel insert
    Thanks for your help.

  • Help Needed: Facing the error ORA-01406: fetched column value was truncated

    Hi Everyone,
    When I run a particular PL/SQL query using Oracle 9i ODBC driver, it is working fine and fetching me the desired results.
    However, when I run the same query using the Oracle 10g ODBC driver, I am getting the error: ORA-01406: fetched column value was truncated.
    I have checked all the fields of the table and they are well within the allowable limit.
    Can you please let us know what needs to be done to resolve this issue?
    Thanks and Regards,
    Sudhindra

    Well it's obviously a problem with the client software. Doesn't Datastage have some way of configuring these things?
    rgds, APC

  • Weird ORA-01406: fetched column value was truncated error for SELECT query

    DB version:10gR2
    When one of our application fires the below query, we get
    ORA-01406: fetched column value was truncatederror.
    select     trk_dtl,
         trk_type,
         trk_id,
         trk_desc,
    from     shp_dtl
    where     shp_type = 'HN'
    and     shp_type = 828;The documentation says
    Cause:In a host language program, a FETCH operation was forced to truncate a character string. The program buffer area for this column was not large enough to contain the entire string. The cursor return code from the fetch was +3.But when the application is pointed to an identical schema in the same instance, we don't get this error. So, this has got nothing to do client application as the documentation says.
    Any idea what other possibilities are there?

    Post description of shp_dtl.

  • ORA-01405: fetched column value is NULL

    Hi All,
    I am using OWB 10gR2 and DB 10gR2. I am getting the following error while executing the mapping,
    ORA-01405: fetched column value is NULL.
    I have used NVL function for the measure columns, but the problem is not solved.
    Can anybody please tell me solution,
    Thanks in advance,
    Siva

    Hi Siva
    It may be that you've taken care of null value in just one place and now, the error is coming
    from somewhere further down the line.
    Regards
    Arif

  • How to resolve ORA-01406: fetched column value was truncated

    I tried to export with the parameter full=yes....when i did tat i ma gettin ORA-01406: fetched column value was truncated error...
    the following gives the sequence
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    EXP-00008: ORACLE error 1406 encountered
    ORA-01406: fetched column value was truncated
    EXP-00000: Export terminated unsuccessfully
    pls revert back with an answer....

    http://www.orafaq.com/forum/t/145219/2/

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01779:

    I have a tabular form based on a view like:
    select
    t1.id,
    t2.network_id,
    t2.month_id,
    t2.icp_ic,
    t1.status,
    t1.disc_comment
    from
    table1 t1,
    table2 t2
    where
    t1.month_id (+) = t2.month_id and
    t1.network_id (+) = t2.network_id and
    t1.icp_id (+) = t2.icp_id
    id is a surrogate key of table1 and there is a trigger to populate this on insert. There is also a unique index on table2 (month_id, network_id, icp_id). When I change the disc_comment column through the form and try to save I get an error:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01779: cannot modify a column which maps to a non key-preserved table
    If I take out the outer join, it works fine. The problem is table1 will not have a row for every row in table 2, hence I need the outer join. Any ideas how I can get around this problem?
    Regards
    Sadanand

    Hi Andy,
    Yes I am paginating the form and I am not getting a set of blank rows. What I mean by next set of records is - if the page is showing rows 11 to 20 and I enter a comment against row 15 and save, the form inserts the comment into the table via the INSTEAD OF trigger and the page automatically refreshes with rows 21 to 30 from the query. On the other hand, if I click Prev link and redisplay rows 11 to 20, change the comment and click on Save, the form updates the comment and refreshes the page with rows 11 to 20. If I update the comment again, it redisplays page with rows 11 to 20 and this is the behaviour I desire when I insert data. Remember that I am using outer join, so there will be a mix of inserts and updates of data. I hope my explanation is clear. I have tried removing the tabular form region and starting from scratch but that hasn't helped - maybe I will drop the page and recreate it.
    As for checksum error, you are right - it disappears after I logout and login again.
    Regards
    Sadanand

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001:

    Hi, I'm using HTMLDB version 1.6.0.00.87 on a DB 10.1.0.3.0.
    I'm creating a Tabular Form to perform update operations on multiple rows in a database table.
    The table is in a schema outside of the HTMLDB schema and my application works.
    If I substitute my table with a synonym (outside of the HTMLDB schema) pointing to another table (outside of the HTMLDB schema), the select works fine but when I try to update records an error occurs:
    0.05: Branch point: BEFORE_PROCESSING
    0.05: Processing point: AFTER_SUBMIT
    0.05: ...MULTI_ROW_UPDATE (AFTER_SUBMIT) #OWNER#:CSTCMP:T$NCMP:T$CPCP
    0.08: Show ERROR page...
    0.09: Processing point: AFTER_ERROR_HEADER
    0.10: Processing point: BEFORE_ERROR_FOOTER
    Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "1F2F93F97DFD18A9D69960FCD28AF6EF", item checksum = "A884FA378C851786DDFE3A33709CB23C"., update "WS_T1"."CSTCMP" set
    If I perform with SQL the update on the synonym, it works.
    I only have a browser connected to the application and I'm not locking the table.
    I don't think this is correlated with
    Re: Error in mru internal routine (HTML DB BUG?)
    What do you think about?
    Thanks in advance.

    To look into what? You probably modified your tabular form by adding a column and you didn't take care of the column source.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

Maybe you are looking for

  • CUSTOMER AUTO CLEARING F.13

    Hi Friends, Presently I am facing one problem “Customer auto clearing” F.13 My client scenario is first they post the Credit memo because they might be having sale returns on earlier sales In the invoice they mapped that credit memo no. in Reference

  • Safari 7.1 update problem

    Software Update still shows the download after installing. I have installed it several times but it still shows as needing to be installed.

  • FDM Multiload Batch loader issue

    Hi All, I need help in Multiload Batch load process. I am working on FDM 11.1.2.1. We need to move data of 6 months. I am using comma separated Text file for this purpose. When I am loading it through FDM user interface, it is fine (It is generating

  • Federated Portal Network Blues - can not connect to WSRP producer

    Hi, I'd like to embed some JSR-168 portlets into my SAP EP but fail immediately when trying to add the WSRP content producer. I have a setup of two portals, one is SAP EP 2004s (SP13) and the other a JBoss Portal v2.6.4. I'd like to share my JBoss po

  • Session variables in scheduling

    hi all, I have to do parallel processing in ODI. i.e. schedule the same scenario multiple times with different parameters. How can i do it?? Moreover when i go into the scheduling option of a scenario, In the Variable tab, I dont see any of the varia