Ora-01468 in discovere

I have 1 master 2 detail tables i am joining them as the query below. i am using a calculation and using that calculation in a condition. the calulation is a sum of 2 columns between the 2 detail table. every time i use this calculation in a condition i get Ora-01468 error in discovere. when i looked at the SQL Plan i saw that it is putting outer join on the calculation colums. what should the changes be for the outer join not appaering in the where clause for the calculation.
SELECT NVL(( TO_NUMBER(O106251.PRINCIPAL_BALANCE) ),0)+NVL(( TO_NUMBER(O106521.CONTRACT_AMOUNT) ),0)
, O106321.BATCH_ID, O106321.ACCOUNT_NUMBER, ( TO_NUMBER(O106521.CONTRACT_AMOUNT) ), ( TO_NUMBER(O106251.PRINCIPAL_BALANCE) )
FROM COREADMIN.GCON_MGBAL_DTL_V1 O106251, COREADMIN.GCON_MG_DTL_V1 O106321, COREADMIN.GCON_PD_DTL_V1 O106521
WHERE ( ( ( 'PD'||O106321.ID ) = O106521.ID(+)
AND O106321.BATCH_ID = O106521.BATCH_ID(+) )
AND ( O106321.ID = O106251.ACCOUNT_NUMBER(+)
AND O106321.BATCH_ID = O106251.BATCH_ID(+) ) )
AND ( ( NVL(( TO_NUMBER(O106251.PRINCIPAL_BALANCE(+)) ),0)+NVL(( TO_NUMBER(O106521.CONTRACT_AMOUNT(+)) ),0) ) = 0 ) AND ( O106321.BATCH_ID = '260807' )
Desired Query in Oracle discovere would be
SELECT NVL(( TO_NUMBER(O106251.PRINCIPAL_BALANCE) ),0)+NVL(( TO_NUMBER(O106521.CONTRACT_AMOUNT) ),0)
, O106321.BATCH_ID, O106321.ACCOUNT_NUMBER, ( TO_NUMBER(O106521.CONTRACT_AMOUNT) ), ( TO_NUMBER(O106251.PRINCIPAL_BALANCE) )
FROM COREADMIN.GCON_MGBAL_DTL_V1 O106251, COREADMIN.GCON_MG_DTL_V1 O106321, COREADMIN.GCON_PD_DTL_V1 O106521
WHERE ( ( ( 'PD'||O106321.ID ) = O106521.ID(+)
AND O106321.BATCH_ID = O106521.BATCH_ID(+) )
AND ( O106321.ID = O106251.ACCOUNT_NUMBER(+)
AND O106321.BATCH_ID = O106251.BATCH_ID(+) ) )
AND ( ( NVL(( TO_NUMBER(O106251.PRINCIPAL_BALANCE) ),0)+NVL(( TO_NUMBER(O106521.CONTRACT_AMOUNT) ),0) ) = 0 ) AND ( O106321.BATCH_ID = '260807' )
Help would be highly appriciated
Thanks

Only a few people have all Oracle errors in their head,so it would be nice to say more than 'My program throws error ORA-NNNN'. Check your query according to the error description:
Error: ORA 1468
Text: a predicate may reference only one outer-joined table
Cause: A predicate in the WHERE clause has two columns from different tables
with "(+)".
Action: Change the WHERE clause so that each predicate has a maximum of one
outer-join table.
e.g. emp.empno (+) = dept.deptno (+)
would raise the error
Werner

