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

Similar Messages

  • PL/SQL function body returning SQL - report error:ORA-01403: no data found

    Hi,
    I am working on Application Express 4.0.2.00.06, and 11G database.
    I have a problem with classic report area of type - PL/SQL function body returning SQL query. Query works if I define region area as - Use Generic Column Names (parse query at runtime only), and does not when I define it - Use Query-Specific Column Names and Validate Query.
    I am getting error:
    report error:ORA-01403: no data found
    This is my query that is returned from function, and displayed with htp.p, and it works ok and returns data in SQL Developer and SQL Workshop (in Apex).
    <code>
    /* select 1 from dual */ SELECT SIFPRO, NAZIV, VODITELJ, DATPZA,SUM(DECODE(TJEDAN,'2010/46',BRDJEL,null)) as "2010/46" ,SUM(DECODE(TJEDAN,'2010/49',BRDJEL,null)) as "2010/49" ,SUM(DECODE(TJEDAN,'2010/50',BRDJEL,null)) as "2010/50" ,SUM(DECODE(TJEDAN,'2010/51',BRDJEL,null)) as "2010/51" ,SUM(DECODE(TJEDAN,'2010/52',BRDJEL,null)) as "2010/52" ,SUM(DECODE(TJEDAN,'2011/01',BRDJEL,null)) as "2011/01" ,SUM(DECODE(TJEDAN,'2011/02',BRDJEL,null)) as "2011/02" ,SUM(DECODE(TJEDAN,'2011/03',BRDJEL,null)) as "2011/03" ,SUM(DECODE(TJEDAN,'2011/04',BRDJEL,null)) as "2011/04" ,SUM(DECODE(TJEDAN,'2011/05',BRDJEL,null)) as "2011/05" ,SUM(DECODE(TJEDAN,'2011/06',BRDJEL,null)) as "2011/06" ,SUM(DECODE(TJEDAN,'2011/07',BRDJEL,null)) as "2011/07" ,SUM(DECODE(TJEDAN,'2011/08',BRDJEL,null)) as "2011/08" ,SUM(DECODE(TJEDAN,'2011/09',BRDJEL,null)) as "2011/09" ,SUM(DECODE(TJEDAN,'2011/10',BRDJEL,null)) as "2011/10" FROM (SELECT * FROM PMV_PLAN_TVRTKA) GROUP BY SIFPRO, NAZIV, VODITELJ, DATPZA ORDER BY SIFPRO, NAZIV, VODITELJ, DATPZA
    </code>
    As you can see, I even tried with workaround that I found on the previous post on the forum, and that is to put /* select 1 from dual */ to start query.
    Any help would be appriciated.

    /* select 1 from dual */ SELECT SIFPRO, NAZIV, VODITELJ, DATPZA,SUM(DECODE(TJEDAN,'2010/46',BRDJEL,null)) as "2010/46" ,SUM(DECODE(TJEDAN,'2010/49',BRDJEL,null)) as "2010/49" ,SUM(DECODE(TJEDAN,'2010/50',BRDJEL,null)) as "2010/50" ,SUM(DECODE(TJEDAN,'2010/51',BRDJEL,null)) as "2010/51" ,SUM(DECODE(TJEDAN,'2010/52',BRDJEL,null)) as "2010/52" ,SUM(DECODE(TJEDAN,'2011/01',BRDJEL,null)) as "2011/01" ,SUM(DECODE(TJEDAN,'2011/02',BRDJEL,null)) as "2011/02" ,SUM(DECODE(TJEDAN,'2011/03',BRDJEL,null)) as "2011/03" ,SUM(DECODE(TJEDAN,'2011/04',BRDJEL,null)) as "2011/04" ,SUM(DECODE(TJEDAN,'2011/05',BRDJEL,null)) as "2011/05" ,SUM(DECODE(TJEDAN,'2011/06',BRDJEL,null)) as "2011/06" ,SUM(DECODE(TJEDAN,'2011/07',BRDJEL,null)) as "2011/07" ,SUM(DECODE(TJEDAN,'2011/08',BRDJEL,null)) as "2011/08" ,SUM(DECODE(TJEDAN,'2011/09',BRDJEL,null)) as "2011/09" ,SUM(DECODE(TJEDAN,'2011/10',BRDJEL,null)) as "2011/10" FROM (SELECT * FROM PMV_PLAN_TVRTKA) GROUP BY SIFPRO, NAZIV, VODITELJ, DATPZA ORDER BY SIFPRO, NAZIV, VODITELJ, DATPZA

  • ORA-06502:Numeric or value error ORA-01403: No data found --6502

    Dear All
    I am using Forms 10g.
    I am calling a report from my form.
    but when i am calling then it is showing this error:
    ORA-06502:Numeric or value error ORA-01403: No data found --6502
    My code is in Print Button :
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    plid ParamList;
    vParamValue number;
    BEGIN
    plid := Get_parameter_List('tmp');
    IF NOT Id_Null(plid) THEN
    Destroy_parameter_List( plid );
    END IF;
    plid := Create_parameter_List('tmp');
    Add_Parameter(PLid, 'P_Block', Text_Parameter, :block_query.item_block);
    Add_Parameter(PLid, 'P_Category', Text_Parameter, :block_query.item_category);
    Add_Parameter(PLid, 'P_Dept', Text_Parameter, :block_query.item_dept);
    Add_Parameter(PLid, 'P_sub_Category', Text_Parameter, :block_query.item_sub_category);
    Add_Parameter(PLid, 'P_FLOOR', Text_Parameter, :block_query.item_floor);
    Add_Parameter(PLid, 'P_IP', Text_Parameter, :block_query.item_ip);
    Add_Parameter(PLid, 'P_Room', Text_Parameter, :block_query.item_room);
    Add_Parameter(PLid, 'P_Userid', Text_Parameter, :block_query.item_usr_id);
    Add_Parameter(PLid, 'PARAMFORM', Text_Parameter, 'NO');
    repid := FIND_REPORT_OBJECT('rp_report');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_oracleapps_eHOpeAS');
    v_rep := RUN_REPORT_OBJECT(repid,plid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')      
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
    '||'server=rep_oracleapps_eHOpeAS');
    Exception
         When others then
         message(Sqlerrm||'-'||sqlcode);
    End;
    Edited by: Sandip Mohapatra on Feb 8, 2010 12:44 AM

    hi
    u can write for all no problem.
    here is an example please modify it with u r requirements.
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    plid ParamList;
    vParamValue number;
    BEGIN
    plid := Get_parameter_List('tmp');
    IF NOT Id_Null(plid) THEN
    Destroy_parameter_List( plid );
    END IF;
    plid := Create_parameter_List('tmp');
    add_parameter(plid,'P_code',text_parameter,to_char(:hr.employee_code));
    add_parameter(plid,'P_name',text_parameter,to_char(:hr.name));
    add_parameter(plid,'P_fname',text_parameter,to_char(:hr.fname));
    add_parameter(plid,'P_gender',text_parameter,to_char(:hr.gender));
    add_parameter(plid,'P_married',text_parameter,to_char(:hr.marital_status));
    add_parameter(plid,'P_job',text_parameter,to_char(:hr.job));
    add_parameter(plid,'P_sal',text_parameter,to_char(:hr.sal));
    add_parameter(plid,'P_dob',text_parameter,to_char(:hr.dob));
    add_parameter(plid,'P_country',text_parameter,to_char(:hr.country));
    add_parameter(plid,'P_nationality',text_parameter,to_char(:hr.nationality));
    add_parameter(plid,'P_address',text_parameter,to_char(:hr.address));
    add_parameter(plid,'p_imagecode',text_parameter,to_char(:images.employee_code));
    Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
    repid := FIND_REPORT_OBJECT('REPORT6');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'NORMAL');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
    v_rep := RUN_REPORT_OBJECT(repid,plid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://sarah:8890/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver&P_code='||:hr.employee_code||'&P_name'
    ||:hr.name ||'&P_fname'|| :hr.fname  ||'&P_gender'||:hr.gender||'&P_married'||:hr.marital_status||'&P_job'||:hr.job||'&P_sal'||:hr.sal||'&P_dob'||:hr.dob||
    '&p_country'||:hr.country||'&p_natioanlity'||:hr.nationality||'&p_address'||:hr.address||'&p_image'||:images.employee_code||'&paramform=no','_SELF');
    END;sarah

  • Report error: ORA-01403: no data found.

    Hi,
    I was getting a following error and not able to figure it out.
    Here what I have:
    I have a page where I have 3 regions and out of them, there are 2 Html conditional regions
    and one SQL updatable report. Also, I have a validation to validate a field on the tabular form
    based on one field on the HTML region. The validation works fine but it also throws following error :
    report error: ORA-01403: no data found.
    Code:
    Declare
    v_office_id number;
    Begin
    SELECT count(id) into v_office_id from dar_asd.asd_office;
    if (:P299_ROLE_TYPE_ID = 1 and apex_application.g_f30.COUNT = v_office_id ) or
    (:P299_ROLE_TYPE_ID = 2 and (apex_application.g_f30.COUNT < v_office_id
    and apex_application.g_f30.COUNT >= 1) ) then
    return null;
    else
    RETURN 'Error: '||'Not a valid office selection.';
    end if;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RETURN 'Error: '||SQLERRM;
    end;
    Thanks.

    Marc,
    Thanks for the reply.
    It is derived columns i.e. Use Query-Specific Column Names and Validate Query. The select statement returned by the stored procedure function will allways have all list of columns in select list. But the report displays allways some fixed number of columns in the secod region and remaining will be dependent on the check boxes and lov items selected in the first region. For e.g. if the select has 20 columns. Out of this, let's say 8 will allways displayed and remaining 12 will be displayed depending on the check box and lov items defined for them in the first region. I mean if 3 check boxes are checked and if the user selected some value from lov for the corresponding check box items, then the report will display 8+3 = total 11 colums. And the lov values selected will be used in the where condition of the SQL.
    How can I go to the report attributes? I can go to page definition, but I am not finding report attributes here. Please let me know...
    Thanks,
    Srini

  • Error 'ORA-01403 no data found', if a procedure called through $Universe

    Hello,
    we use at our customer the scheduling software $Universe. The problem follows is happend at calling PL/SQL-procedures within SQL*Plus:
    Within the calling procedur another subprogram will be called. This program crashed on select of currval with the error 'ORA-01403 no data found'. This error happens only, if the procedure called through $Universe. If the procedure called directly from SQL*Plus or about a unix shell-script, no error happens.
    About the command "select saddr,sid,serial# from sys.V_$SESSION where
    username ='xxx';" we select the Session_ID's. These are identically before and after call of the procedure!
    Do you have an idea, how the problem can be?
    Next information about OS, releases, settings of Oracle-Session-Parameters, and the crashing procedure:
    SQL*Plus: Release 8.1.6.0.0 - Production on Fri Mar 15 13:25:05 2002
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    OS: HP-UX11
    ORACLE-Server NLS-parameters on HP-UX:
    NLS_LANGUAGE               AMERICAN
    NLS_TERRITORY               AMERICA
    NLS_CURRENCY               $
    NLS_ISO_CURRENCY          AMERICA
    NLS_NUMERIC_CHARACTERS          .,
    NLS_CALENDAR               GREGORIAN
    NLS_DATE_FORMAT               DD-MON-RR
    NLS_DATE_LANGUAGE          AMERICAN
    NLS_CHARACTERSET          WE8DEC
    NLS_SORT               BINARY
    NLS_TIME_FORMAT               HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT          DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT          HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT          DD-MON-RR HH.MI.SSXFF AM TZH:T
    NLS_DUAL_CURRENCY          $
    NLS_NCHAR_CHARACTERSET          WE8DEC
    NLS_COMP               BINARY
    Windows-desktop NLS-parameters:
    ALTER SESSION set NLS_LANGUAGE = 'GERMAN';
    ALTER SESSION set NLS_TERRITORY = 'GERMANY';
    ALTER SESSION set NLS_ISO_CURRENCY = 'GERMANY';
    ALTER SESSION set NLS_NUMERIC_CHARACTERS = ',.';
    ALTER SESSION set NLS_CALENDAR = 'GREGORIAN';
    ALTER SESSION set NLS_DATE_FORMAT = 'DD/MM/YY';
    ALTER SESSION set NLS_DATE_LANGUAGE = 'GERMAN';
    ALTER SESSION set NLS_SORT = 'GERMAN';
    ALTER SESSION set NLS_TIME_FORMAT = 'HH24:MI:SSXFF';
    ALTER SESSION set NLS_TIMESTAMP_FORMAT = 'DD.MM.RR HH24:MI:SSXFF';
    ALTER SESSION set NLS_TIME_TZ_FORMAT = 'HH24:MI:SSXFF TZH:TZM';
    ALTER SESSION set NLS_TIMESTAMP_TZ_FORMAT = 'DD.MM.RR HH24:MI:SSXFF
    TZH:TZM';
    ALTER SESSION set NLS_DUAL_CURRENCY = '?';
    ALTER SESSION set NLS_COMP = 'BINARY';
    PROCEDURE PROC_NEW_ID (p_value IN NUMBER,
    p_field IN VARCHAR2,
    p_table IN VARCHAR2,
    p_currval OUT NUMBER)
    IS
    v_stmt VARCHAR2(200);
    v_currval NUMBER;
    BEGIN
    -- Bildung des SQL-Statements.
    v_stmt := 'INSERT INTO '||p_table|| '('|| p_field || ') VALUES
    ('||p_value||')';
    -- Ausfuehren des SQL-Statements.
    EXECUTE IMMEDIATE v_stmt;
    COMMIT;
    -- Bildung des SQL-Statements.
    v_stmt := 'SELECT SEQ_'|| p_table || '.CURRVAL FROM DUAL';
    -- Ausfuehren des SQL-Statements.
    EXECUTE IMMEDIATE v_stmt INTO v_currval;
    -- Wertrueckgabe
    p_currval := NVL(v_currval,0);
    EXCEPTION
    WHEN OTHERS THEN
    pkg_mira_protokoll.proc_write_error_fwd
    (pkg_mira_consts.act_error,
    SQLCODE,
    SQLERRM(SQLCODE),
    'PROC_NEW_ID');
    p_currval := 0;
    RAISE;
    END;
    Thanks for your request!
    Best regards
    Esser Office Consulting KG
    J|rgen Esser

    This forum is for posting feedback about the OTN site.
    The best place for your question is probably a Portal forum.
    There is a list of Portal forums here:
    http://forums.oracle.com/forums/index.jsp?cat=13

  • Uploading a CSV file and getting Error ORA-01403: no data found in V4.1.1.

    I have an issue where myself and another user are unable to upload a csv file to my application using the "File Browse" page item in V4.1.1. I get the following error, "Error ORA-01403: no data found".
    This function was working perfectly last week prior to the upgrade of our APEX to V4.1.1 from V3. Other users are still able to upload the csv file, so the PL/SQL behind it must be ok.
    So here is where I am up to with testing.
    Tested the upload using my login on my PC – Fail
    Tested the upload using my login on another PC – Fail
    Tested the upload using other user’s login on my PC – Success
    Tested the upload using other user’s login on another PC - Success
    Any help would be greatly appreciated.
    Cheers,
    Greg

    The offending piece of code was in a block of script that I used from an online sample when I was first setting up this upload script. A colleague had the same issue in another application and rewrote the script to resolve the issue, see below.
    I'm still perplexed as to why the majority of users could run it ok, and there were only 2 of us that it errored on. But now it's working for all, and I can go back to building some cool stuff in V4.1.1.00.23.
    -- Read data from wwv_flow_files
    select blob_content into v_blob_data
    from wwv_flow_files
    where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USERID)
    and id = (select max(id) from wwv_flow_files where updated_by = :APP_USERID);
    -- Rewritten to the following, which works.
    select blob_content into v_blob_data
    from wwv_flow_files
    where id = (select ID from wwv_flow_files
    where UPDATED_BY = :APP_USERID
    and LAST_UPDATED = (select max(LAST_UPDATED) from wwv_flow_files where UPDATED_BY = :APP_USERID));

  • From pl/sql table getting error - "ORA-01403: no data found"

    Hi All,
    i habe written package, and the spce define as -
    type F761RecType is RECORD (
    type F761TabType is TABLE of F761RecType INDEX BY BINARY_INTEGER;
    l_F761_table F761TabType;
    PROCEDURE modification1
    p_F761_table IN F761TabType,
    From button click of form i passed -
    DECLARE
    l_f761_table I743_PUC_MAPS_TREE_PKG.F761TabType;
    l_counter number;
    BEGIN
              LOOP
         l_counter :=l_counter+1;
              l_f761_table(l_counter).P_TABLE := :MAPS.P_table;
         EXIT WHEN      :SYSTEM.LAST_RECORD = 'TRUE' ;
    next_record;
    end loop;
    i743_puc_maps_tree_pkg.modification1(
                                            p_F761_table => l_f761_table,
    END;
    Now when I take table count (l_f761_table.count) in button click in form level I am getting value; but when I try to get the count in sid the package, it giving error "ORA-01403: no data found".
    Pls tell me where I am wrong ..!!
    BR,
    Subir

    Thaks all, probls has been solved..

  • Error : ORA-01403 no data found (Portal Page)

    hi you all,
    I have this confusing bug "or something" on my portal. I have created 5 tabs on my page. And everything wwas working fine until I added discoverer portlets that view's graph. Once this portlet was in and the user views the page, users can no longer click on other tabs to view it. It prompts on the page and Error stating
    Error : ORA-01403 no data found
    Please help if anyone have any idea on this
    thanks
    Saran

    This forum is for posting feedback about the OTN site.
    The best place for your question is probably a Portal forum.
    There is a list of Portal forums here:
    http://forums.oracle.com/forums/index.jsp?cat=13

  • OCI Error ORA-01403: no data found in oracle goldengate replication after tts instaniation

    I recently migrated our tg core system from sun solaris(11.1.0.7) to linux (11.2.0.3) environment using goldengate method (transportable tablespace method used for instantiation).
    The initial replication worked with HANDLECOLLISIONS and after I monitor the lag finished, I took Handlecollisions off and noticed discarded report with OCI Error ORA-01403: no data found in two replications.
    I followed every step in the tts migration steps provided by oracle best practice.
    Can anybody provide any clue how do I fix this issue?
    Thank you in advance.

    extract and replicat are on schema level.
    DO I have to do anything for replication on schema level?
    Basic trandata logging enabled on source.

  • NEED HELP IN CONFLICT HANDLER ERROR ORA-01403: no data found

    Hi All,
    I am using Oracle Streams to replicate the data...
    I need to update the records on the destination with some particular condition like if USER_COUNTRY = 'XXX' then the data need to be updated in the destination side else skip ...
    I wrote the procedure ..below .. the data is not replicating and found the below error from dba_apply_error..
    ORA-01403: no data found
    ORA-06512: at "SYS.LCR$_ROW_RECORD", line 419
    Table called history_row_lcrs is created in the strmadmin to store the lcr values...
    CREATE OR REPLACE PROCEDURE proc_test(in_any sys.anydata)IS
    lcr sys.lcr$_row_record;
    rc pls_integer;
    v_type varchar2(20);
    col_1 sys.anydata;
    lcr_usercountry varchar2(20);
    TRANS varchar2(20);
    skip_routine Exception;
    BEGIN
    rc:=in_any.GetObject(lcr);
    v_type:=lcr.get_command_type();
    col_1:=lcr.get_value('NEW','USER_COUNTRY');
    rc:=col_1.GetVarchar2(lcr_usercountry);
    for x in ( select user_country from TEST.TESTREP1
    where USER_COUNTRY=lcr_usercountry)
    Loop
    IF (x.USER_COUNTRY = 'XXX')
    THEN
    insert into strmadmin.history_row_lcrs VALUES (SYSDATE, lcr.GET_SOURCE_DATABASE_NAME(), lcr.GET_COMMAND_TYPE(),
    lcr.GET_OBJECT_OWNER(), lcr.GET_OBJECT_NAME(), lcr.GET_TAG(), lcr.GET_TRANSACTION_ID(), lcr.GET_SCN(),
    lcr.GET_COMMIT_SCN,lcr.GET_VALUES('old'), lcr.GET_VALUES('new', 'n'));
    lcr.EXECUTE(true);
    ELSE
    Raise Skip_routine;
    END IF;
    END Loop;
    Exception
    when skip_routine Then
    null;
    END;
    BEGIN
    DBMS_APPLY_ADM.SET_DML_HANDLER(
    object_name => 'TEST.TESTREP1',
    object_type => 'TABLE',
    operation_name => 'UPDATE',
    error_handler => false,
    user_procedure => 'STRMADMIN.PROC_TEST',
    apply_database_link => NULL,
    apply_name => NULL);
    END;
    Please try to help me if am doing something wrong...because I need to update only one colums am using DML_HANDLER instead of SET_UPDATE_CONFLICT_HANDLER...
    Any other inputs are also appreciated...
    Thanks In Advance and appreciate for the quick reply...

    I fired the query, am not getting any output from dbms_output.put_line('..|USER_COUNTRY..');
    Is that no data is reading or may be any reason else..
    in this table store_id is the primary key ..
    SQL> set serveroutput on
    SQL> CREATE OR REPLACE PROCEDURE test(in_any sys.anydata) IS
    2 lcr sys.lcr$_row_record;
    3 rc pls_integer;
    4 v_type varchar2(20);
    5 col_1 sys.anydata;
    6 col_2 sys.anydata;
    7 lcr_usercountry varchar2(20);
    8 lcr_storeid number;
    9 TRANS varchar2(20);
    10 store_id number;
    11 USER_COUNTRY varchar2(20);
    12
    13 BEGIN
    14 rc:=in_any.GetObject(lcr);
    15 v_type:=lcr.get_command_type();
    16 col_1:=lcr.get_value('NEW','USER_COUNTRY');
    17 rc:=col_1.GetVarchar2(lcr_usercountry);
    18 col_2:=lcr.get_value('NEW','STORE_ID');
    19 rc:=col_2.getnumber(lcr_storeid);
    20 select user_country into user_country from dev03.testrep1 where user_country=lcr_usercountry and store_id=lcr_storeid;
    21 dbms_output.put_line('---------||USER_COUNTRY ||-----------');
    22 END;
    23 /
    Procedure created.
    Thanks for your help ....

  • 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

  • R12 AR-Receipt Refund Error:ORA-01403 no data found

    Hi,all
    That apply the receipt to refund and enter the refund attribute all are done well ,while I save it it dispalys a warning message:ORA-01403 no data found.
    Below is the statement message I get from the fndlog_messages_
    ar.plsql.ar_refund_pvt.create_refund     1 Errors found interfacing data to AP ...
    ar.plsql.ar_refund_pvt.create_refund     ACCT DATE NOT IN OPEN PD
    I have checked the AP period that the current period has been opened.,so I' m confused about what the problem is?Does anyone happen to this problem before?
    P.S. Can anyone explain what is the effect of IBY_DISBURSEMENT_SETUP_PUB.create_external_payee during the ar refund process ?
    Regards,
    Chelsea

    Chelesa,
    Certainly the error suggests that this error is related to period either in AR or AP. Take a close look on dates used.
    IBY setup is called to create a party so that AP invoice can be created on that party. If you are refunding the a customer, and you do not want to create a vendor record to create one time refund (create an AP Invoice with the type as Payment Request). Hence this is called to create a party record to create AP invoice. Essentially we do not need a vendor to create an AP invoice using this method.
    Thanks
    Nagamohan

  • 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

  • Error ORA-01403 no data found upgrade database to 10.2.0.3

    Hi,
    I am upgrading a database from 8.1.7.4 to 10.2.0.3. I install the software and i create and configure a new listener. When i am try to execute database upgrading assintant i can see my two databases but when i click one of them, and click next the error appears:
    ORA-01403 no data found
    ORA-06512 at line 1560
    I don´t know the reason.
    Thanks for your help.

    Going by your [earlier thread|http://forums.oracle.com/forums/thread.jspa?threadID=852649&tstart=0], I presume that it is you are now able to connect to a database using the 10.2.0.3 oracle_home.
    Did you run through the pre-upgrade verification steps at the URL provided earlier ?
    If you are encountering an error, surely you can post which script and which procedure is failing ?

Maybe you are looking for

  • Issue with number of replies in collaboration Server

    Hello, We are using the collaboration server 4.02. We are experiencing issues with the collab API or directly with the native explorer. If we create a project, then a discussion, then a message in this discussion and then more than 15 replies a forum

  • How do I replace the contacts on MacBook Air with the contacts on my iPod Touch?

    My main contacts list is on my iPod Touch which I sync with my office iMac.  I want that list of contacts on my MacBook Air at home.  Then I want to put that list on my new iPhone.  It appears that the default is for the contacts on the iPod Touch to

  • Pages:  How can I sort one column of words and not have it affect the other columns?

    How can I sort one column of words and not have it affect the other columns?  I have opened the inspector to the edit columns and rows under Table.  It will sort the column, but then it changes the other colums as well.  I know that if I use Numbers,

  • Cost in Billing document

    Hi all, Pls tell me what is the Cost column in Billing document and what is use? As i know, it relates to internal price, so why it's displayed in billing doc? Thanks,

  • TouchSmart Recipe Box

    For some reason my internet is too slow for me watch videos. I want to know how to add recipes to recipe box. There is no where in the app where I can click that says add recipe. All I can do is look at the very few recipes that came with it. Help!