Strange error when using Automatic Row Processing

Hi All,
I have a page with 2 regions
- first is a form for data entry (4 fields - 2 hidden, 1 LOV, 1 text)
--> 3 buttons - Cancel, Create, Create & Create Another
--> Create branches to next page, Create Another branches back to same page
- second is report of items entered into the form (conditional display)
This all seems to be working, except that when I click either of the buttons, I get this:
Action Processed. -- The success message - so data is inserted
Unexpected error, unable to find item name at application or page level.
Error ERR-1002 Unable to find item ID for item " P31_PIECE_CNT)" in application "122".
And the 'OK' link. When I use the link to go back to the page, the data shows up in the report. So I know that the process is working up until it does the insert, but not sure why I get the error.
Corey
Database Version Information
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
PL/SQL Release 9.2.0.7.0 - Production
CORE 9.2.0.7.0 Production
Product Build: 2.0.0.00.49

All that is saying is that no such page/app item called P31_PIECE_CNT exists in the application and some after-submit component on that page is trying to refer to that item name.

Similar Messages

  • 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

  • Solved: Delete Using Automatic Row Processing

    See Scott's reply below for the answer.
    Hi there,
    I have an application built in APEX 3.0.1 that I would like to be able to use a button to delete a single row from an underlying database table (owned by the parsing schema).
    My APEX page has a 3 HTML regions on it:
    1. Only a Select List and Go button for User selection (of Debit Note)
    2. Ten display Items (Text Field, Disabled saves state) displaying further information about User selection
    3. Conditional Delete button (region with custom image) - only displays when P73_DEBITNOTEID is NOT NULL
    I'd like this button to be used to Delete the Selected Item and thought I'd be able to use a Data Manipulation Page Process - Automatic Row Processing (DML) page process to do this.
    However, when I go through the wizard the Select item containing primary key column value field has no values in the search list.
    My first question is why was there no values in the list?
    So I manually entered the Item I required (P73_DEBITNOTEID) but when I run the page and click the button I get a PL/SQL missing expression error.
    What is the best practice method to do DML actions on the underlying database tables. The tables are all owned by the parsing schema.
    Your help in resolving this matter would be greatly appreciated.
    Kind Regards,
    Gary.

    Gary,
    The DML processes (and the creation wizards for them) are for use with items having source type Database Column. If your page items don't use this source type, then neither the Automated Row Fetch nor the Automatic Row Processesing (DML) process types will work.
    Scott

  • Inserts using Automatic Row Processing (DML)  should not clear cache

    Hi,
    I am using APEX 4.0.1.00.03.
    I created a form on a table for inserts and updates.
    After I do an insert, the Automatic Row Processing (DML) clears cache for all items on the page.
    But the user wants to see the data he inserted without having to query. How can I achieve this?
    Thanks
    Chandra

    There isn't any "reset page" process on my page.
    --Chandra.                                                                                                                                                                                               

  • Connection error when using automatic logon option in connection wizard

    Hi,
    When using the automatic logon option in the connection wizard there is an error that say that the connection cannot be established. If I use the option to type in my credentials then it works fine.
    The user has access privileges in SAP BPC.
    Any suggestions?
    Kind regards,
    Christof

    The installation of BPC server was done with a domain user or with a local user?
    Your windows user is a domain user or a local user?
    I'm asking because it is strange that Windows authentication is not working. It can be or bvecause Windows user is not the same with BPC user. (you can have the same name for user but actually one is local the other one is domain which means different users).
    Also I tsuggest to check into application server of test and prod environment f osoft virtual directory has enable Windows Authentication.
    Regards
    Sorin Radulescu

  • JClient - Strange Behaviour when using multiple-row-selection

    Hi!
    In my application a problem occures whenever I want to select multple rows in a JTable...
    I am using a JTable bound to a ViewObject which displays quite a lot of rows. For further processing I need to select more than one row. So I changed the code the following way:
    table.setModel(JUTableBinding.createAttributeListBinding(panelBinding, table, "SomeView", null, "SomeViewIter", new String[] {"FirstAttribute", "SecondAttribute"}));
    table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
    Basically there are 2 problems:
    Whenever I want to select several rows or intervals by dragging the mouse or by using cursers, older selections disappear.
    When I select rows and then use the scrollbar, all selections but one disappear.
    Is there something wrong in my implementation or is this another bug? That's one of those little things, that make life of developers and end-users hard.
    Any suggestions? Thanks a lot!

    Hi!
    In my application a problem occures whenever I want to select multple rows in a JTable...
    I am using a JTable bound to a ViewObject which displays quite a lot of rows. For further processing I need to select more than one row. So I changed the code the following way:
    table.setModel(JUTableBinding.createAttributeListBinding(panelBinding, table, "SomeView", null, "SomeViewIter", new String[] {"FirstAttribute", "SecondAttribute"}));
    table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);JUTableBinding only works with Single-selection model as it needs to track currency based on the current selection.
    You'd have to implement a custom Table-model that wraps the built-in table model (quite like what's done in the 'table sorting example' at
    http://otn.oracle.com/sample_code/products/jdev/jclient/jclient_table_sorting_sample.html
    Then you may implement multiple selection and fake single selection model (last selected row perhaps) to the JUTableBinding's tableModel.
    Basically there are 2 problems:
    Whenever I want to select several rows or intervals by dragging the mouse or by using cursers, older selections disappear.
    When I select rows and then use the scrollbar, all selections but one disappear.
    Is there something wrong in my implementation or is this another bug? That's one of those little things, that make life of developers and end-users hard.
    Any suggestions? Thanks a lot!

  • Using Automatic Row Processing on an empty table

    I started with a blank form based on a table. I used the wizrd and now have a good looking form with all the fields. However, I get ORA-01403: no data found - Error Unable to fetch row. when the form runs against an empty table.
    How would I avoid that?
    Thx,
    Pete

    Pete - If you run the page by passing a PK value (into a form item) and that value does not locate a row, you'll get that error. Make sure the item's type is Database Column and that its Source Used attribute is "Always, ...".
    Scott

  • Strange errors when using user defined function in where clause

    Hello,
    I am having trouble with a function that, when used in the where clause of a select will cause an error if the first column selected is of type INTEGER. Not sure whether I am doing something wrong or whether this is a bug.
    Here is a very simple test case:
    create table test(
    col1 integer not null,
    col2 varchar(20) ascii default ''
    insert into test values(1,'2011-03-15 05:00:00')
    insert into test values(2,'2011-03-15 07:00:00')
    CREATE FUNCTION BTR_TAG  RETURNS VARCHAR AS
        VAR ret VARCHAR(20);
      SET ret='2011-03-15 06:00:00';
      RETURN ret;
    Select * from test where col2 >= BTR_TAG()
    Select col1,col2 from test where col2 >= BTR_TAG()
    =>  Error in assignment;-3016 POS(1) Invalid numeric constant
    Select '',* from test where col2 >= BTR_TAG()
    Select col2,col1 from test where col2 >= BTR_TAG()
    => works as it should
    MaxDB V 7.7.07.16 running on Windows Server 2003
    I can replicated the test case above with Sql Studio and other ODBC based tools.
    Thanks in advance,
    Silke Arnswald

    Hello Siva,
    sorry, but I don't understand your reply:
    This is not right forum to posting this question.
    You are from which module or working any 3rd party application.
    MaxDB 7.7.07.16 is the community version of MaxDb,
    we are not using it for SAP
    and no 3rd party software is required to reproduce my problem,
    Sql Studio or Database Studio will do.
    Regards,
    Silke Arnswald

  • Error when using automatic clearing (F.13)with foreign currency valuation.

    Hello all
    below is our problem, please suggest us a solution
    We are experiencing a problem when running the automatic clearing in SAP. Somehow, the system seems to clear (with no reason) open items created with the revaluation of foreign currency.
    Let's say that we run the valuation of open items in foreign currency for December 31, and we run the program to post the reverse entry as of  January 1 of the next year. As a result of this valuation, the system calculates a loss of 10 euros. Therefore, it posts a document with a debit entry of 10 into the Loss account, and a credit of 10 in to account where the valuation was carried out. This document has a posting date of December 31. The batch program also creates the reversing entry, this time a credit entry into the Loss account, and a debit into the original account.
    If now, we try to run the automatic clearing (F,13) on December 31 for those accounts, the system will create (automatically) a document on December 31, similar to the reversing entry that the valuation created, clearing at the same time, the first document that the valuation originally created.
    The final result then is that the valuation makes a posting, and we end up having two reversing entries. Does it make sense?
    In our scenario in the system P70, for MX10, we have a foreign currency valuation run on December 31st, which posted the document numbers:
    1)  5100004579/2008, for a total of  0 euros, and 240,483.17 MXN. Credit to account 11081108 Finavigate cash receipt bank collect.CMG MXN.Debit to account 18601000 Losses f.foreign curr.valuation on financial trans
    2) In the same batch, the system also books a reversing entry (doc 5100000042/2009) with posting date 01.01.2009 with exactly the same opposite entries as in the previous document.
    3) After this, we run the automatic clearing with posting date 31.12.2008, and now, the system creates automatically the document 5000003236/2008, which clear the original document, 5100004579.
    The final result, as you can see, it's out of balance, there is an additional document that we need to reverse.
    Thanks in advance
    sujatha

    To my knowledge you get do two things:
    1. In F.13 transaction don't include both the GL accounts where the Dr. and Cr. posting from the valuation run have taken place. With this the system won't find the matching entry.
    2. If you want to use all the GL accounts in F.13, then check the clearing procedure configuration and make suitable changes.
    With the info provided, this is the only thing I can suggest.
    Regards,
    ~Vishal.

  • Strange error when using RH11 to convert .dita files to .html

    I am trying to use RH11 to convert a bunch of .dita files to .html, but so far have had no success.  I have DitaOT installed in my program folders.
    I've been opening robohelp, selecting new project -> import -> ditamap file.  select the ditamap to use, create a new folder for the project, hit next.
    In the replace default XSLT file for conversion field, I put in the dita2html-base.xsl file.
    In the DITA Open Toolkit home directory field, I navigate to the location of the DitaOT root folder, select it, and click finish.
    When I click, finish, robohelp almost immediately gives me an error message saying "No error occurred", leading me to believe that I filled out all of the required fields correctly, but when I check the output folder I created, it is empty.
    Any tips on things to try/ what I should change would be very appreciated (or if i'm trying to force RH to do something that it isn't normally able to do, that would be appreciated as well).

    Can anyone show me how to do the translation extraction in this OAF version?

  • Strange Error when using UIXIterator

    I am using JDeveloper 11.1.2.3.0 and wanted to enabled paging using UIXIterator component from this library org.apache.myfaces.trinidad.component.UIXIterator.
    Added reference to Trinidad tags libs and libraries.
    The code compiles fine with no errors or warnings.
    I am getting deployment error to Weblogic Server.
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.controller.util.LogUtils
    I've tried everything but the error is still there.
    I also tried suggestions from this thread:
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2291414
    Still did not help.
    Please help
    Mikhail
    Edited by: mike621062 on Jun 5, 2013 7:49 AM

    All that is saying is that no such page/app item called P31_PIECE_CNT exists in the application and some after-submit component on that page is trying to refer to that item name.

  • Strange error when using the ParserAdapter class

    Hi Gurus:
    in my app,
    i created a ParserAdapter class
    ParserAdapter pa = new ParserAdapter();
    Then I set the ContentHandler and ErrorHandler
    pa.setContentHandler(ContentHandeler ch);
    pa.setErrorHandler(ErroHandler er);
    and in my main() I have
    String xmlFile = "file:///c:/test.xml"; (this is the URL of the xml file i want to parse)
    then I call pa.parse(xmlFile);
    and I get the following exception
    org.xml.sax.SAXException:
    System property "org.xml.sax.parser" not specified
    Can someone please tell me what i did wrong? I check my xml and its dtd, they are both fine
    Any help would be greatly appreciated, thanks

    Try setting the property .e.g
    System.setProperty("org.xml.sax.parser","<QualifiedpathToYourParser>");

  • Automatic Row Processing using Apex?

    Hi All,
    I am in build forms in apex during that scenerio i am creating the Process as "Automatic Row Processing (DML) but it is not working.. Or in other words assume that in form i have 5 text items and a button.. Now when i give empno and clik on button.. the deatils should be fecthed for that empno deatils using "Automatic Row Processing".
    I have tried in google but i am not able to get the any proper way to resolve it..Can anybody help me out to resolve it..or if any links which may help me to find out the solution..
    Thanks,
    Anoo..

    Yes..I have done.. but the problem is some times it is fetching and at all. So i thought to have a clear idea for fetching the data through Automatic fetch process..
    -Anoo..

  • Are 'read only' items causing my automatic row processing to fail?

    I have a form that uses automatic row processing to update my table.
    I recently had to add a check to lock down the fields using the read only condition where a record has been 'approved'. So, I turned off all of the fields and hid the update button.
    Now they want me to check to see if the user is a manager, and if so, allow them to see the update button, and make a single field on the form modifiable.
    I have the user identified as a manager, and can make the field accept the change (a yes/no combo box). Yet when they click the update button, the form just sits there. A branch is supposed to fire on hitting that button, taking them back to the previous report, but it doesn't happen. The source of the combo box in question uses a column on the table, and works fine when the form has all of the fields showing for modification.
    I had some validations that I finally set to never fire, thinking that they were failing and just not giving the error messages. I know a bad sql or pl/sql atatement in a validation will cause the form to just keep sitting there doing nothing, and thought it might help.
    Several of the various fields are combo boxes, several are text boxes.
    I'm stumped.
    Shall I keep the regular update button hidden whether it is a manager or not (because it has been 'approved'), and enable a new button that fires off a process to update the one field that the manager may want to change? Does making a field 'read only' always have a detrimental effect on the auto processes I've been counting on? Is that if fact what is happening now?
    Thanks in advance for any advice or comments on this.
    Clayton

    Hi, Scott.
    My version is 3.0.0.00.20
    I have received info to set up the application, though I have not activated it as yet. I'm reluctant to try to load up the various tables to make it work. It could be done.
    My workaround is to that the user (a manager) fires off to another form to show an individual record, and ask if he/she really wants to make this change. On submit, they will be taken back to the original locked down form, and I will update the single field in that process of returning them. This will actually be a plus, in that I expect to show them all of the 'duplicate' entries for that item, and show them that by 'activating' this particular item, they will 'deactivate' the one duplicate that is currently active. Or, if they are deactivating the sole item that is active, that there will in fact be no active items in the system. Convoluted as heck, but they swear this is how they've been doing business with their briefcases and file cabinets of Excel files. I'm surprise they even float at this point (these are ships we're talking about).
    This all may be due to the form originally having a next/previous/count process once arrived at my clicking on the edit button of the report of items. All of that has been hidden away, and though the fields exist of the form, they are not used. They only see the current item that they clicked on from the report.
    I read up a little on session state, as well as posts with the debug error I was getting. I'm still not on board with the whole issue of 'state'. Items stay as they are until they're changed, no? I suppose that sounds simplistic.
    One of the things that caught my eye was several combo box lists that on read only mode, showed [] square brackets. Which, in some cases is okay.
    What I'll try to do is set up a public application - for future use if nothing else. I'm going to be working on this for awhile. I have more than a bit of work to do to cleanse the data as well as get rid of the single sign on requirement (I'll assume that I should have to do this) in order to share the app.
    I know you're expecting me to have this up and running for you to look at, but I'm under the gun. And they actually like my workaround.
    I'll keep everybody informed, one way or another.
    Clayton

  • Automatic Row Processing?

    Hi,
    I have a requirement to create forms that insert into multiple tables and returns items from multiple tables. What are my options? Can I still use automatic row processing and fetching?
    Thanks in advance.

    create multiple regiions embedded with different table

Maybe you are looking for