Similar Messages

  • Problem connecting Discoverer plus to Oracle 10g DB

    I have a problem connecting Disocverer Plus to DB 10g.
    DB 10g is located on a different server than Discoverer. All windows environment. When I enter DB name it gives me ORA-12154 error.
    Question – I searched all the documents and it doesn’t say how to configure DB 10g to work with Discoverer. Could some one help me pointing me in a right direction? Do I have to create Data Warehouse or can I connect to the DB directly.
    I added Database connection on the DB 10g listener. Do I have to do it on the BI listener as well. So complicated and no guidance.
    thanks

    In your Discoverer 10g home, navigate to:
    $OH/network/admin
    configure your tnsnames.ora alias's
    or a shortcut... on Oracle BI Discoverer connection string enter:
    username
    pwd
    db string like this (no breaks):
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=yourmachine.domain)(PORT=1523)))(CONNECT_DATA=(SID = vis)))
    There is guidance. The Discoverer Configuration Guide
    or MetaLink Support notes.
    The configuration guide specifically documents common problems
    http://download-west.oracle.com/docs/html/B13918_03/tshoot.htm#sthref1287
    D.1.4 Discoverer reports the error ORA-12154
    OracleBI Discoverer reports error ORA-12154: Could not resolve service name.
    Problem
    OracleBI Discoverer cannot connect to the database alias specified by the connection details.
    Solution
    Make sure that:
    the database alias is in the tnsnames.ora file on the middle tier
    the database alias exists in the tnsnames.ora file on every machine that runs sessions
    Hint: If you have SQL*Plus (or any other Oracle product) running on that machine, try connecting to the database with that product.
    Hope that helps point you in the right direction.
    Regards,
    Steve.

  • Midtier setting for Discoverer

    Hi,
    I have midtier, infra and database installed on my laptop. I have been using the discoverer desktop for building the charts, etc.
    I noticed - from the Start programs menu ->
    Ora mid tier -> Discoverer ->
    I see entries for -
    edit preferences
    apply preferences
    register session
    deregister session
    What am I supposed to use these for ?
    Could this be part of the reasons why I am unable to
    connect through Discoverer Viewer ?
    -Ananth

    Dear Gajanan,
    Create asset class in OAOA. Assign account determination & screen layout, number range.
    You have a section down as Status of AUC. Select the second radio button of "Line item Settlement"
    Regards,
    Ajay

  • USING DISCOVERER DESKTOP CAN'T EXPORT AND GET ERROR ORA-00000

    we use a win 2000 server to export discoverer reports by command-line methods.In the past ,everything is ok. But from last week , we found some reports always keep in export phase and can't export anything, also with ora-00000 error.
    there are 2 things should be mentioned:
    1. in the past , these reports can export without any error
    2. we can export the same reports normally on another server(but we don't want to change server for some reason)
    I know Oracle suggest we update to discoverer 10g, but it can't tell me why another client can export normally
    so where is the cause?
    Discoverer Desktop version - 4.1.46.08.00
    EBS version - 11.5.9

    Hi
    Presumably you have tried rebooting?
    If you have windows updates set to automatic it is possible that one of the recently applied updates has done this.
    Best wishes
    Michael

  • Discoverer/portletprovider: ORA-01017 error

    Hi.
    When i register the web provider pointing to http://<myserver>:7777/discoverer/portletprovider,
    i have error:
    Error!
    BaseException is ... ORA-01017: invalid username/password; logon denied
    What is a username to mean?

    First though is double check make sure you have no typo when inputting username/password,
    ORA-01017 is very specific error about wrong password, if you have problem with passwordfile you would likely to get ORA-01031: insufficient privileges
    You can change your sys password using alter user statement, Oracle will sync the password file.

  • Discoverer 3.1.25: getting error ORA-06550 when scheduling report

    Hello,
    we are still using the Discoverer version 3 (release 3.1.25). I know that this version is out of support, but that doesn't harm use from using it...
    The Discoverer has been working fine for the last couple years. At the beginning of every month the same already defined reports are getting generated. But with the beginning of the year 2010 we are getting the error:
    ORA-06550: line 1, column 93:
    PLS-00201: identifier 'EUL$BATCH_PACKAGE0100112082923.RUN' must be declared
    ORA-06550: line 1, column 93:
    PL/SQL: Statement ignored
    ORA-06512: at "SYS.DBMS_JOB" line 79
    The numbers "0100112082923" after the identifier "EUL$BATCH_PACKAGE" specify the date and time:
    082923: 08 hour, 29 minutes, 23 seconds
    0100112: 010 year, 01 month, 12 day
    The reason of that error is that the mentioned Package/Packagebody EUL$BATCH_PACKAGE*0*100112082923 doesn't exist in the database. But as a matter of fact the Package/Packagebody 'EUL$BATCH_PACKAGE100112082923 does exist. The Discoverer creates the Package/Packagebody without the "0" after the identifier "EUL$BATCH_PACKAGE" in the database, but wants to use the Package/Packagebody with the "0" after the identifier "EUL$BATCH_PACKAGE". Seems like a bug to me - does anybody have the same problem?
    Until the year 2009 the year was specified with just two digits (09) - now the year seems to get specified with 3 digits (010) - but in the database just two digits are used. Is there any property table or button where this gets defined?
    Any help will be appreciated!

    Seems like if I have found the bug by myself...
    In the procedure SubmitJob(...) of the package EUL$BATCH_REPOSITORY the name of the scheduled procedure gets generated with the hardcoded string
    "EUL$BATCH_PACKAGE0". The zero after "PACKAGE" is only correct when the year ends with one digit (e.g. 2001, 2002, ..., 2009). When shortening the
    string to "EUL$BATCH_PACKAGE" everything works fine again...
    Rgds

  • Snapshot too old ORA-01555 from select statement (discoverer)??

    Hi All
    Am I loosing the plot .. but we have a select statement run from discoverer which is causing the famous snapshot too old error.
    My understanding is that undo is generated from select/insert/update.
    So why is the following discoverer Select statement causing the error?
    from alert
    ORA-01555 caused by SQL statement below (SQL ID: gk0wxgqmx66sh, Query Duration=3866 sec, SCN: 0x001e.089cf3f9):
    SELECT  ( ROUND(( TO_DATE(SYSDATE)-o101038.HIRE_DATE )/365,2) ) as
      "  bla bla
    ORDER BY o101020.SUB_ORGANIZATION_NAME ASC
    Thanks in Advance

    simon.9999 wrote:
    Hi All
    Am I loosing the plot .. but we have a select statement run from discoverer which is causing the famous snapshot too old error.
    My understanding is that undo is generated from select/insert/update.
    So why is the following discoverer Select statement causing the error?
    from alert
    ORA-01555 caused by SQL statement below (SQL ID: gk0wxgqmx66sh, Query Duration=3866 sec, SCN: 0x001e.089cf3f9):
    SELECT  ( ROUND(( TO_DATE(SYSDATE)-o101038.HIRE_DATE )/365,2) ) as
      "  bla bla
    ORDER BY o101020.SUB_ORGANIZATION_NAME ASC
    Thanks in Advance
    The SELECT statement is the victim.
    Some session is doing DML against the same table against which the SELECT occurs & is likely doing COMMIT inside a LOOP.

  • Discoverer Portlet fails with ora-01017

    This is about OAS 10gR2
    Middle tier version: 10.1.2.0.2
    Discoverer version: 10.1.2.48.18
    I've manually changed password for Discoverer EUL Owner schema (using "alter user blablabla identified by blablabla" statement, in sqlplus) and now I can't register discoverer portlet provider.
    It fails with the following message:
    "Error!
    BaseException is ... ORA-01017: invalid username/password; logon denied
    Recognizing component versions...
    ptlshare.jar version: 10.1.2.0.2
    pdkjava.jar version: 10.1.2.0.0"
    I make no idea what was the password for discover5 schema before and that was the reason i changed it.
    Already have redeployed discoverer.ear file in OAS administration, but it didn't change a thing.
    I've tried the Discoverer Forum but no one there answered my question.
    Any ideas of what could bring this kind of issue?
    TIA
    Marcos

    Solved!
    The problem was that when I changed user password in database, i did not synchronized Database user with OID attributes.
    Step by step solution:
    Reset Password for DB user in sqlplus with
    "Alter user XXXX identified by YYYYYY;"
    Enter OID (Oracle Directory Management) as the "superuser" (ORCLADMIN);
    Navigate to
    -> Entry Management
    -> cn=OracleContext
    -> cn=Product
    -> cn=IAS
    -> cn=IAS InfraStructure Databases
    -> cn=orclReferenceName=appsdb.ecovias.com.br
    -> OrclResourceName=DISCOVERER5
    Alter orclPasswordattribute for the user, using the same password you have resetted in Sqlplus.
    Bounce OAS middle tier instance (ompnctl startall/stopall or using Application Server Control).
    Touché, it's done!
    Alternativelly, you can keep geniuses away from altering passwords...
    Thanx y'all...
    Marcos

  • Discoverer Plus Error: ORA-12154:TNS:could not resolve the

    Hi,
    I’m running the Discoverer report in Discoverer Plus and getting the below error, but when the same report ran in Desktop completes successfully and the SQL from the report is running without error in SQL nav.
    Database Error - ORA-12154:TNS:could not resolve the connect identifier specified.
    Thanks in Advance.
    Sunil

    Hi Sunil,
    Did you test the direct method I posted above? That will bypass the tnsnames.ora file. If it connects fine that way, then you likely have a configuration issue with your sqlnet.ora and/or tnsnames.ora
    You can test with:
    $ORACLE_HOME/bin/tnsping <tnsalias>
    If it is successful, then check if you have the TNS_ADMIN environment variable set (echo $TNS_ADMIN) -- assuming Linix/Unix, if Windows, check system environment variables
    You may TNS_ADMIN set and pointing to a tnsnames.ora that is not in the default location.
    If it fails and your tns entry is correct in the tnsnames.ora file, then you may need to look at the sqlnet.ora
    For example,
    If you have NAMES.DEFAULT_DOMAIN set.. then you would need enter: <tnsalias>.<domain> (i.e. scott.world)
    or you may need to check if TNSNAMES is first in NAMES.DIRECTORY_PATH=
    You can remove or rename the sqlnet.ora to make sure that is not an issue.
    Hope that helps. Good Luck.
    ~Steve.

  • Discoverer throwing ORA-02248 at logon

    Before I get started, I know that the version of Discoverer I am trying to use is not supported. I do not care, I am only trying to bridge the gap until our new solution is in place.
    On to the question....
    I have been able to successfully install Discoverer Desktop 9.0.4.43.17 on a Windows 7 x86 client machine.
    I am using a known good tnsnames.ora file from a WinXP SP3 machine running the exact same Discoverer build (which works perfectly).
    I know the Discoverer install works with the Windows 7 machine as I can run the sample data without a problem.
    When I try to connect to the database, I get a ORA-02248: invalid option for ALTER SESSION.
    The database parameter is AMERICAN_AMERICA.WE8MSWIN1252.
    I have ensured that the registry setting matches this. I also tried to create a system variable - NLS_LANG - that matches this.
    Nothing works. I know there is most likely a very simple fix for this, but I cannot figure it out. Somebody out there has got to be running Discoverer Desktop on Window 7 x86 clients and know what needs to be done.
    ANY help is greatly appreciated as we want to get rid of XP once and for all!
    Mike

    This is a standalone install trying to connect to a database account.
    This error occurs with any account.
    Item of interest: If I login incorrectly, I get an access denied / invalid user account/password message. This tells me that the connection is there.
    Edited by: 794182 on Apr 30, 2012 10:31 AM

  • ORA-02248 When I Try to Connect Discoverer Desktop 9.0.4.43.17 to 11.2.0.1

    Hi Fellows.
    I'm trying to Connect Discoverer Desktop 9.0.4.43.17 to Oracle Database 11.2.0.1. I Installed the program (Windows 7 Emulating XP SP3) But when I try to connect to Database send me ORA-02248 Error, some Alter Session. I'm Using a user with DBA privileges But I cannot Connect to Database, Do I have to Install an Additional Software or create a Special User or Schema????
    I would like to check and use Discoverer because I think that will be very usefull for the end users of the company.
    Thanks for your time.
    Best Regards
    Emmanuel.

    Dear Friend.
    I can connect via SQLPLUS with SYS as SYSDBA and everthing is ok But When I try to do it in Discoverer Logon Form I Can't and i get Error ORA-12154. Can I fix ORA-02248 ALTER SESSION problem Connected from SQLPLUS as SYS???? I was Checking But I cannot Find Nothing Regarding this issue. Its seem the aplicaction when connect Try to ALTER the Session But Fails and the Program Abort. I Also check for SQL Scripts into the Binary Discoverer Directory But Nothing.........I just found a lot of Jar Files.
    Thanks a Lot
    Emmanuel.

  • Discoverer report :ORA -00904 Invalid Identifier

    Hi ,
    we are using an apps mode EUL (version4i) ,
    in the business area "Account Receivables"--->Customer Transaction Lines Folder,
    when we pull up any item from this folder to create a report, it shows a
    "ORA-00904 Invalid Identifier " error
    how to fix it , whether the Item might be Deleted in view definition of this folder,
    just a refresh of the folder is enough ?
    thanks in advance

    Hi,
    Refreshing the folder should be your first step.
    Rod West

  • Specified workbook not found (Discoverer 4i with Ora Apps)

    I am using Discoverer 4i with Oracle 11i.
    When I try to open any workbook via any responsibility (of Oracle Apps) I get Error
    ‘Specified workbook not found: <workbook name>’
    When I click OK on error, all my work books are listed.
    I have made sure users and responsibility have security access for Business Area
    Also made sure the workbook is shared with users and responsibility
    Any idea how I get rid of this error.
    Thanks in advance for any help

    Hi,
    The Oracle Apps uses the workbook developer key to locate and open the workbook. The Oracle Apps function that opens the workbook contains the developer key in the parameters for the function. This must match the developer key for the workbook shown in the Discoverer Manager Workbook -> Properties -> Identifier.
    Hope that helps,
    Rod West

  • Discoverer 10g installed with Ora Apps 11i on same box

    I've worked through the "coexistence restrictions" for Discoverer 10g (9.0.4) and 9iR1 (1.0.2.2.x) which states:
    "The following instances of Oracle Application Server 10g (9.0.4) and Oracle9i Application Server Release 1 (1.0.2.2.x) can coexist on the same computer only after Oracle9iAS Discoverer has been shutdown in the Oracle9iAS Release 1 (1.0.2.2.x) Oracle home:
    1.0.2.2.x Standard Edition and 9.0.4 Business Intelligence and Forms
    1.0.2.2.x Enterprise Edition and 9.0.4 Business Intelligence and Forms
    1.0.2.2.x Standard Edition and 9.0.4 Business Intelligence and Forms without OracleAS Infrastructure 10g
    1.0.2.2.x Enterprise Edition and 9.0.4 Business Intelligence and Forms without OracleAS Infrastructure 10g"
    Does this imply that I can install 11i on a box, permanently shut down Discoverer and then ON THE SAME BOX install 10g Infrastructure and Midtier including Discoverer 10g?
    Has anyone worked through this installation and made it work?
    Thanks

    This IS possible and have now done it with assist from Oracle tech support.
    1. Install 64-bit 10.2.0.1 Databse into OraDb_home.
    2. Install 32-bit 10.2.0.1 Client (needs Windows ODBC extensions) into OraClient_home.
    3. Apply patch 5500954 for 64-bit - this is a Critical Bug patch 8 for 64-bit.
    4. Apply patch 5337014 for 32-bit - this is a patchset to upgrade the Client to 10.0.2.0.3.
    5. Contrary to what Oracle note 334528.1 says (which is to patch the 64-bit Server, you must patch/upgrade the 32-bit client as well (otherwise, it still fails).
    Also, DataDirect's Connect Ver 5.2 ODBC Oracle "wire-driver" (32-bit version) will work without installing the OraClient at all.
    - Will

  • Ora 03001 unimplemented feature in Discoverer viewer

    Hi ,
    I created a report in Desktop and all reports are run using discoverer viewer.
    User are able to run detail worksheets but not summary sheets for these details reports in discoverer viewer or plus.
    If I login as same user I can run in desktop.
    Any help is highly appricated.

    Hi All,
    I opened SR and oracle suggested these steps and it worked.
    1.) Backup the pref.txt file in the $ORACLE_HOME/discoverer/util/ directory ;
    2.) Stop the Discoverer and Oc4j instance (you can use "opmnctl stopall" command)
    3.) Edit the parameters in the pref.txt to be :
    EnhancedAggregationStrategy= 0
    UseNoRewriteHint=0
    UseOptimizerHints = 1
    then save the file.
    4.) Once the file is successfully edited, run the applypreferences.sh file in the same directory to get the new preferences into ef
    fect.
    5.) Start Discoverer and Oc4j instance (you can use "opmnctl startall" command).
    It works.
    Thanks
    Ameen

Maybe you are looking for

  • Getting error in graph

    I am working with a multi Subject Area data set.  I wanted to add a conditional format to a graph I built but the graph is returning an error. From the Edit Graph page. 1) Edit Graph Properties 2) Style Tab 3) Style and Conditional Formating link 4)

  • How to restrict user to change status.

    Dear All, we want to restrict users to change the status from set to assign to released status. is there any authorization object to restirct user to change status? i was trying with object CPRO_DPO Create Project Definition with activity 43 release

  • Opening wap browser from j2me application

    is there any way to open a wap browser which already available on the handset? the scenarion maybe like this, there is a menu and each item on the menu when chosen will open a wap browser directed to a certain wap site. so if there's is an item for Y

  • Extending CheckOut & CheckIn

    Hi, Is it possible extending CheckOut & CheckIn commands in InDesign CS 4 ?

  • How can I find my lost Iphone in Amman Jordan ?

    My Iphone has been lost almost two weeks ago , the police are not helping at all eventhough I've given them the serial number . is there any way I can track my iphone online ? ps : I don't have find my i phone app and the i cloud is not activated als