ORA-01403: no data found in alert.log

Dear All,
I am getting ORA-01403: no data found in alert.log.Could you pls help me out what could be reasons behind it..Due to this i m getting loads of alerts.Pls suggest.
Thanks

ORA-01403 No Data Found
Typically, an ORA-01403 error occurs when an apply process tries to update an existing row and the OLD_VALUES in the row LCR do not match the current values at the destination database.
Typically, one of the following conditions causes this error:
Supplemental logging is not specified for columns that require supplemental logging at the source database. In this case, LCRs from the source database might not contain values for key columns. You can use a DML handler to modify the LCR so that it contains the necessary supplemental data. See "Using a DML Handler to Correct Error Transactions". Also, specify the necessary supplemental logging at the source database to prevent future errors.
There is a problem with the primary key in the table for which an LCR is applying a change. In this case, make sure the primary key is enabled by querying the DBA_CONSTRAINTS data dictionary view. If no primary key exists for the table, or if the target table has a different primary key than the source table, then specify substitute key columns using the SET_KEY_COLUMNS procedure in the DBMS_APPLY_ADM package. You also might encounter error ORA-23416 if a table being applied does not have a primary key. After you make these changes, you can reexecute the error transaction.
The transaction being applied depends on another transaction which has not yet executed. For example, if a transaction tries to update an employee with an employee_id of 300, but the row for this employee has not yet been inserted into the employees table, then the update fails. In this case, execute the transaction on which the error transaction depends. Then, reexecute the error transaction.
There is a data mismatch between a row LCR and the table for which the LCR is applying a change. Make sure row data in the table at the destination database matches the row data in the LCR. When you are checking for differences in the data, if there are any DATE columns in the shared table, then make sure your query shows the hours, minutes, and seconds. If there is a mismatch, then you can use a DML handler to modify an LCR so that it matches the table. See "Using a DML Handler to Correct Error Transactions".
Alternatively, you can update the current values in the row so that the row LCR can be applied successfully. If changes to the row are captured by a capture process at the destination database, then you probably do not want to replicate this manual change to destination databases. In this case, complete the following steps:
Set a tag in the session that corrects the row. Make sure you set the tag to a value that prevents the manual change from being replicated. For example, the tag can prevent the change from being captured by a capture process.
EXEC DBMS_STREAMS.SET_TAG(tag => HEXTORAW('17'));
In some environments, you might need to set the tag to a different value.
Update the row in the table so that the data matches the old values in the LCR.
Reexecute the error or reexecute all errors. To reexecute an error, run the EXECUTE_ERROR procedure in the DBMS_APPLY_ADM package, and specify the transaction identifier for the transaction that caused the error. For example:
EXEC DBMS_APPLY_ADM.EXECUTE_ERROR(local_transaction_id => '5.4.312');
Or, execute all errors for the apply process by running the EXECUTE_ALL_ERRORS procedure:
EXEC DBMS_APPLY_ADM.EXECUTE_ALL_ERRORS(apply_name => 'APPLY');
If you are going to make other changes in the current session that you want to replicate destination databases, then reset the tag for the session to an appropriate value, as in the following example:
EXEC DBMS_STREAMS.SET_TAG(tag => NULL);
In some environments, you might need to set the tag to a value other than NULL.

