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.

Similar Messages

  • 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

  • Error when use Crystal report Bundled Version with Vs2003 on Windows Vista

    Post Author: MartinoLuccarelli
    CA Forum: .NET
    Hi,  I have developed a software with Vs2003 that uses Crystal report Bundled Version.   I have created a Installation package that include the merge modules,   and i have entered the Licence Key for Crystal_regWiz2003 module.    If i install and use the software in the computer with XP or Windows 2000 I do not have problems.    But when i install the software on the PC with Windows Vista i have this error when the probram show a report "Operazine di Crystal Report non Riuscita perche' non e' stato possibile ottenere una licenza gratuita nel tempo allocato"  Thank's

    Uninstall CRVS2010 that you currently have installed.
    To remove the assemblies from the GAC use gacutil. Google will get you a number of links on how to. Also, see the KB [1535325  - How to remove CRVS2010 Beta 2|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333335333333323335%7D.do].
    Reinstall CRVS2010 SP1 from here:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
    - Ludek

  • Error when using a HTML form along with a servlet

    Hi All,
    I am using Sun Studio 4 to create a HTML form that takes in 4 inputs and then
    passes them on to a servlet to be processed.
    In my HTML form i have the form heading.. <form method = post action="processServlet">
    my directory structure is as follows:
    /home/cosmo/projects/testservlet/processServlet ... processServlet being the servlet underneath the testservlet directory.
    inputForm.html is also under the same testservlet directory. I am running TOMCAT.. and under the run time tab under tomcat --> Internal --> it has localhost:8081 and under that the default context is /home/cosmo/projects/testservlet
    NOW, when i execute my HTML page the URL on top says "http://localhost:8081/inputForm.html
    which seems correct. I get my form correctly. When i input the data,and i hit the submit button, the URL says "http://localhost:8081/processServlet" which i think is also correct, but i get a "404 Error and the error description says " The requested resource( /processServlet)
    is not available." I have coded the servlet to give me just a few lines of output, but instead, the above error shows up.
    Why would this be happening? Do i have my directory structure messed up? Do i have the wrong type of template? I used a web module to do this. I also compiled my Servlet from Sun Studio without any errors.
    Any help would be appreciated.
    Thanks
    Kal.

    You can't post directly to a servlet the way you can to an HTML or JSP page. You must map your requests to specific servlets for the request to get directed there. There are entries in the web.xml for this.
    You need to map the request for "processServlet" to "edu.xxx.yyy.processServlet", or the servlet engine won't know what to do with that request.
    Often times, an app will route all requests for a particular extension to a router servlet, which then figures out which class to actually send the request to. This keeps you from having to map all servlets in the web.xml file.

  • 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.

  • Errors when using sql loader direct path with a nvl functin on a date field

    I thought I read in 10g that all sql functions now work in direct path mode.
    the following function works without direct path mode. When we turn direct path mode on the load fails. When we take the function out in direct path mode it works.
    mydate DATE "YYYY-MM-DD" "nvl(:mydatedate,to_date('9999-01-01','YYYY-MM-DD'))"
    with direct path mode I get:
    EVERY record gets rejected with this error.
    Record 10: Rejected - Error on table MYTABLE
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01861: literal does not match format string
    again works fine without direct=true, works fine with direct=true if i get rid of the function.
    any ideas?
    Message was edited by:
    Guess2
    Message was edited by:
    Guess2

    like usual your posts are completely useless daniel.
    I could have swarn that oracle advertised that you can use functions with 9i or 10g release in the new features guys or the first releases.

  • ORA-01002: fetch out of sequence error when using Oracle Thin Driver 9i with Weblogic 6.1

    The simple program below is a client that executes a SELECT query -
    there are 13 rows in the table, of which 10 are printed when I run the
    program, then after that the ORA-01002 error is reported. I am not
    doing anything with LOBs, or updates. I've tried putting
    con.setAutoCommit(false) as well, but that does not do anything.
    Why am I getting this error? Can anyone help.
    Thanks
    -H
    Context ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,
    "t3://127.0.0.1:7001");
    PreparedStatement stmt = null;
    ResultSet rs = null;
    UserTransaction ut = null;
    try {
    ctx = new InitialContext(ht);
    javax.sql.DataSource ds
    = (javax.sql.DataSource) ctx.lookup ("jtaXADS");
    java.sql.Connection conn = ds.getConnection();
    // You can now use the conn object to create
    // Statements and retrieve result sets:
    ut = (UserTransaction)
    ctx.lookup("javax.transaction.UserTransaction");
    ut.begin();
    stmt = conn.prepareStatement("select firstname,surname from
    EMPLOYEE ");
    stmt.executeQuery();
    rs = stmt.getResultSet();
    // Close the statement and connection objects when you are finished:
    while (rs.next())
    System.out.println("Result is " + rs.getString("firstname") + " " +
    rs.getString("surname"));
    ut.commit();
    stmt.close();
    conn.close();
    catch (Exception e) {
    e.printStackTrace();
    // a failure occurred
    finally {
    try {ctx.close();
    rs.close();}
    catch (Exception e) {
    // a failure occurred
    e.printStackTrace();

    Thanks everybody.
    I have tried this, calling ut.begin() first before getConnection,
    however no difference. However the problem goes away if I call
    stmt.setFetchSize(100);
    But I would prefer not to have to code this in every time!!!
    I see there is a setting within Weblogic Admin console to see the
    row-prefetch, but that is already set to 45 rows, so why do have to
    explicitly call stmt.setFetchSize(100)!!!
    Thanks
    -H
    "Carl Lawstuen" <[email protected]> wrote in message news:<[email protected]>...
    Agreed. The transaction must start before the connection. This is what
    is most likely causing the error.
    "Nils Winkler" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    one more thing: The UserTransaction has to be started before you obtain
    the connection, not after.
    Nils
    Humphrey wrote:
    The simple program below is a client that executes a SELECT query -
    there are 13 rows in the table, of which 10 are printed when I run the
    program, then after that the ORA-01002 error is reported. I am not
    doing anything with LOBs, or updates. I've tried putting
    con.setAutoCommit(false) as well, but that does not do anything.
    Why am I getting this error? Can anyone help.
    Thanks
    -H
    Context ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,
    "t3://127.0.0.1:7001");
    PreparedStatement stmt = null;
    ResultSet rs = null;
    UserTransaction ut = null;
    try {
    ctx = new InitialContext(ht);
    javax.sql.DataSource ds
    = (javax.sql.DataSource) ctx.lookup ("jtaXADS");
    java.sql.Connection conn = ds.getConnection();
    // You can now use the conn object to create
    // Statements and retrieve result sets:
    ut = (UserTransaction)
    ctx.lookup("javax.transaction.UserTransaction");
    ut.begin();
    stmt = conn.prepareStatement("select firstname,surname from
    EMPLOYEE ");
    stmt.executeQuery();
    rs = stmt.getResultSet();
    // Close the statement and connection objects when you are finished:
    while (rs.next())
    System.out.println("Result is " + rs.getString("firstname") + " " +
    rs.getString("surname"));
    ut.commit();
    stmt.close();
    conn.close();
    catch (Exception e) {
    e.printStackTrace();
    // a failure occurred
    finally {
    try {ctx.close();
    rs.close();}
    catch (Exception e) {
    // a failure occurred
    e.printStackTrace();
    ============================
    [email protected]

  • Error when using BeX Analyzer 7.0 with Excel 2007

    When i try to execute a query in BeX analyzer 7.0 and my microsoft excel version is 2007, there will always have a fatal error showing. However, when i use the Bex Analyzer 3.5 , i could execute the query.
    Anyway to solve this problem?

    You need to do the following
    Identify the SAP GUI version you're using, 6.40 or 7.10, and the patch level.
    Identify the BW or BI Add-on and patch level of it.
    From there, check to see if the versions you have actually support BI 7.0 and Excel 2007.  Reliable Excel 2007 support requires failry current patch levels of both the SAP GUI and the corresponding BW/BW Add-ons.. 
    Do you have access to a PC that has a more recent version of the SAP GUI and BW/ BI Add-on?  If so, try using that PC and see if you still have the problem.

  • "caching-descriptor" must be declared error when using ejbc on WLS6.0 with EJB 1.1

    I'm compiling with ejbc an entity bean .jar. Using WLS 6.0. In the ejb-jar.xml,
    I've set version to EJB 1.1. I've made sure the weblogic-ejb-jar.xml has the caching-descriptor
    element defined (used to work with WLS 5.1).
    Thanks.
    Sayid
    Error is : org.xml.sax.SAXParseException: Element type "caching-descriptor" must
    be declare d. at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
    :1008) at weblogic.apache.xerces.validators.common.XMLValidator.reportRecoverab
    leXMLError(XMLValidator.java:1236) at weblogic.apache.xerces.validators.common.XMLValidator.validateElement
    AndAttributes(XMLValidator.java:2673) at weblogic.apache.xerces.validators.common.XMLValidator.callStartElemen
    t(XMLValidator.java:818) at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
    .dispatch(XMLDocumentScanner.java:1222) at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
    mentScanner.java:380) at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:128 ) at
    weblogic.ejb20.dd.xml.WebLogicEjbJarLoader_WLS600.process(WebLogicEjb JarLoader_WLS600.java:455)
    at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:9 3) at
    weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:4 7) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:3
    8) at weblogic.ejbc20.runBody(ejbc20.java:665) at weblogic.utils.compiler.Tool.run(Tool.java:81)
    at weblogic.ejbc.main(ejbc.java:20) --------------- nested within: ------------------
    weblogic.xml.process.XMLParsingException: Element type "caching-descriptor" must
    be declared. - with nested exception: [org.xml.sax.SAXParseException: Element
    type "caching-descriptor" must be declar ed.] Line: 8 Column: 27 at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:132
    ) at weblogic.ejb20.dd.xml.WebLogicEjbJarLoader_WLS600.process(WebLogicEjb JarLoader_WLS600.java:455)
    at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:9 3) at
    weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:4 7) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:3
    8) at weblogic.ejbc20.runBody(ejbc20.java:665) at weblogic.utils.compiler.Tool.run(Tool.java:81)
    at weblogic.ejbc.main(ejbc.java:20) ERROR: weblogic.xml.process.XMLParsingException:
    Element type "caching-descripto r" must be declared. - with nested exception:
    [org.xml.sax.SAXParseException: Element type "caching-descriptor" must be declar
    ed.] Line: 8 Column: 27

    but a bean's deployment descriptor lies in the
    meta-inf folder, right?Sorry, my mistake. I was thinking of WAR files while writing. Thanks for pointing out.
    Regards,
    $ Carol.

  • Linkage Error when using Apache SOAP 2.2 with Weblogic 6.1

    Has anyone seen this error before? Apparently I've got some incompatible versions of xerces being loaded. I tried putting different versions of xerces.jar in the front of my classpath, and creating an XML Registry to point to org.apache.xerces.jaxp..., but I always get the same error message.
    D:\soap>java -classpath "/soap-2_2/lib/soap.jar;activation.jar;mail.jar;xerces.jar;." org.apache.soap.server.Servic
    eManagerClient http://localhost:8001/App/servlet/rpcrouter list
    Ouch, the call failed:
    Fault Code = SOAP-ENV:Server.Exception:
    Fault String = loader constraints violated when linking org/xml/sax/InputSource class

    Has anyone seen this error before? Apparently I've got some incompatible versions of xerces being loaded. I tried putting different versions of xerces.jar in the front of my classpath, and creating an XML Registry to point to org.apache.xerces.jaxp..., but I always get the same error message.
    D:\soap>java -classpath "/soap-2_2/lib/soap.jar;activation.jar;mail.jar;xerces.jar;." org.apache.soap.server.Servic
    eManagerClient http://localhost:8001/App/servlet/rpcrouter list
    Ouch, the call failed:
    Fault Code = SOAP-ENV:Server.Exception:
    Fault String = loader constraints violated when linking org/xml/sax/InputSource class

  • Error when use VARRAY in Entity Model with VS2010

    Hi all,
    At the database server, I created type is COUNTRY_LIST like:
    CREATE OR REPLACE TYPE COUNTRY_LIST AS VARRAY (200) OF VARCHAR2(20);
    And then created store procedure:
    create or replace procedure get_all_country_data(vArrayResult OUT COUNTRY_LIST)
    is
    begin
    SELECT country_name
    BULK COLLECT INTO vArrayResult
    FROM country
    WHERE status = 1;
    end;
    On the VS2010, I created project with type Class Library (My goal is export to dll file) and I have been Entity Model technology to get data from Country table with above store procedure. I can connect to db, but after add Country model, I received some message from VS 2010:
    The function 'GET_ALL_COUNTRY_DATA' has a parameter 'VARRAYRESULT' at parameter index 0 that has a data type 'varray' which is not supported. The function was excluded.     
    Error 6005: The function 'GET_ALL_COUNTRY_DATA' has a parameter 'VARRAYRESULT' at parameter index 0 that has a data type 'varray' which is not supported. The function was excluded.
    plz help me about it. Thanks.

    As indicated in the doc, this data type is not supported in Entity Framework:
    http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/featLINQ.htm#CJAFBGIJ

  • "Could not complete scan" error when using Windows Fax and Scan

    "Could not complete scan" error when using Windows Fax and Scan with a HP OfficeJet Pro 8600 Plus All-In-One network printer.
    Printing is fine.
    When using the HP Scan application, get the error "Scanner communication cannot be established".
    When scanning from the printer itself it fails with the same message. In addition the printer panel displays the error:
    "The scan could not be completed due to one or more of the following issues:
    Connection to the computer is lost
    The scanner is in use
    OCR application is not installed"
    My PC is a HP Compaq Pro 6300 SFF 64bit, with ethernet cable to the router and ethernet cable to the printer
    Originally ran Windows 8.0; recently upgraded to Windows 8.1.
    Older separate Netgear router and modem was replaced with a newer Netgear Router/Modem, but both experienced the same problem.
    There was no problem with the original Windows 8.0 configuration and only after upgrading to 8.1 did the problem emerge.
    On my home netowrk I have an HP ProBook 6550b running Windows 7 sp1 that uses wireless to get to the Router, and it has no problem with scanning.
    I have followed the recommendations of a number of articles relating to this issue (including: http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c02915410&product=4323659#N94), but there has been no change in behaviour.
    The printer has a static IP address;
    Power settings have been adjusted to Never for Turn off Hard Disk; Sleep and Hybrid Sleep.
    Scanning has been tested with all firewalls and antivirus turned off and in Selective Startup.
    The printer has been plugged directly into the power socket.
    With all these settings the Windows 8.1 cannot scan while the Windows 7 laptop with wireless to the router has no problems.
    Appreciate any insights into this problem.
    I can only surmise that the problem is a compatibility problem between the 8600 Printer and Windows 8.1.
    Any ideas?
    regards,
    Motorbike

    You can determine if there is compatiblity between the printer and PC by checking the Windows 8.1 hardware compatibility list. I have done that and it is shown to be fully compatible.  If the driver you installed before was only the basic driver,it would explain the lack of scan and copy functionality.
    Download and install the Windows 8.1 full feature driver and software on the HP Compaq Pro 6300 SFF 64bit PC . 
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=bi-108858-4&cc=us&dlc=en&lc=en​...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • I keep getting this error when trying to backup time capsule with time machine. The backup disk image "/Volumes/Data-1/Dan's iMac.sparsebundle" is already in use.

    I keep getting this error when trying to backup time capsule with time machine. The backup disk image “/Volumes/Data-1/Dan’s iMac.sparsebundle” is already in use.

    Make sure that no other Macs are backing up at the time.
    Pull the power cable from the back of the Time Capsule
    Count to ten
    Plug the power cable back into the back of the Tme Capsule
    Wait a few minutes, then try a backup again.

  • Error when using PPR in the OA page developed.

    HI,
    We are encountering an error when using PPR for the custom OA page being developed. I am using JDeveloper version 9.0.3.5(Build 1437) and Oracle Applications version 11.5.10.CU2. The scenario we are using PPR and the steps to reproduce the issue is mentioned below,
    Scenario:
    1) PPR is enabled for a custom OA page that is developed.
    2) The PPR is being used to enable or disable a particular field based on the
    selection of a value in a poplist in the same OA Page.
    Error replication steps:
    1) The user enters a value in the primary mandatory field which has to have
    unique value.
    2) The user selects a value from the poplist of a field which has PPR associated.
    3) The user enters data in all other mandatory fields in the OA page except one
    and tries to save the form and is shown a error message saying that all
    mandatory fields are not entered(This is correct). Now the page gets
    automatically refreshed and so the entered values are wiped off.
    4) Now if the user again enters a value in the primary mandatory field (as in
    step1) and if that value happens to be already existing value and then select
    a value from the poplist which has PPR enabled then immediately the error
    "Please enter a unique value" is entered, though we did not save the record.
    The unique record validation would happen only at the time of saving the
    record as per out business logic.
    5) But if in Step 4 if i had entered a unique value again then the above said error
    does not happen. There are few more similar kind of issues happening in the
    same page because PPR is enabled.
    Please note that this issue happens only when the page is deployed in a oracle
    applications instance and not in JDeveloper.
    Would this issue because of some cacheing problem? If Yes then how do we resolve it? Or would it be some other problem caused by our internal coding.
    Any inputs for resolving this issue would be highly appreciated.
    Thanks, Raja.

    What works in Jdeveloper should work when deployed in iAS as well.
    And PPR is an old feature given quite enough time to mature, so before we suspect OA we should investigate the code. What I do not understand is how the page refreshes in Step 3 and why does the user have to re-enter the fields just because he missed entering one mandatory field the last time.
    Mandatory field validations are client validations set by making the fields 'Required'. You obviously have client validations turned off on your PPR, otherwise you would be stuck with a javascript popup on PPR. The only way you can get the "Please enter unique..." error on PPR is Server Validation. So where have you placed this validation? If it is not in the EO, is it in the AM? And are you unconditionally calling the AM validation method in your processFormRequest? The PPR will also go through processFormRequest so I hope the PPR event is in a different if-else block.

  • 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

Maybe you are looking for

  • Can't locate volume in Startup Disk Options...?

    Ok I am sure this is so basic that I have missed something glaringly obvious. I have added a second drive to my G5, created a Mac OS Extended (Journaled) Volume on it, and it's showing up in the finder as a volume. However, I want to use it as the st

  • Flex plugin does not initialize in flash player

    Sometimes the plugin comes up just fine and works properly. But about 70% of the time, the web page comes up, and I see a blank box where the plugin should be. If I right click and turn off loop, and hit play, then the plugin starts working. Does any

  • How browser window can be closed in WD ABAP

    Hi, Please suggest how browser window can be closed in WD ABAP? Regards, Anindita

  • Preview failed because Adobe Muse could not make connection over HTTP.

    Preview failed because Adobe Muse could not make connection over HTTP. The most commons cause of this is fire wall software which prevents HTTP connections, you mai need to change Fire wall settings to allow Adobe Muse to make connections?? Fire Wall

  • Creating chapters for iPad video

    I understand that chapters can be added to videos using Quicktime Pro. If I do this, will I be able to see the chapters on an iPad? I don't want to pay the upgrade price and find out it doesn't work. Has anyone done this or willing to do a quick test