Pb importing already-existing pages - ORA-01403: no data found

Hi,
I get an issue when trying to import a page already existing on my target environment.
The problem does not occur during the import, but when trying to edit the page, once imported.
I get the following error message:
Error: ORA-01403: no data found
Note that this problem does not appear if I export/import the entire pagegroup, but only when exporting/importing
one or several pages independently.
Thanks for your help,
Best Regards,
Jean-Christophe

WWV_FLOW_FILES is a view that will show different data based on which schema you are working in. If you do a:
select * from wwv_flow_files
from within the schema you are developing in are you seeing any data?

Similar Messages

  • Import job failes with ORA-01403: no data found ORA-06512: at "SYSMAN.MGMT

    Hello everyone,
    I need a help on importing data from a schema in server 1 to the same schema in server 2 via network link. I receive following error when I try to submit a job on Enterprise Manager:
    Import Submit Failed
    ORA-01403: no data found ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 5806 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 7812 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 8608 ORA-01403: no data found ORA-06512: at "SYSMAN.MGMT_JOBS", line 273 ORA-06512: at "SYSMAN.MGMT_JOBS", line 86 ORA-06512: at line 1
    Sql of the job:
    declare
    h1 NUMBER;
    begin
    h1 := dbms_datapump.open (operation => 'IMPORT', job_mode => 'FULL', remote_link => 'B_PROD_LINK', job_name => 'BIMPORTFRMPRDTORPT4', version => 'COMPATIBLE');
    dbms_datapump.set_parallel(handle => h1, degree => 1);
    dbms_datapump.add_file(handle => h1, filename => 'IMPORT.LOG', directory => 'DATA_PUMP_DIR', filetype => 3);
    dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
    dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
    dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
    dbms_datapump.set_parameter(handle => h1, name => 'REUSE_DATAFILES', value => 0);
    dbms_datapump.set_parameter(handle => h1, name => 'TABLE_EXISTS_ACTION', value => 'TRUNCATE');
    dbms_datapump.set_parameter(handle => h1, name => 'SKIP_UNUSABLE_INDEXES', value => 0);
    dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
    dbms_datapump.detach(handle => h1);
    end;
    It says network link is active when I test the network link to make sure its connectivity. I create the network link as a system account. I'm trying to do an import from an Oracle database 10.2.0.2 to 11.2.0.1. My 10g database is on ms windows 2003x64 while my 11g database is on OEL 5.4x64.
    What should I do for now?
    Thank you.
    Edited by: user12144220 on Nov 4, 2012 5:02 AM

    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

  • 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

  • Urgent: ORA-01403: no data found Error during Order Import

    Hi Experts,
    I 'am performing order import by populating the order interface tables and then running the order import concurrent program. I 'am encountering the following error while running the order import program:
    No. of orders failed: 1
    "*ora-01403: no data found in package oe_order_pvt procedure lines*"
    Can anyone please provide some pointers on why this is occurring and how this can be overcome. Any pointers on this will be immensely helpful.
    Thanks,
    Ganapathi

    Hi Nagamohan,
    Thanks for your response. I tried calling mo_global.set_policy_context('S', <org_id>) before invoking the concurrent program using fnd_request.submit_request(...); But, this still does n't seem to prevent the No data found issue.
    One more thing that I noticed is, this is happening while importing the customer along with the order. I 've ensured that I use the same org_id for the customer data as well. Can you please let me know whether there is anything else that I should check for.
    Thanks,
    Ganapathi

  • 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

  • Misterious "ORA-01403: no data found" error

    Hi,
    I've been searching through the forum and the Internet with no results, so I'm posting here hoping you can help me.
    Here is the situation: I had a page 30 with a tree branching to a form on a view.This worked fine until one day that suddenly, we got the "ORA-01403: no data found" error when loading the page. I guess that's normal, since the form shows the data filtered in the tree (in the tree we click on an element and pass its ROWID to the form), and when we load the page no ROWID is selected. So, the first question would be, how can I manage this situation? My first option was to have a condition in the Automatic Fetch for the Form, so that it's executed only when the ROWID item is not null. It worked a couple of times. After a while, it crashed again.
    Tired of trying things, we decided to copy this page 30 to another page (page #80). Surprisingly, page #80 worked meanwhile #30 crashed. And they are completely the same, the data has not changed either.
    Could it be that page #30 somehow is corrupted? It's really strange that the same exact copy of the page works with one ID but not with another one.
    Has someone experienced this situation? it makes me feel like the app is unsecure and unstable. Any ideas, please?
    Apex version: 4.1.1 on APEX listener.
    Thanks,
    Elena.

    fac586 wrote:
    Elena.mtc wrote:
    Thanks for your response. The form is a single row (a form on a table or view). Here is what I've found out thanks to your tips:
    It affects to all the three users that I have access with.Try it with a new user that has never accessed the page before.
    I used the debug mode (new to me, so I'm kind of slow on this, still) and wrote an exception message on the Automatic Fetch Row and I managed to know the ROWID that the fetch process is using in the where clause. Of course this ROWID does not exist in the table, so the first question that comes to my mind is "how come and from where is the page getting this ROWID?". I don't know and can't comment because I can't see the app. ;-)
    If the ROWID is stored in an item, check the Maintain session state property isn't set to Per User.I changed this and seemed to work. But it crashed later. I made a computation process to set to null the rowid's when loading the page. After reset, I deleted the computations (due to application functionality) and it worked. However, I do not trust this page anymore. So we created a new fresh app and copied this page. Luckily we are on development environment :)
    >
    So, I made a computation to initialize to null the item that saves the ROWID, and now it worked.
    This page that I'm testing on is #30, but the valid page is #80 (it has changes made on the look and feel of the page). So, I deleted page #30, and copied page #80 (which works perfectly) into #30. And it crashes again (obvius, since it doesn't have the computation that gives null to the rowid item). What's "interesting" is that I still see the exception message I wrote in the older version of page #30. So, it seems that some values need to be purged and that the delete is not clean, but how? I'm not entirely clear on what you've been doing there, but it does indeed all sound rather odd.
    I suspect that you wouldn't be able to reproduce this problem on apex.oracle.com. However, it would probably be helpful if you could upload the app and provide developer credentials to the workspace so we could see how it works and if there's anything obvious (or not) that might cause this problem.Unluckily I cannot do this. Thank you anyway for the help, it's hard to explain when something so weird happens.
    Thanks!
    Elena.

  • ORA-01403: no data found error (given by edit link of APEX-made form)

    Hello!
    I am a newbie in apex, so please forgive me if my question is stupid or obvious. I got a bit confused because of a problem, and I really hope that you professionals can give me some clues of where could I begin the elimination of this error.
    I made a report and a form in another page with APEX's tool Add Form/Report and Form. The report shows a full table, and the rows of the table are editable. However, I have rows which I can't edit because APEX gives me the following error:
    ORA-01403: no data found
    Error Unable to fetch row.
    Not all rows do this, but I have a few that do. Of course the report shows them, so I think they must exist. I didn't change anything special on the APEX-made items or processes.
    I thought that the problem could be with my data, but I couldn't see anything weird in that rows.
    Does anyone have an idea of what can this be caused by? I have APEX 2.1.0.00.39.
    Thanks,
    Eszter

    Hi Andy,
    Thank you very much for your time!
    The fields in the form are all right. The fields get filled in perfectly in most of the cases, only those few rows don't :(
    However, now that you wrote of the process of row fetching, I think that maybe I have an idea of what is happening. My table has two primary keys (two fields together make the primary key, I don't know how it's called in English), one of them is a date. (I know that this is quite a bad practice, but, much to my regret, I cannot change it.) Now, this date is in YY-MON-DD format, which is used by my language.
    One of this dates is from 1800's. As my report shows it, the year gets truncated to the last two character. APEX passes this value into the field of the form using varchar2, and when it tries to cast it back to YY-MON-DD format, then it supposes it's from 1900's instead of 1800's. With 19xx however it doesn't find my field.
    Does this sound logical? It seems logical to me, but I am a beginner... :(
    Still, if this is the core of the problem, it's most possibly not the only problem, because I have dates from 19xx which can't identify their rows... But I am suspicious because of these date things. If you have any idea then please let me know.
    Thanks,
    Eszter

  • ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate

    ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate a form.
    1) Created a FORM on EMP using the wizards. This creates an AUTOMATIC ROW FETCH
    TABLE NAME - EMP
    Item Containing PRIMARY KEY - P2099_EMPNO
    Primary key column - EMPNO
    By default the automatic fetch has a ‘Process Error Message’ of ‘Unable to fetch row.’
    2) Created a HTML region. Within this region add
    text item P2099_FIND_EMPNO
    Button GET_EMP to submit
    Branch Modified the conditional branch created during button creation to set P2099_EMPNO with &P2099_FIND_EMPNO.
    If I then run the page, enter an existing employee number into P2099_EMPNO and press the GET_EMP button the form is populated correctly. But if I enter an employee that does not exist then I get the oracle error ORA-01403: no data found and no form displayed but a message at the top of the page ‘Action Processed’.I was expecting a blank form to be displayed with the message ‘Unable to fetch row.’
    I can work around this by making the automated fetch conditional so that it checks the row exists first. Modify the Fetch row from EMP automated fetch so that it is conditional
    EXIST (SQL query returns at least one row)
    select 'x'
    from EMP
    where EMPNO = :P2099_EMPNO
    But this means that when the employee exists I must be fetching from the DB twice, once for the condition and then again for the actual row fetch.
    Rather than the above work around is there something I can change so I don’t get the Oracle error? I’m now wondering if the automatic row fetch is only supposed to be used when linking a report to a form and that I should be writing the fetch process manually. The reason I haven’t at the moment is I’m trying to stick with the automatic wizard generation as much as I can.
    Any ideas?
    Thanks Pete

    Hi Mike,
    I've tried doing that but it doesn't seem to make any difference. If I turn debug on it shows below.
    0.05: Computation point: AFTER_HEADER
    0.05: Processing point: AFTER_HEADER
    0.05: ...Process "Fetch Row from EMP": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:EMP:P2099_EMPNO:EMPNO
    0.05: Show ERROR page...
    0.05: Performing rollback...
    0.05: Processing point: AFTER_ERROR_HEADER
    I don't really wan't the error page, either nothing with the form not being populated or a message at the top of the page.
    Thanks Pete

  • Create_collection_from_query: ORA-01403: no data found

    Hi All,
    I am trying to create a collection from a query that queries another collection in an anonymous block/process that executes upon page load in APEX. Right now my query is set up as such:
    v_Query := 'Select * from apex_collections where collection_name = ''NAME'' and c002= ''' || v_Variable || '''';
    v_Variable is passed in the URL that links the page and will be used to create a dynamically generated tree. I have verified that data exists in the source collection that satisfies this query, and that the query that spits out is formatted so that it looks like:
    Select * from apex_collections where collection_name = 'NAME' and c002 = 'Criteria'
    Much to my chagrin, however, I always get a "ORA-01403: no data found" error. I have done all of my testing in the APEX SQLWorkshop with zero luck so far getting it to work. Any help is appreciated. The entire block of code that im running is below:
    Thanks!!
    Sean
    DECLARE
    v_detail TsaOrgEntity_type;
    v_entity TsaOrgEntity_type;
    v_i number;
    v_multi MultiString_type;
    v_name varchar2(4000);
    v_text varchar2(4000);
    v_type varchar2(4000);
    v_Parent varchar2(4000);
    v_Prefix varchar2(4000);
    v_First varchar2(4000);
    v_Second varchar2(4000);
    v_id varchar2(4000);
    v_pid varchar2(4000);
    v_org TsaOrgEntity_type;
    v_code varchar2(4000);
    BEGIN
    v_prefix := '<a href="f?p=1000:6:' || :app_session || ':::6:P6_OrgEntity,P6_OrgName:';
    apex_collection.create_or_truncate_collection('ORGCODES');
    apex_collection.add_member('ORGCODES','TSA','TA5000000000000000','','');
    v_org := tsaorgentity_type('organization');
    v_org.search(v_prefix);
    FOR i IN 1..apex_collection.collection_member_count('ORGENTITY_RESULTSET') LOOP
      SELECT c002 INTO v_Name FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      SELECT c011 INTO v_Code FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      SELECT c001 into v_Type FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      v_parent := ParentOrgID(v_Code);
      apex_collection.add_member('ORGCODES',v_Name,v_Code,v_Type,v_Parent);
    END LOOP;
    v_org := tsaorgentity_type('department');
    v_org.search(v_prefix);
    FOR i IN 1..apex_collection.collection_member_count('ORGENTITY_RESULTSET') LOOP
      SELECT c003 INTO v_Name FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      SELECT c011 INTO v_Code FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      SELECT c001 into v_Type FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      v_parent := ParentOrgID(v_Code);
      apex_collection.add_member('ORGCODES',v_Name,v_Code,v_Type,v_Parent);
    END LOOP;
    v_org := tsaorgentity_type('subdpt');
    v_org.search(v_prefix);
    FOR i IN 1..apex_collection.collection_member_count('ORGENTITY_RESULTSET') LOOP
      SELECT c003 INTO v_Name FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      SELECT c011 INTO v_Code FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      SELECT c001 into v_Type FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      v_parent := ParentOrgID(v_Code);
      apex_collection.add_member('ORGCODES',v_Name,v_Code,v_Type,v_Parent);
    END LOOP;
    v_org := tsaorgentity_type('port');
    v_org.search(v_prefix);
    FOR i IN 1..apex_collection.collection_member_count('ORGENTITY_RESULTSET') LOOP
      SELECT c002 INTO v_Name FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      SELECT c008 INTO v_Code FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      SELECT c001 into v_Type FROM apex_collections where collection_name = 'ORGENTITY_RESULTSET' AND seq_id = i;
      v_parent := ParentOrgID(v_Code);
      apex_collection.add_member('ORGCODES',v_Name,v_Code,v_Type,v_Parent);
    END LOOP;
    END;
    DECLARE
      v_detail  TsaOrgEntity_type;
      v_entity  TsaOrgEntity_type;
      v_i       number;
      v_multi   MultiString_type;
      v_name    varchar2(4000);
      v_text    varchar2(4000);
      v_type    varchar2(4000);
      v_Parent  varchar2(4000);
      v_Prefix  varchar2(4000);
      v_First   varchar2(4000);
      v_Second  varchar2(4000);
      v_id      varchar2(4000);
      v_pid     varchar2(4000);
      v_org     TsaOrgEntity_type;
      v_code    varchar2(4000);
    BEGIN
    v_entity := TsaOrgEntity_type('department', 'Security Technology');
    v_entity.detail(v_detail);
    v_Pid := ParentOrgID(v_detail.multistring2varchar(v_detail.get_organizationcode));
    v_ID := v_detail.multistring2varchar(v_detail.get_organizationcode);
    v_First := 'Select * from apex_collections where collection_name = ''ORGCODES'' and c002 = ''TA6200000000000000'' ';
    v_Second := 'Select * from apex_collections where collection_name = ''ORGCODES'' and c004 = ''TA6202000000000000'' ';
    IF apex_collection.collection_exists('FIRST') = TRUE THEN
      apex_collection.delete_collection('FIRST');
    END IF;
    IF apex_collection.collection_exists('SECOND') = TRUE THEN
      apex_collection.delete_collection('SECOND');
    END IF;
    apex_collection.create_collection_from_query_b('FIRST',v_First);
    apex_collection.create_collection_from_query_b('SECOND',v_Second);
    apex_collection.create_or_truncate_collection('BLUETREE');
    IF apex_collection.collection_member_count('FIRST') > 0 THEN
      FOR i in 1..apex_collection.collection_member_count('FIRST') LOOP
        SELECT c001 INTO v_Name from apex_collections where collection_name = 'FIRST' and seq_id = i;
        SELECT c003 INTO v_Type from apex_collections where collection_name = 'FIRST' and seq_id = i;
        SELECT c002 INTO v_ID from apex_collections where collection_name = 'FIRST' and seq_id = i;
        SELECT c004 INTO v_ID from apex_collections where collection_name = 'FIRST' and seq_id = i;
        v_Name := '<a href=f?p=1000:6:'||':::6:P6_OrgEntity,P6_OrgName:'
    || v_Type
    ||','
    || v_Name
    || '">'
    || v_Name
    || '</a>';
    apex_collection.add_member('BLUETREE',v_Name,v_ID,v_PID);
    END LOOP;
    END IF;
    IF apex_collection.collection_member_count('SECOND') > 0 THEN
    FOR i in 1..apex_collection.collection_member_count('SECOND') LOOP
    SELECT c001 INTO v_Name from apex_collections where collection_name = 'FIRST' and seq_id = i;
    SELECT c003 INTO v_Type from apex_collections where collection_name = 'FIRST' and seq_id = i;
    SELECT c002 INTO v_ID from apex_collections where collection_name = 'FIRST' and seq_id = i;
    SELECT c004 INTO v_ID from apex_collections where collection_name = 'FIRST' and seq_id = i;
    v_Name := '<a href="f?p=1000:6:'
    ||':::6:P6_OrgEntity,P6_OrgName:'
    || v_Type
    ||','
    || v_Name
    || '">'
    || v_Name
    || '</a>';
    apex_collection.add_member('BLUETREE',v_Name,v_ID,v_PID);
    END LOOP;
    END IF;
    apex_collection.add_member('BLUETREE',v_detail.get_cn(),v_detail.multistring2varchar(v_detail.get_organizationcode),ParentOrgID(v_detail.multistring2varchar(v_detail.get_Organizationcode)));
    apex_collection.add_member('BLUETREE','TSA','TA5000000000000000','','');
    dbms_output.put_line(v_First);
    dbms_output.put_line(V_Second);
    END;

    Hi Ricardo,
    You appear to be missing a comma after the column
    nome_objeto in your query string.
    Regards
    AndreHi Andre
    Thank you for your help.
    I copied the source wrong. The error is the same. I read an example in book EASY HTMLDB where i can create a region using a select on apex_collections table. I want to do this.
    Regards
    Ricardo

  • REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found

    Hi guys,
    I am getting error 'REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found ' when run the report
    and i m also use formula column in my report.
    can any body help me why it's coming.
    following code is used in formula column plz check and verify:
    function CF_3Formula return Char is
    T1 VARCHAR2(100);
    begin
    SELECT
         VAT_REG_NO INTO T1
    FROM
         JA_IN_HR_ORGANIZATION_UNITS JIHOU,
         HR_LOCATIONS HL--,
         --MTL_TXN_REQUEST_HEADERS MTLH
    WHERE
    JIHOU.ORGANIZATION_ID=HL.INVENTORY_ORGANIZATION_ID AND
    JIHOU.LOCATION_ID=HL.LOCATION_ID AND
    --Jihou.ORGANIZATION_ID = Mtlh.Organization_Id AND
    -- Hl.INVENTORY_ORGANIZATION_ID =Mtlh.Organization_Id AND
    -- MTLH.ATTRIBUTE10=SUBSTR(HL.LOCATION_CODE,1,3) AND
    SUBSTR(HL.LOCATION_CODE,1,3)= :TO_ORG1 ;
    RETURN (T1);
    end;
    plz help me out.

    Hi;
    What is EBS version? Is it custom report or not?
    See below which is mention similar errors
    Autoinvoice Error: ORA-1403: no data found [ID 1209403.1]
    APXIIMPT - Payable Open Interface Import Fails on "REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred. ORA-01403: no data found" [ID 222058.1]
    Regard
    Helios

  • PLSQL function body returning an sql report returns ORA-01403 No Data Found

    I am on APEX 3.1.2.00.02 and Oracle 10g.
    I am developing a report with SQL Query (PL/SQL function body returning SQL query) type. But on running the report I am getting
    report error:
    ORA-01403: no data found
    Region Source
    declare
      qry varchar2(32767);
    begin
      --Procedure call
      my_pkg.get_query(qry);
      htp.p(qry);
      return /*select 1 from dual */ qry;
    end;
    Procedure
    PROCEDURE get_query (V_QRY OUT VARCHAR2)
    IS
      qry varchar2(32767);
    begin
      qry := ' select name
         , max(decode(to_char(service_date,''Mon-YY''), ''Jan-09'', value, null)) as "Jan-09"
         , max(decode(to_char(service_date,''Mon-YY''), ''Jan-09'', value, null)) as "Feb-09"
         from MY_TABLE
         group by name ';
      V_QRY := qry;
    end;
    The query will be enhanced later to add more months and year based on user parameters once I am successfull in running report on this.
    I wish to use Query Specific Column names. I have seen this suggestion from Scott in a number of threads to use /*select 1 from dual */ with query but not working in my case.
    Can someone please suggest what can I do to make it working?
    Regards,
    Amir

    Firstly, have you unit tested the procedure (namely, within the SQL Workshop, SQL*Plus, SQL Developer,etc, etc.) to see if it produces the right output in the first place?
    If you have, and the query string generated is valid, try assigning the output to a page item (thus allowing you to view it in the session browser) or even pass the procedure output into the debug window (with the use of the wwv_flow.debug function). This might reveal some state or session change which is causing it not to return.You might find this easier to achieve if you change from a 'procedure and out parameter' combination to a 'function returning string' approach.
    Alternatively, try re-creating the report in a new region - occasionally I've come across weird bugs with report regions which resolved themselves in this manner.

  • Problem with new DB app, report+form, report works great, form says ORA-01403: no data found

    I have a new table, the PK is a varchar2(5) column, when I allow the default query in the report to do its work, I get all the expected data.  when I click on the edit icon (pencil), I get an error screen indicating ORA-01403: no data found.  I'm hosed!  This was generated by the app!  no changes were made to anything in the app, except to turn off tabs at create time.  I even left the default name.
    My ARF is hitting the right table with the PK column, but finds nothing.  I have the "success" message showing me the PK value.  What could be going on here, and how can it be addressed?  Today is the 1st time I have seen this matter.
    I'm running 4.22 as the workspace admin, I have other apps that work fine (to expectation), my browser is FF22, though I plan a downgrade to 18.  Our DB is 11.1.0.7.

    Jorge, thanks for your attention to my problem, I appreciate any insights, although there is a little clarification I can offer.  Also, if you can, please remind me the tags to use in my text that would properly set off the code snippets or prior message content?
    [you wrote]
    You said you have a "success" message showing you the PK value. Can you elaborate on this?
    The form page, under the ARF, allows for the display of a "success" message and a "failure" message.  I have seen my "success" message appear, but it didn't show my key field as a brought-back value (which I told it to include), and I think now this is not relevant any longer.  I found that there was a link on the report attributes page between #ROWID# and a P2_ROWID that was incorrect (probably from an earlier stage of dev in the app), and I changed this to my key field, and this altered the outcome of the ARF action.  This leads to ....
    [you wrote]
    Can you see the correct PK value in the URL? Does the item parameter match what you expect (correct page item and value)? Perhaps share that full URL here?
    I have expected values in my URL.  The URL does show my key value (tail end of URL underlined here):
    ../apex/f?p=120:2:7519563874482::NO::P2_VCODE:RB15
    [you wrote]
    Debug the page and see which process, item or step is actually failing. You could be running some other process on the form page and that could be what actually fails.  Treat it as if the ARF works correctly and see what else could be happening.
    I can add the detail that my 1st message was based on testing with a table where I set the PK as data type VARCHAR2, but in more testing on the actual app (whose URL piece is above) I am using a PK which is CHAR.
    The result of the debug effort is that APEX has built its own query for pulling back the row in the ARF, and it is joining on my PK field to an APEX item P_ROWID which I don't think I created.  Nor does it appear to offer me any avenue for correcting it.    debug snippet:    where "VCODE" = :p_rowid; end;

  • Exception occured during invocation of JCA binding ORA-01403: no data found ORA-06512: at line 1

    Dear Legends,
    My requirement is to call store procedure from BPEL. So for I created a BPEL with 2 assign activity and 1 Invoke activity to Invoke the DB adapter. After Deploying I tested the process but it shows the following error:
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DB_SBL_SPROCS1' failed due to: Interaction processing error.
    Error while processing the execution of the SIEBEL.PORTAL_SPROCS.ACP_CONREGISTRATIONLOOKUP_WRAP API interaction.
    An error occurred while processing the interaction for invoking the SIEBEL.PORTAL_SPROCS.ACP_CONREGISTRATIONLOOKUP_WRAP API. Cause: java.sql.SQLException: ORA-01403: no data found
    ORA-06512: at line 1
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD.  This exception is considered not retriable, likely due to a modelling mistake.  To classify it as retriable instead add property nonRetriableErrorCodes with value "-1403" to your deployment descriptor (i.e. weblogic-ra.xml).  To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff.  All properties are integers.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary></part><part name="detail"><detail>ORA-01403: no data found
    ORA-06512: at line 1
    </detail></part><part name="code"><code>1403</code></part></bindingFault></bpelFault></fault><faultType>
    <message>0</message></faultType></messages></details></event><event sid="BpPrc0.1" cat="2" n="16" date="2013-08-08T05:39:39.121-04:00" type="4"><message>"BPELFault" has not been caught by a catch block.</message></event><event sid="BpPrc0.1" cat="2" n="17" date="2013-08-08T05:39:39.270-04:00" type="3"><message>The transaction was rolled back. The work performed for bpel instance "960968" was rolled back, but the audit trail has been saved for this instance.If this is a sync request, please resubmit the request from the client. If it is an async request, please recover from the recovery console by resubmitting the invoke message.</message></event></audit-trail>
    What does the above error says?
    1. Whether concern Grant or Execute Privileges is not properly provided to the user?
    2. Is there any Dangling Privileges are prevailing?
    3. Is that the Store Procedure to be Handled with an Error Handling by means of Exception?
    4. Is that I have been giving wrong test data?
    5. Is that No data being existing in the Procedure?
    6. Is that anything related to XA and NON-XA Data Source?
    Any kind of help would be much appreciated. Thanks in Advance.
    Thanks,
    Karthik

    Can you check the following ?
    a. Hopefully the when you execute the procedure using sql tool it works fine and returns data.
    b. Is there any input parameter available for procedure ?
    c. IF yes, is the parameter is mapped with the procedure parameter and populated with value before calling the procedure ?
    d. In the audit trial, you can see from the invoke activity to see whether the parameter is populated with value or not ?
    e. Check the input parameter by executing the procedure with sql tool to see whether this request is receiving any data in return or not ?
    Thanks,
    Vijay

  • ORA-01403: no data found when calling a web service from HTMLDB

    I am working through Section 6 How to Implement a Web Service of the HTML DB 2 Day Developer tutorial. I can get the first example to work but not the second one. I am able to add the web reference and create the form and report. However, when I run the page and click submit, I get ORA-01403: no data found.
    When I test the service, this is what shows in the Message Request:
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <SOAP-ENV:Header><namesp1:Header xmlns:namesp1="http://www.xignite.com/services/"><namesp1:Username xsi:type="xsd:string"></namesp1:Username><namesp1:Password xsi:type="xsd:string"></namesp1:Password><namesp1:Tracer xsi:type="xsd:string"></namesp1:Tracer></namesp1:Header></SOAP-ENV:Header><SOAP-ENV:Body><namesp1:ListFuturesByExchange xmlns:namesp1="http://www.xignite.com/services/"><namesp1:Exchange xsi:type="xsd:string">NYMEX</namesp1:Exchange></namesp1:ListFuturesByExchange></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Nothing shows in the Message Response.
    I have also tried to call a simple web service that I created in .NET. It exhibits the same behavior. I am able to add the reference and create the form. But when I click the submit button, I get ORA-01403: no data found.
    Windows 2000
    HTMLDB 2.0.0.00.49
    Oracle9i 9.2.0.6.0
    Any help will be greatly appreciated.

    I'm having a similar problem!, Although, distressing as it is to observe the lack of response this thread has had for 9 months, I'm still seeking help here!
    I created a web service reference according to the following WSDL : "http://OgAppExpress:[email protected]:5555/invoke/OgAdminUtils.pub:WSDL_HLR" (operation name="getSubscriberInfoByMSISDN") and a form on that web service, all of which went very nicely. But! When I ran the form, inserted the value ("3546933599") into the parameter and pressed submit.... => "ORA-01403: no data found"
    The debug action displays very limited information and sheds no light on the problem :( Multiple attempts, on recreating the project from scratch, have resulted in the same utter failure! Needless to say, this nulls the affect of my Prozac proscription....
    Is there anybody out there who can help me and defend APEX's reputation?

  • Strange problem: ORA-01403: no data found when report has a sort

    Hi,
    I have a report which behaves very strangely but only for one particular user. The report runs fine when no columns are set as sort-by in the report attributes. As soon as I try and set a column to sort (any column, it doesn't matter) this user gets the error message:
    failed to parse SQL query:
    ORA-01403: no data found
    appear where the report should be on the page. The rest of the page displays OK. No other users are affected. If I remove the sort then the report is OK for this user (unsorted though!)
    The report is a structured query with custom column headings, nothing unusual, quite basic. I have tried exporting and reimporting the page but it doesn't fix it. Same behaviour for this particular page in our test system as well.
    I could rebuild the page but I'd rather know what is wrong in case it happens to some other region.
    Thanks,
    Steve

    Steve,
    The reports engine stores the sort settings in the user preferences. This is done so that when you return to a report, it maintains the earlier sort settings. Like in your response to the HTML DB studio posting, you would keep your report sorted by "Created On" descending or ascending even when you come back another time. It's save to remove those preferences; all that's going to happen is that your users will see the report using the report's default settings the next time they go to that page. I will try to investigate this problem further, whatever additional information you can provide, will be helpful,
    Marc

Maybe you are looking for

  • I need to authorize my computer to my itunes account

    i need to authorize my new computer to my itunes account and im not sure how to do that

  • JRE 1.3.0 to JRE 1.4.2 Mouse related changes

    My application developed in JRE 1.3.0 shows quirky behaviour when using JRE 1.4.2 to run. The mouse focus goes to a text box unnecessarily. Was there any event handling change with respect to mouse done between JRE 1.3.0 to JRE 1.4.2? has anyone face

  • Without touching the JSP file

    Hi, I just want to set a text in my browser with bold face from my begin....Display method. say <B>Back></B>. Since i decalare this as a text and using .setvalue() i'm getting it as it is(i.e <B>back</B> in browser o/p. Can u suggest me the solution

  • Urgent Sql Query Problem - -Very Urgent

    Hi Guys, I need a urgent solution for a problem.I am using the following query select ename from emp where deptno =10 Now I will declare a bind variable and if user passes 'A' then the query will run as it is and if he passes B then it should run the

  • How to rearrange page search

    Hi, I have a PDF document where, on one PDF page, there is the equivalent of 4 pages.  In other words, PDF page 1 will contain 4 pages of a real book, PDF page 2 will contain the following 4, etc. If i search for page 2, for instance, PDF will send m