Similar Messages

  • ORA-01403: no data found on LOGICAL STANDBY database

    Hi ,
    Logical Standby issue :
    Oracle 10.2.0.2 enterprise edition .
    M Working on LOGICAL Standby since 1 yrs but still i havent got this ......................................
    I m getting countinuously no data foud errror on logical standby database .
    I found the table causing the proble(db_logstdby_events) and skipped that table and instanciated table using bwlow package:
    exec dbms_logstdby.instantiate_table (.......................................
    but when i start apply process on logical standby it again give no data found for new table :
    Even i tried to instantiate the table using EXPORT/IMPORT during down time but the same facing same problem .
    As much as i known abt the error that is :
    table1
    id
    10
    20
    30
    Now if sql apply process on logical standby tries to performe the update transaction(for example) as belows
    update table1 set id=100 where id=50;
    above query will not be completed cos it will never find the values 50 which is not in table .Thts why this error comming ..
    Now my worry is ... no users dare to change/make such changes on Logical standby .So if there is no changes in tables then sqll apply should get all the values to be needded for an update ......
    watingggg guyssss/......

    Troubleshooting ORA-1403 errors with Flashback Transaction
    In the event that the SQL Apply engine errors out with an ORA-1403, it may be possible to utilize flashback transaction on the standby database to reconstruct the missing data. This is reliant upon the undo_retention parameter specified on the standby database instance.
    ORA-1403: No Data Found
    Under normal circumstances the ORA-1403 error should not be seen in a Logical Standby environment. The error occurs when data in a SQL Apply managed table is modified directly on the standby database, and then the same data is modified on the primary database.
    When the modified data is updated on the primary database and received by the SQL Apply engine, the SQL Apply engine verifies the original version of the data is present on the standby database before updating the record. When this verification fails, an ORA-1403: No Data Found error is thrown by Oracle Data Guard: SQL Apply.
    The initial error
    When the SQL Apply engine verification fails, the error thrown by the SQL Apply engine is reported in the alert log of the logical standby database as well as a record being inserted into the DBA_LOGSTDBY_EVENTS view. The information in the alert log is truncated, while the error is reported in it's entirety in the database view.
    LOGSTDBY stmt: update "SCOTT"."MASTER"
    set
    "NAME" = 'john'
    where
    "PK" = 1 and
    "NAME" = 'andrew' and
    ROWID = 'AAAAAAAAEAAAAAPAAA'
    LOGSTDBY status: ORA-01403: no data found
    LOGSTDBY PID 1006, oracle@staco03 (P004)
    LOGSTDBY XID 0x0006.00e.00000417, Thread 1, RBA 0x02dd.00002221.10
    The Investigation
    The first step is to analyze the historical data of the table that threw the error. This can be achieved using the VERSIONS clause of the SELECT statement.
    SQL> select versions_xid
    , versions_startscn
    , versions_endscn
    , versions_operation
    , pk
    , name
    from scott.master
    versions between scn minvalue and maxvalue
    where pk = 1
    order by nvl(versions_startscn,0);
    VERSIONS_XID VERSIONS_STARTSCN VERSIONS_ENDSCN V PK NAME
    03001900EE070000 3492279 3492290 I 1 andrew
    02000D00E4070000 3492290 D 1 andrew
    Depending upon the amount of undo retention that the database is configured to retain (undo_retention) and the activity on the table, the information returned might be extensive and the versions between syntax might need to be changed to restrict the amount of information returned.
    From the information returned, it can be seen that the record was first inserted at scn 3492279 and then was deleted at scn 3492290 as part of transaction ID 02000D00E4070000. Using the transaction ID, the database should be queried to find the scope of the transaction. This is achieved by querying the flashback_transaction_query view.
    SQL> select operation
    , undo_sql
    from flashback_transaction_query
    where xid = hextoraw('02000D00E4070000');
    OPERATION UNDO_SQL
    DELETE insert into "SCOTT"."MASTER"("PK","NAME") values
    ('1','andrew');
    BEGIN
    Note that there is always one row returned representing the start of the transaction. In this transaction, only one row was deleted in the master table. The undo_sql column when executed will restore the original data into the table.
    SQL> insert into "SCOTT"."MASTER"("PK","NAME") values ('1','andrew');
    SQL> commit;
    The SQL Apply engine may now be restarted and the transaction will be applied to the standby database.
    SQL> alter database start logical standby apply;

  • HELP!! Create source system failed in BW ( ORA-01403: no data found)

    Hi,
    I cannot create Oracle DB as a source system in my BW (7.01).
    In system log, I got the following information.
    ============================
    Database error 1403 at CON
    > ORA-01403: no data found
    ============================
    How can I fix this issue?
    It's kind of urgent.
    Thanks!
    Regards,
    Steven
    Edited by: Wen Steven on Sep 30, 2011 6:09 PM

    Hi Steven,
    Please check the below thread
    SQL/Buffer trace RC=1403
    Regards,
    Venkatesh

  • ORA-01403: no data found error hile inserting into a table

    Hi,
    I am populating a PL/SQL table(Array) with the data. From that array inserting into a Actual table. Before inserting am checking array count. Array count is greater than 0. But I am getting "ORA-01403: no data found" exception. I am not getting why this error is displaying.
    Please someone help me. Below is the code.
    CREATE OR REPLACE PROCEDURE XXDL_TEST_INSERT
    IS
    BEGIN
       IF  t_array.count> 0 THEN
        FND_FILE.PUT_LINE (FND_FILE.LOG, t_array.count);
        FOR i IN t_array.FIRST..t_array.LAST
        LOOP
            INSERT INTO XXDL_TEST
            VALUES(t_array(i).name )
      END LOOP;
    END IF;
    EXCEPTION
      WHEN OTHERS THEN
        FND_FILE.PUT_LINE (FND_FILE.LOG,SQLERRM);
    END;Thanks
    Alaka

    It looks like your Array is sparsely populated:
    SQL> DECLARE
      2    TYPE l_tab_type IS TABLE OF VARCHAR2(10)
      3      INDEX BY BINARY_INTEGER;
      4    l_tab l_tab_type;
      5  BEGIN
      6    l_tab(1) := 'A';
      7    l_tab(2) := 'B';
      8    l_tab(3) := 'C';
      9    FOR i IN l_tab.FIRST .. l_tab.LAST LOOP
    10      dbms_output.put_line(l_tab(i));
    11    END LOOP;
    12  END;
    13  /
    A
    B
    C
    PL/SQL procedure successfully completed.
    SQL>
    SQL> DECLARE
      2    TYPE l_tab_type IS TABLE OF VARCHAR2(10)
      3      INDEX BY BINARY_INTEGER;
      4    l_tab l_tab_type;
      5  BEGIN
      6    l_tab(1) := 'A';
      7    l_tab(3) := 'B';
      8    l_tab(4) := 'C';
      9    FOR i IN l_tab.FIRST .. l_tab.LAST LOOP
    10      dbms_output.put_line(l_tab(i));
    11    END LOOP;
    12  END;
    13  /
    A
    DECLARE
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at line 10Edited by: JS1 on Apr 11, 2009 8:59 AM
    You should also be using the FORALL syntax with INDICES OF. Check out The Docs

  • Getting - ORA-01403: no data found - When I Run expdp

    Oracle database version 11.1.0.7.0 on Windows 32-bit.
    When I run:
    expdp system schemas=vms dumpfile=data_pump_dir:vms_bjw%u.dmp logfile=data_pump_dir:vms_bjw.log parallel=2
    Connected to: Oracle Database 11g Enterprise Edition Release *11.1.0.7.0* - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-31626: job does not exist
    ORA-31637: cannot create job SYS_EXPORT_SCHEMA_01 for user SYSTEM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT_INT", line 736
    ORA-39080: failed to create queues "" and "" for Data Pump job
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPC$QUE_INT", line 1665
    ORA-01403: no data found
    I turned on tracing like this:
    1.) Set the Error Stack 1403 to know exactly which SQL is failing:-
    SQL> alter system set events '1403 trace name errorstack level 3';
    Re-ran the datapump export to reproduce the error then disable the events.
    SQL> alter system set events '1403 trace name errorstack off';
    The trace file, oddly enough, shows that this is the failing SQL:
    Error Stack Dump
    ORA-01403: no data found
    Current SQL Statement for this session (sql_id=3n58uzvnuw2hj) -----
    SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER = 'NLS_CHARACTERSET'
    Under that, I get the call stack.
    I ran this SQL manually and I get:
    SQL> SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER = 'NLS_CHARACTERSET';
    VALUE
    AL32UTF8
    Any ideas as to why I'm getting the ORA-01403 when I run expdp?
    Thank you

    Hello,
    Your error looks like what is descibed into the Metalink Note 345198.1.
    But this note apply to 10.1.0.4 not to 11.1.0.7.
    So, you should open an issue to My Oracle Support.
    Best regards,
    Jean-Valentin

  • ORA-01403: no data found

    I am trying to make Form on a Table with Report.
    And my Form is ok, I can successfully insert data. But the problem is report. When I click
    on EDIT button, when I want to change inserted data, I get error message:
    ORA-01403: no data found
    Error      Unable to fetch row.
    Thanks!!!

    Hi,
    I am getting the following error ORA-01403 no data found. I have a hidden item called Temporary item which i created as i have a report that appears with additional information when clicked on show_detail. I created this item by looking at this:
    http://htmldb.oracle.com/pls/otn/f?p=11933:13:2667331074727537::NO:RP::
    At the top of page 24 i have a text box and a search button Go that presents the report that matches the number that the user will type in the text box. I have created a branch to the same page. In my Report region i have code that will select the information from the database where id = :P24_SEARCH_ID
    P24_SEARCH_ID is the text box.
    I tried inserting in the branch> set TEMPORARY_ITEM to values P24_SEARCH_ID and then insert id=:TEMPORARY_ITEM in the region , but this would not work.
    Sometimes the Go button works but when i log out and log back into apex and try running it, i get the error
    Any suggestions as to how i can make it work always?
    Monica

  • Error ORA-01403: no data found is not raised using jdbc

    Hy there I have a problem receiving exceptions from oracle jdbc driver.
    I have the following exception stack if i call insert on a view
    using an instead of trigger.
    ORA-01403: no data found
    ORA-04088: error during execution of trigger
    'MYUSER.MY_VIEW_INSERT'
    if I do the insert by sql worksheet.
    If I do same insert using the following driver
    dbDriver = new intersolv.jdbc.sequelink.SequeLinkDriver();
    I will receive this exception:
    java.sql.SQLException: [INTERSOLV][SequeLink JDBC Driver][ORACLE]ORA-01403: Keine Daten gefunden
    Now if I do same thing using oracle driver:
    dbDriver = new oracle.jdbc.driver.OracleDriver();
    there will no exception be raised!
    here is my code:
    public class myFrame extends Frame
    public static void main( String[] args )
    Frame myFrame = new Frame();
    DbPflege dbPanel = new DbPflege();
    Driver dbDriver = null;
    String connectString = null;
    try
    if( args.length != 0 )
    System.out.println( "main: use sequelink!" );
    connectString = "jdbc:sequelink://myServer:4003/[Oracle]";
    dbDriver = new intersolv.jdbc.sequelink.SequeLinkDriver();
    else
    System.out.println( "main: use oracle!" );
    connectString = "jdbc:oracle:thin:@myServer:1521:idb";
    dbDriver = new oracle.jdbc.driver.OracleDriver();
    DriverManager.registerDriver( dbDriver );
    dbPanel.con = DriverManager.getConnection(connectString, "user", "pwd" );
    catch( Exception ex )
    System.out.println( "main: ERROR: " + ex );
    ex.printStackTrace();
    void jBtnExecute_actionPerformed(java.awt.event.ActionEvent event)
    Statement stmt = null;
    int updateCount = -1;
    int colCount = -1;
    ResultSet rs = null;
    ResultSetMetaData rsMeta = null;
    try
    stmt = con.createStatement();
    stmt.execute( textAreaInput.getText() );
    catch( Exception ex )
    textAreaOutput.append( ex.toString() );
    thanks for your help!!!!

    Hi,
    You should run you query in sql workshop with the expected values (which are set after user clicks Save or Apply changes button) for P10_CR_BOM_CODE and P10_CR_ID.
    Also, please have an exception block in the process to catch any exception and make an appropriate Insert into some user defined error-log table. It would be better to log the P10_CR_BOM_CODE and P10_CR_ID values in case of exception.
    These might help you to figure out the cause of exception.
    Regards,
    Mangal

  • Getting Error - CREATE_CASH : ORA-01403: no data found

    When i use api AR_RECEIPT_API_PUB.CREATE_CASH in loop then i get error 'CREATE_CASH : ORA-01403: no data found' for second record.
    AR_RECEIPT_API_PUB.CREATE_CASH(p_api_version => 1.0
    ,p_init_msg_list => fnd_api.g_true
    ,p_commit => fnd_api.g_true
    ,p_receipt_number => i_receipt_number
    ,p_receipt_date => TRUNC(SYSDATE)
    ,p_gl_date => TRUNC(SYSDATE)
    ,p_amount => i_receipt_amount
    ,p_currency_code => g_currency_code
    ,p_receipt_method_id => i_receipt_method_id
    ,p_customer_id => i_customer_id
    ,p_cr_id => l_cr_id
    ,p_org_id => i_org_id
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data
    I run it for different org. First org it's running fine but for second it's fail -
    Here is output -
    Start, Org ID - 84
    l_receipt_number - 43164
    l_receipt_amount - 74.55
    g_currency_code - USD
    l_receipt_method_id - 4000
    l_customer_id - 7040
    l_cr_id -
    l_return_status -
    l_msg_count -
    l_msg_data -
    Status - S
    Start, Org ID - 81
    l_receipt_number - 43166
    l_receipt_amount - 30
    g_currency_code - USD
    l_receipt_method_id - 4000
    l_customer_id - 7047
    l_cr_id -
    l_return_status -
    l_msg_count -
    l_msg_data -
    Error count/msg - 2-
    Error msg - CREATE_CASH : ORA-01403: no data found
    Error msg - ORA-01403: no data found in Package AR_RECEIPT_API_PUB Procedure Create_cash
    PLease help it's urgent

    Here is code which i am using...
    IF l_ar_pay_rec > 0 THEN
    l_receipt_number := ar_cash_receipts_s.NEXTVAL;
    FOR r_ar_org_records IN cr_ar_org_records
    LOOP
    IF r_ar_org_records.org_id = 81 THEN
    l_resp_id := 50677;
    ELSE
    l_resp_id := 50681;
    END IF;
    MO_GLOBAL.INIT('AR');
    MO_GLOBAL.SET_POLICY_CONTEXT('S',r_ar_org_records.org_id);
    FND_GLOBAL.APPS_INITIALIZE(g_user_id,l_resp_id,l_appl_id,0);
    DBMS_OUTPUT.PUT_LINE('User,Resp,App,Org - '||g_user_id||','||l_resp_id||','||l_appl_id||','||r_ar_org_records.org_id);
    -- Derive Receipt Method ID
    BEGIN
    SELECT receipt_method_id
    INTO l_receipt_method_id
    FROM ar_receipt_methods
    WHERE name = g_receipt_method;
    EXCEPTION
    WHEN OTHERS THEN
    g_ar_error := 'Y';
    g_ar_error_msg := g_ar_error_msg||'Receipet Method Not Found, ';
    FND_FILE.PUT_LINE(FND_FILE.LOG,'Error While Derive Receipt Method ID');
    END;
    -- Derive Customer ID
    BEGIN
    SELECT customer_id
    ,SUM(AMOUNT_PAID)
    INTO l_customer_id
    ,l_receipt_amount
    FROM xxar_third_party_validation
    WHERE raf_code = i_raf
    AND receipt_date = i_date_paid
    AND org_id = r_ar_org_records.org_id
    AND customer_id is not null
    GROUP BY customer_id;
    EXCEPTION
    WHEN OTHERS THEN
    g_ar_error := 'Y';
    g_ar_error_msg := g_ar_error_msg||' Customer ID Not Found, ';
    FND_FILE.PUT_LINE(FND_FILE.LOG,'Error While Customer ID');
    END;
    fnd_msg_pub.initialize;
    l_return_status := NULL;
    l_msg_count := NULL;
    l_msg_data := NULL;
    l_cr_id := NULL;
    g_currency_code := 'USD';
    DBMS_OUTPUT.PUT_LINE('Start, Org ID - '||r_ar_org_records.org_id);
    -- Create Cash for Customer
    DBMS_OUTPUT.PUT_LINE('l_receipt_number - '||l_receipt_number);
    DBMS_OUTPUT.PUT_LINE('l_receipt_amount - '||l_receipt_amount);
    DBMS_OUTPUT.PUT_LINE('g_currency_code - '||g_currency_code);
    DBMS_OUTPUT.PUT_LINE('l_receipt_method_id - '||l_receipt_method_id);
    DBMS_OUTPUT.PUT_LINE('l_customer_id - '||l_customer_id);
    DBMS_OUTPUT.PUT_LINE('l_cr_id - '||l_cr_id);
    DBMS_OUTPUT.PUT_LINE('l_return_status - '||l_return_status);
    DBMS_OUTPUT.PUT_LINE('l_msg_count - '||l_msg_count);
    DBMS_OUTPUT.PUT_LINE('l_msg_data - '||l_msg_data);
    AR_RECEIPT_API_PUB.CREATE_CASH(p_api_version => 1.0
    ,p_init_msg_list => fnd_api.g_true
    ,p_receipt_number => l_receipt_number
    ,p_receipt_date => TRUNC(SYSDATE)
    ,p_gl_date => TRUNC(SYSDATE)
    ,p_amount => l_receipt_amount
    ,p_currency_code => g_currency_code
    ,p_receipt_method_id => l_receipt_method_id
    ,p_customer_id => l_customer_id
    ,p_cr_id => l_cr_id
    ,p_org_id => r_ar_org_records.org_id
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data
    DBMS_OUTPUT.PUT_LINE('Status - '||l_return_status);
    IF l_return_status <> 'S' THEN
    g_ar_error := 'Y';
    DBMS_OUTPUT.PUT_LINE('Error count/msg - '||l_msg_count||'-'||l_msg_data);
    IF l_msg_count = 1 THEN
    g_ar_error_msg := g_ar_error_msg||l_msg_data;
    DBMS_OUTPUT.PUT_LINE('Error msg - '||l_msg_data);
    ELSIF l_msg_count > 1 THEN
    LOOP
    l_msg_data := fnd_msg_pub.get (fnd_msg_pub.g_next
    ,fnd_api.g_false);
    IF l_msg_data IS NULL THEN
    EXIT;
    END IF;
    g_ar_error_msg := g_ar_error_msg||l_msg_data;
    DBMS_OUTPUT.PUT_LINE('Error msg - '||l_msg_data);
    END LOOP;
    END IF;
    xxar_log_error(r_ar_org_records.record_id,SUBSTR(g_ar_error_msg,1,120));
    ELSE
    DBMS_OUTPUT.PUT_LINE('Status - '||l_return_status);
    FOR r_ar_records IN cr_ar_records(r_ar_org_records.org_id)
    LOOP
    fnd_msg_pub.initialize;
    l_return_status := NULL;
    l_msg_count := NULL;
    l_msg_data := NULL;
    l_cr_id := NULL;
    l_receipt_amount := r_ar_records.amount_paid;
    l_trx_number := r_ar_records.transaction_number;
    g_currency_code := r_ar_records.currency_code;
    l_receipt_date := SYSDATE;
    l_gl_date := SYSDATE;
    -- Apply payments for the RAF and Date Paid
    AR_RECEIPT_API_PUB.APPLY(p_api_version => 1.0
    ,p_init_msg_list => fnd_api.g_true
    ,p_commit => fnd_api.g_false
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data
    ,p_receipt_number => l_receipt_number
    ,p_trx_number => l_trx_number
    ,p_amount_applied => l_receipt_amount
    ,p_org_id => r_ar_org_records.org_id
    IF l_return_status <> 'S' THEN
    g_ar_error := 'Y';
    IF l_msg_count = 1 THEN
    g_ar_error_msg := g_ar_error_msg||l_msg_data;
    ELSIF l_msg_count > 1 THEN
    LOOP
    l_msg_data := fnd_msg_pub.get (fnd_msg_pub.g_next
    ,fnd_api.g_false);
    IF l_msg_data IS NULL THEN
    EXIT;
    END IF;
    g_ar_error_msg := g_ar_error_msg||l_msg_data;
    END LOOP;
    END IF;
    xxar_log_error(r_ar_records.record_id,SUBSTR(g_ar_error_msg,1,240));
    ELSE
    DBMS_OUTPUT.PUT_LINE('Sucess 2 - ');
    NULL;
    /* -- Call Adjustment API for Contractual Allowance
    IF NVL(r_ar_records.contractual_allowance_amt,0) > 0 THEN
    xxar_third_party_rcpt_adj(r_ar_records.record_id
    ,r_ar_records.transaction_number
    ,r_ar_records.contractual_allowance_amt
    ,i_user_id
    END IF; */
    END IF;
    END LOOP;
    END IF;
    DBMS_OUTPUT.PUT_LINE('Error Flag AR - '||g_ar_error);
    IF g_ar_error = 'Y' THEN
    xxar_log_error(r_ar_org_records.record_id,SUBSTR(g_ar_error_msg,1,240));
    END IF;
    END LOOP;

  • 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

  • ORA-01403: no data found  in apply at bi -direction stream

    Hi Experts,
    we use 10g at window for bi direaction.
    after building, I got ORA-01403: no data found in apply process. I check these error LCR
    that invloved DML action for different tables in source database.
    our stream a schema level capture and no error handle as well as other exception.
    former DBA set up this tream.
    I just check online got these info.
    ORA-01403 No Data Found
    An ORA-01403 error message is generated when an Apply process tries to update an existing row and the old_values in the row LCR do not match the current values at this destination database object.
    This situation could arise on account of any of the situations below:
    Supplemental logging is not specified for columns that require supplemental logging at the source database. In this case, LCRs from the source database may not contain values for key columns.
    There may be a problem with primary key in the destination table. If no primary key exists for the table or if the target table has a different primary key than the source table, substitute key columns can be specified using the set_key_columns procedure in the dbms_apply_adm package. Error ORA-23416 may be encountered if a table being applied does not have a primary key.
    There is a data mismatch between a row LCR and the table for which the LCR is applying a change. In this case, the destination has to be updated to match the data values before the error transaction can be executed again.
    what do i need to do?
    Thanks,
    Jim

    It will be wise to run the Oracle supply streams health check script to check your existing streams environment.
    From the result, you can also open a tar with Oracle to see if they can help you with the setup.
    In addition to the ORA-01403 error, you can also run some of the Oracle Streams packages (Managing Apply Errors) to see the full detail of what is missing that caused the Ora-01403 error.
    I will also try to implement a smoke test using the simple heartbeat table suggested by Oracle Streams, if that is working, then you can begin your full scale setup in your environment knowing that the base Streams Structure is setup correctly.
    HTH

  • HR_EMPLOYEE_API.CREATE_EMPLOYEE  error ORA-01403: no data found

    Hi
    I am getting below error,
    here hard coded values are same as i entered in front end.
    Business Group ID :-> 81
    Error Occured in API Block :-> ORA-01403: no data found
    here is the my code
    CREATE OR REPLACE PROCEDURE APPS.XXPER_EMP_API1(errbuf OUT VARCHAR2
    ,retcode OUT VARCHAR2
    IS
    ln_person_id NUMBER;
    ln_assignment_id NUMBER;
    ln_per_object_version_number NUMBER;
    ln_asg_object_version_number NUMBER;
    ln_per_comment_id NUMBER;
    ln_assignment_sequence NUMBER;
    gn_business_group_id NUMBER:=apps.fnd_global.per_business_group_id;
    ld_per_effective_start_date DATE;
    ld_per_effective_end_date DATE;
    lc_registered_disabled VARCHAR2(30);
    lc_title VARCHAR2(30);
    lc_assignment_number VARCHAR2(300);
    lb_name_combination_warning BOOLEAN;
    lb_assign_payroll_warning BOOLEAN;
    lb_orig_hire_warning BOOLEAN;
    lc_full_name apps.per_all_people_f.full_name%TYPE;
    lc_employee_number apps.per_all_people_f.employee_number%TYPE;
    BEGIN
    fnd_file.put_line(fnd_file.log,RPAD('*',80,'*'));
    fnd_file.put_line(fnd_file.log,'Business Group ID :-> '||gn_business_group_id);
    --l_gender Get from hr_lookups where lookup_type = 'SEX' AND enabled_flag='Y'
    BEGIN
    APPS.Hr_General.G_DATA_MIGRATOR_MODE := 'Y';
    APPS.Hr_Employee_Api.Create_Employee
    (p_validate => FALSE
    ,p_hire_date => SYSDATE-100
    ,p_business_group_id => 81
    ,p_last_name => 'G1LTest'
    ,p_sex => 'M'
    ,p_person_type_id => 1120
    ,p_per_comments => NULL
    ,p_date_employee_data_verified => NULL
    ,p_date_of_birth => TO_DATE('20-OCT-1982','DD-MON-
    ,p_email_address => NULL
    ,p_employee_number => lc_employee_number
    ,p_expense_check_send_to_addres => NULL
    ,p_first_name => 'G1FTest'
    ,p_known_as => NULL
    --,p_marital_status => 'S'
    ,p_middle_names => NULL
    ,p_nationality => NULL
    ,p_national_identifier => NULL
    ,p_previous_last_name => NULL
    ,p_registered_disabled_flag => NULL
    ,p_title => 'MR.'
    ,p_vendor_id => NULL
    ,p_work_telephone => NULL
    ,p_attribute_category => 81
    ,p_attribute1 => NULL
    ,p_attribute2 => NULL
    ,p_attribute3 => NULL
    ,p_attribute4 => NULL
    ,p_attribute5 => NULL
    ,p_attribute6 => NULL
    ,p_attribute7 => NULL
    ,p_attribute8 => NULL
    ,p_attribute9 => NULL
    ,p_attribute10 => NULL
    ,p_attribute11 => NULL
    ,p_attribute12 => NULL
    ,p_attribute13 => NULL
    ,p_attribute14 => NULL
    ,p_attribute15 => NULL
    ,p_attribute16 => NULL
    ,p_attribute17 => NULL
    ,p_attribute18 => NULL
    ,p_attribute19 => NULL
    ,p_attribute20 => NULL
    ,p_attribute21 => NULL
    ,p_attribute22 => NULL
    ,p_attribute23 => NULL
    ,p_attribute24 => NULL
    ,p_attribute25 => NULL
    ,p_attribute26 => NULL
    ,p_attribute27 => NULL
    ,p_attribute28 => NULL
    ,p_attribute29 => NULL
    ,p_attribute30 => NULL
    ,p_per_information_category => 'AE'
    -- p_per_information_category - Obsolete parameter, do not use
    ,p_per_information1 => NULL
    ,p_per_information2 => NULL
    ,p_per_information3 => NULL
    ,p_per_information4 => NULL
    ,p_per_information5 => NULL
    ,p_per_information6 => NULL
    ,p_per_information7 => NULL
    ,p_per_information8 => NULL
    ,p_per_information9 => NULL
    ,p_per_information10 => NULL
    ,p_per_information11 => NULL
    ,p_per_information12 => NULL
    ,p_per_information13 => NULL
    ,p_per_information14 => NULL
    ,p_per_information15 => NULL
    ,p_per_information16 => NULL
    ,p_per_information17 => NULL
    ,p_per_information18 => 205
    ,p_per_information19 => NULL
    ,p_per_information20 => NULL
    ,p_per_information21 => NULL
    ,p_per_information22 => NULL
    ,p_per_information23 => NULL
    ,p_per_information24 => NULL
    ,p_per_information25 => NULL
    ,p_per_information26 => NULL
    ,p_per_information27 => NULL
    ,p_per_information28 => NULL
    ,p_per_information29 => NULL
    ,p_per_information30 => NULL
    ,p_date_of_death => NULL
    ,p_background_check_status => 'N'
    ,p_background_date_check => NULL
    ,p_blood_type => NULL
    ,p_correspondence_language => NULL
    ,p_fast_path_employee => NULL
    ,p_fte_capacity => NULL
    ,p_honors => NULL
    ,p_internal_location => NULL
    ,p_last_medical_test_by => NULL
    ,p_last_medical_test_date => NULL
    ,p_mailstop => NULL
    ,p_office_number => NULL
    ,p_on_military_service => 'N'
    ,p_pre_name_adjunct => NULL
    ,p_rehire_recommendation => NULL
    ,p_projected_start_date => NULL
    ,p_resume_exists => 'N'
    ,p_resume_last_updated => NULL
    ,p_second_passport_exists => 'N'
    ,p_student_status => NULL
    ,p_work_schedule => NULL
    ,p_suffix => NULL
    ,p_benefit_group_id => NULL
    ,p_receipt_of_death_cert_date => NULL
    ,p_coord_ben_med_pln_no => NULL
    ,p_coord_ben_no_cvg_flag => 'N'
    ,p_coord_ben_med_ext_er => NULL
    ,p_coord_ben_med_pl_name => NULL
    ,p_coord_ben_med_insr_crr_name => NULL
    ,p_coord_ben_med_insr_crr_ident => NULL
    ,p_coord_ben_med_cvg_strt_dt => NULL
    ,p_coord_ben_med_cvg_end_dt => NULL
    ,p_uses_tobacco_flag => NULL
    ,p_dpdnt_adoption_date => NULL
    ,p_dpdnt_vlntry_svce_flag => 'N'
    ,p_original_date_of_hire => SYSDATE-100
    ,p_adjusted_svc_date => NULL
    ,p_town_of_birth => NULL
    ,p_region_of_birth => NULL
    ,p_country_of_birth => NULL
    ,p_global_person_id => NULL
    ,p_party_id => NULL
    ,p_person_id => ln_person_id
    ,p_assignment_id => ln_assignment_id
    ,p_per_object_version_number => ln_per_object_version_number
    ,p_asg_object_version_number => ln_asg_object_version_number
    ,p_per_effective_start_date => ld_per_effective_start_date
    ,p_per_effective_end_date => ld_per_effective_end_date
    ,p_full_name => lc_full_name
    ,p_per_comment_id => ln_per_comment_id
    ,p_assignment_sequence => ln_assignment_sequence
    ,p_assignment_number => lc_assignment_number
    ,p_name_combination_warning => lb_name_combination_warning
    ,p_assign_payroll_warning => lb_assign_payroll_warning
    ,p_orig_hire_warning => lb_orig_hire_warning
    EXCEPTION
    WHEN OTHERS THEN
    fnd_file.put_line(fnd_file.log,'Error Occured in API Block :-> '||SQLERRM);
    END;
    fnd_file.put_line(fnd_file.log,RPAD('*',80,'*'));
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line(fnd_file.log,'Error Message :-> '||SQLERRM);
    fnd_file.put_line(fnd_file.log,RPAD('*',80,'*'));
    END XXPER_EMP_API1;
    Please let me know if any body faced this situation & how to solve it.
    Thanks & Rgeards
    Gireesh

    Problem solved by replacing SYSDATE with TRUNC(SYSDATE).
    Thanks for Clive Tucker.
    http://www.hcmaces.com/
    Edited by: Gireesh PV on May 7, 2010 4:22 AM

  • Hrglobal error ORA-01403: no data found

    I am trying to run hrglobal after upgrading from 12.0.6 - 12.1.3. Some how all my workers fail
    FAILED: file hrrbdeib.sql on worker 1.
    FAILED: file hrrbdeib.sql on worker 2.
    FAILED: file hrrbdeib.sql on worker 3.
    FAILED: file hrrbdeib.sql on worker 4.
    FAILED: file hrrbdeib.sql on worker 5.
    FAILED: file hrrbdeib.sql on worker 6.
    FAILED: file hrrbdeib.sql on worker 7.
    FAILED: file hrrbdeib.sql on worker 8.
    each worker log has the following error
    sqlplus -s APPS/***** @/oracle/ebd/apps/apps_st/appl/per/12.0.0/patch/115/sql/hrrbdeib.sql 1 8
    Connected.
    declare
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "APPS.HRDYNDBI", line 5446
    ORA-06512: at line 42
    There was mention of ORA-01403: no data found in trouble shooting hrglobal and this is what it says :
    If you install the post install steps while the product is installed in shared
    mode, you will receive errors such as:
    ORA-1403 : no data found
    throughout the installation. You will also probably notice that DataInstall
    will not load any seeded legislative data (via hrglobal) if the products are
    not fully installed.
    I am not clear with this if this is the reason for my error.
    Help needed. Thank you.

    Hi;
    Helius: I did take a look at the doc and that is not it. I have logged an SR. Thank you all for your help. I am still researching into the causes.Correct the note which we posted here not mention exact error you are hitting, but we shared at least they can give you some hints and you can retest your issue
    Regard
    Helios

  • Apex file loader 4.1 create page error: ORA-01403: no data found

    I am trying to create a page where csv files can be uploaded using the wizard in Apex 4.1.0.00.32
    However after completing the wizard and pressing the finish button, the following message shows up:
    Error Error creating page .
    ORA-01403: no data found
    All I can do then is press an OK button which takes me back to the summary screen before submitting.
    I've already tried the wizard using other tables, empty and ones with data in it, but with the same result.
    The strange thing is that I have used the wizard with success, but now it won't work anymore in this application.
    The other strange thing is that the wizard is still working for other application within the same workspace, even on the same table...
    Anyone has got any ideas to fix this (making a new application from scratch is my last resort considering the amount of work I've already put into this one)
    Thanks!

    Alright, I got the wizard working again. This is how:
    By doing some searching on google I found that the errorlogs of Apache are logged in the folder: apache\apache\logs\
    I found that there were some error logs in there that created new lines each time I used the wizard:
    [Fri Jan 27 17:45:41 2012] [error] [client 172.18.40.211] [ecid: 1327682741:10.10.10.128:2380:2616:373,0] File does not exist: d:/oracle/product/10.2.0/ohs_1/apache/images/css/apex_builder_4_0.css
    [Fri Jan 27 17:45:44 2012] [error] [client 172.18.40.211] [ecid: 1327682744:10.10.10.128:2380:2536:480,0] File does not exist: d:/oracle/product/10.2.0/ohs_1/apache/images/css/apex_builder_4_0.css
    So I figured maybe if I copy the existing apex_builder_4_1.css in the folder and rename it to apex_builder_4_0.css it would work.
    After doing that the error messages stopped in the error log, but still the wizard failed.
    After that I changed the theme of the application and the wizard started working again!
    Don't no what will happen when I change the theme back to the one I was using, maybe I will try that later.
    For now I am happy!
    Thanks Patrick for putting time into it
    (btw my application was not imported, but I did play around with the themes a fair bit)
    Edited by: Merijn8106997 on 27-jan-2012 9:27

  • ORA-01403: no data found for default value

    I have the following pl/sql function body for setting the default value of a select list.
    DECLARE
    selected VARCHAR2(100);
    BEGIN
    select person_id into selected from ht_people
    where :app_user=flow_user;
    RETURN selected ;
    END;
    It works perfectly until the user who is logged in is not on the list and then I get:
    ORA-01403: no data found
    ERR-9131 Error in PLSQL function body for item default code, item=P7_IDENTIFIED_BY
    Is there an item property I can set to handle this or must this be done in PL/SQL?

    This will throw no error if user not found:
    DECLARE
       selected   VARCHAR2 (100);
    BEGIN
       FOR c IN (SELECT person_id
                   FROM ht_people
                  WHERE :app_user = flow_user)
       LOOP
          selected := c.person_id;
       END LOOP;
       RETURN selected;
    END;Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • ORA-01403 No data found on INSERT

    Hello,
    We have a program that does a lot of inserts in a simple table. Every now and then, we get the error ORA-01403 NO DATA FOUND.
    Our program is written in Delphi 7. We use the Oracle Data Access Components (ODAC, by CoreLab) to access the database.
    I read in the Oracle docs that the error is generated by a select statement, but we use something like:
    "insert into BLAH (BLAH_ID, BLAH_VAL, BLAH_STATUS) values (15,'Test',10)"
    The table (BLAH) and all related tables do not have triggers (with "select into"). We don't use stored procedures or functions.
    I activated AUDIT, but apparently this error isn't logged in the AUDIT-tables (others are, so the AUDIT works).
    Anyone any suggestions?
    Regards,
    Gert

    Nope, no triggers at all...
    It may be worth mentioning that our programs for this particular customer have been changed recently for use with ODAC. Before, we used the Borland Database Engine (BDE). The database is still an Oracle 8.05 and the customer is planning to do an upgrade. But before upgrading Oracle we had to convert our programs (to use ODAC instead of BDE) and test run them to see if this change was OK. Apparently it isn't...
    We have a lot of experience with the combination Delphi 7 / ODAC / Oracle (even 8.05), without encountering this problem.
    Is there any other way (other than audit) to see what object or statement exactly generated the ORA-01403?
    Regards,
    Gert

Maybe you are looking for

  • How to upload the Cycle Count Indicator from ERP into EWM

    Hello Gurus, Can someone tell me what the transaction is to upload the Cycle Count Indicator from the ERP into EWM?  I am currently researching the cycle count functionality of EWM for a roll-out at our facility, and this information would be most he

  • T440s in Windows 7 Pro loses Wifi connection after sleep 7260AC

    Hi guys, I keep having issues waking up from sleep with my T440s.  It WILL NOT connect to wifi and the wireless adapter under windows adapter settings disappears.  Only thing that fixes this is a reboot.  I have removed "allow windows to turn this de

  • Creating a Better Search Form

    Hi, I'm trying to figure out how to create a dynamic search form using Coldfusion 8. Right now if I enter multiple words in my search field the results omit certain records. For example, if I put "toy blue" in the search field it will return results

  • New search functionality in SDN

    Hey everybody Since past few days i m seeing a new feature in search functionality on SDN. If i search for any specific term it sorts out the links as per the assigned points/answered questions.I m not really sure if thats the best option coz a lot o

  • What does the error -3208 mean?

    Everything that I try to download (songs, apps, and even updates to apps) shows up with this error. I emailed the support people and they didn't know. Has anyone else had this problem before?