Extended Subject Area is throwing error

Hi All,
I am working on consolidation of OBIEE reports and create single RPD.
We have OBIA as primary repository. One plant is on legacy system. We have created a new schema in EBS database and loaded data to this new schema.
I created a new Physical layer, BMM and Subject area in RPD.
I can see this extended subject area in the RPD.
Whenever I am trying to run a report, I get following error -
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. Please have your System Administrator look at the log for more details on this error. (HY000)
But at the same time the standard Subject area work fine and give output.
Did anyone face such issue? Request help from the group on this.

Yes. I can query the tables.
When I update row count then row counts are updated successfully.
The important part is that the database tables for both the subject area are in same database, just different schema.
One subject area ( standard) gives results without any issue. The extended subject area pointing to new schema is giving error. The data is in same database.
Regards

Similar Messages

  • Restict to subject area

    Hi OBIEE Experts,
    I come to back new requirement in obiee 10g, Kindly share me your valuable inputs.
    I have three subject areas likes , A,B,C.
    A and B both are Adhoc reports But C Static reports.
    All users try to open static subject area , we need to restrict C subject area open access means any one try to click this subject area , we need to display message like ( This is not adhoc report this is static report subject area ) it is possible in obiee 10g.
    Note: If am going to hide this subject area static report all not working, We need to display this subject area but if any one try to open this subject it will throw error like above mention.
    Hope you understand my requirement.
    Thanks.

    Hi,
    In the presentation layer in RPD you can set Permissions.
    Double click on the Presentation subject area folder and then in General you can find permissions.
    OR
    Give your message in descriptions and when the cursor is moved across then message appears but it will be displayed.
    Hope this helped/ answered.
    Regards
    MuRam

  • Error when  building a report from 2 different subject areas

    Hello Experts,
    I am using obiee 11.1.1.5.
    I have 5 dimension D1,D2,D3,D4,D5 connected to fact1 and 4 dimension connected to fact2 such as D1,D2,D6,D7.
    where D1,D2 is common to both the facts.
    Fact1 Is in subject area 1 and Fact2 is in subject area2.
    I need to create a report by adding columns of  subject area 1 and 2 with columns from all the dimensions D1,D2....D7.
    As of now i am getting error stating "No fact table exists at the requested level of detail " when i try to add columns from 2 different subject areas.
    Can anyone help me in solving the above problem.
    Is there any prerequisite to be taken care when  building a report from 2 different subject areas.
    Regards,
    NN

    Hello Nagireddy,
    So kind of you, for your quick reply
    I was able to solve the error by doing below steps in additional what you have specified
    -->For the fact table LTSs, set the logical level in the Content tab to the dimension's lowest level for each conforming dimension (leave the non-conforming dimensions level blank).
    Now I have another requirement i,e
    I need to have non measure columns such as Date into the newly created fact in BMM layer.
    I tried doing the steps which I followed for measure column, but it is throwing the same error which I get earlier.
    Below is the error
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14025] No fact table exists at the requested level of detail:
    Let me know if have any suggestions

  • Function module throwing error from work area. Cannot find the problem...

    REPORT  ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
          f1 type zf1,
          f2 type zf2,
          f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        ITAB                       =   .
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    this is my driver program.In my form interface  there are tables,import,export are there where i have to declare tables data.If i am putting wa means it is throwing error.Please show me the clear information.
    Edited by: Julius Bussche on Nov 14, 2008 10:09 AM

    REPORT ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
    f1 type zf1,
    f2 type zf2,
    f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    ITAB = .
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Plz for this driver program. Give me the exact solution.I am passing the information like itab  like zptable1 ther ein the smart form table. Even now i am getting error.Here in this driver program i passed itab = itab means .I  am not getting solution.If i have to change any function module name means plz tell me.What i have to put there.Plz give me the correct solution

  • Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'

    Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'
    Word, and powerpoint application are working fine.  
    Environment :  Windows 7 64-bit, MS Office 2013 64-bit
    Steps to recreate
    (i)  Create new user account and add to any group ( do not log on using this
     account)
      (ii)  runas /user:<new user account>  <fullpath>\excel.exe
       it will ask password so enter on command prompt
    (iii)  open any excel document  and click File->Print
      (iv)  verify result  (it is failing) it pop ups below error
     Error:`Microsoft Excel
     No printers are installed. To install a printer click the File tab, and then click
     Print. Click No Printers Installed, and then click Add Printer. Follow the
     instructions in the Add Printer dialog box.                                                                                                               

    Sorry for late reply i was not at work
    I have a default set excel is still throwing error. Interestingly winword , powerpoint and publisher are working fine. I am able to print from all office applications except Excel.
     Probably excel behaves differently from other office applications.
     Probably it is a bug in excel
    Workaround : Log on to a system once using newly created account then runas excel using this account then print works fine.
    It means something in user profile should be configure to run excel print operation. Could you please somebody help what I need to configure in user profile that makes print operation success?

  • DAC error while assembling custom subject area as Assembly Persistence Err

    Hi Gurus
    I created a custom task using custom tables. And registered the same in infa and dac as well and then created a custom subject area and then tried assembling the same with a single custom fact got the following err. can anyone help me out of this..
    Custom_Test_Item_test - - error!
    MESSAGE:::Error while persisting sa steps.
    EXCEPTION CLASS::: com.siebel.analytics.etl.execution.ExecutionPlanInitializationException
    ::: CAUSE :::
    MESSAGE:::Error while inserting a record!
    EXCEPTION CLASS::: com.siebel.etl.gui.core.RecordManipulationException
    Any help will be much appreciated

    Hi Gurus
    I created a custom task using custom tables. And registered the same in infa and dac as well and then created a custom subject area and then tried assembling the same with a single custom fact got the following err. can anyone help me out of this..
    Custom_Test_Item_test - - error!
    MESSAGE:::Error while persisting sa steps.
    EXCEPTION CLASS::: com.siebel.analytics.etl.execution.ExecutionPlanInitializationException
    ::: CAUSE :::
    MESSAGE:::Error while inserting a record!
    EXCEPTION CLASS::: com.siebel.etl.gui.core.RecordManipulationException
    Any help will be much appreciated

  • Consistency check error 38011: Logical tables from multiple subject areas..

    I received multiple 38011 errors when performing a consistency check after merging repositories:
    For example:
    Logical tables from multiple subject areas associated, OHRP and Enterprise Warehouse
    (OHRP and Enterprise Warehouse refer to different business models)
    I'm really not sure what this means, and Metalink and Google aren't turning up anything.
    Thoughts?
    -John

    John,
    Does it say anything about Assertion Failure? Also, this is straight up from help regarding import (through file menu) "Use this option when the objects you import are unrelated to objects already in the repository such as when the business model and physical layer objects do not exist. If an object of the same name and type exists, the import process overwrites the existing object with the new object. When you import objects from one repository into another, the repository from which you are importing must be consistent."
    Sometimes Merge does bring unexpected (and unwanted results) - especially if there're presentation aliases, duplicate business models, or naming conflicts. If it's not too late, I suggest you use Import,rather than Merge, also, preferably starting with a new RPD file. This would enable you to bring items piece-by-piece and hopefully would allow you to isolate the problem.
    Also, depending on the size - it's sometimes preferable to just reproduce missing part(s). I hope this is helpful.
    Also, I forgot to say - the Import is deprecated and not supported. They suggest you use Project Extract and Merge. If Merge isn't working out for you and Import isn't an option - maybe you could try Project.
    Edited by: wildmight on Mar 9, 2009 7:58 AM

  • Error in Dropping columns from Subject Area to selected Columns section

    While Dropping columns from Subject Area to selected Columns section in Analytics nothing is happening.There is no error in the RPD.I am using OBIEE 11g and windows7.I am also getting page error like below:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
    Timestamp: Tue, 4 Sep 2012 08:31:07 UTC
    Message: 'kmsgPickerUIJSCantAddColumns' is undefined
    Line: 1
    Char: 1781
    Code: 0
    URI: http://localhost:7001/analytics/res/b_mozilla/picker.js
    Message: 'kmsgPickerUIJSCantAddColumns' is undefined
    Line: 1
    Char: 1781
    Code: 0
    URI: http://localhost:7001/analytics/res/b_mozilla/picker.js
    Can you guys please help?

    That error usually means it is still mapped, maybe it is used in another interface if you say the mapping has definitely been removed.
    You can expand the datastore > Used In > "As a Target" or "As a Source" or "In a Package" - that should tell you if it being used anywhere else.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Cpp error in answers with subject area referencing an essbase Cube

    Hi!
    I'm using obiee 11.1.1.5.0 and essbase cube like subject area.
    I have an error doing a simply report. My report contains three columns:
    First column: Dimension Entity--> This column has 3 different bins so if I edit fx formula I can see different Case statement.
    Second Column: measure (filtered by Scenario=Real)
    Third Column: measure (filtered by Scenario=presentation variable (budget))
    My report not work when I combine a case statement and different measures filtered by different scenarios. If I delete third column my report works but I need two scenarios
    *measure has Sum aggregated in logical layer. (I have tried with default (External Aggr) and doesn't work)
    Maybe I have to activate some option of features of Connection Pool in physical layer?
    Any help??
    thanks!!!

    Hello!
    This is the error that I can see in answers page:
    http://img513.imageshack.us/img513/8479/rq9b.jpg
    I need columns that I typed before: Dimension Entity with Bins / Column filtered by Scenario=Real / Column filtered by Scenario=Budget
    Any help?

  • Clicking on open area in MenuBar throws error

    I have an application with a MenuBar that gets its data from an XMLListCollection.  The MenuBar operates as expected when you click one of the menu items.  However, when you click any open area of the menu (blank area), the following error is thrown:
    TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::MenuBar@13bda3c1 to mx.controls.menuClasses.MenuBarItem.
        at com.views::publicCanvas/mouseClick()[C:\ColdFusion8\wwwroot\ifqgt\src\com\views\publicCan vas.mxml:41]
        at com.views::publicCanvas/__menuBar_click()[C:\ColdFusion8\wwwroot\ifqgt\src\com\views\publ icCanvas.mxml:55]
    Any idea how to fix this?
    Thanks!

    Worth checking my blog from yesterday if you are using Firefox -
    http://blogs.technet.com/b/projectsupport/archive/2014/12/18/project-online-opening-projects-from-project-center-with-firefox.aspx - this can give this kind of error if you have spaces in the project name.  Also make sure in Firefox you have the correct
    association for the protocol handler (under Options, Applications) - it needs to have ms-project associated with 'Use Microsoft Office 2013 (default). If this doesn't work then maybe Fiddler will help identify what's going on.  Please don't post
    Fiddler traces to the forum though as they can capture passwords etc.
    Brian.
    Blog |
    Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter |
    Project Developer Center |
    Project Server Help | Project Product Page

  • OBIEE SupplierSales Subject Area

    Hi,
    I am a newbie to OBIEE and trying to learn. I have created a sample repository based on SUPPLIER2 oracle sample database. I have create the physical, business & presentation layer catalog. I can also see SupplierSales subject area in Answers and no errors in global consistency check. But when I expand Product dimension it throws an error saying "There was an unknown error with the server call", while it is allowing to expand other dimensions.
    What could be the cause of this error? Why is it allowing to expand other dimensions & not Product dimension?
    Thanks,
    Sidd

    Hi,
    Could you please, share (amoyeedATgmailDotCom) the SupplierSales Schema (DDL & Data) ? I am new to OBIEE and trying to learn. Your help would be highly appreciated.
    Thanks,
    Abdul

  • Help, some font work on flash.text.engine throw Error #2161

    I found some font work on flash.text.engine throw Error #2161
    they are: "Vivaldi","Harlow Solid Italic","Bauhaus 93", "Algerian".
    the error info is:
    Error: Error #2161: 设置文本布局时出现内部错误。
    at flash.text.engine::TextBlock/DoCreateTextLine()
    at flash.text.engine::TextBlock/createTextLine()
    at flashx.tcal.compose::ComposeState/createTextLine()[C:\Development\tcal_core\flashx\tcal\c ompose\ComposeState.as:292]
    at flashx.tcal.compose::ComposeState/composeNextLine()[C:\Development\tcal_core\flashx\tcal\ compose\ComposeState.as:207]
    at flashx.tcal.compose::BaseCompose/composeParagraphElement()[C:\Development\tcal_core\flash x\tcal\compose\BaseCompose.as:238]
    at flashx.tcal.compose::BaseCompose/composeBlockElement()[C:\Development\tcal_core\flashx\tc al\compose\BaseCompose.as:150]
    at flashx.tcal.compose::BaseCompose/composeInternal()[C:\Development\tcal_core\flashx\tcal\c ompose\BaseCompose.as:213]
    at flashx.tcal.compose::ComposeState/composeInternal()[C:\Development\tcal_core\flashx\tcal\ compose\ComposeState.as:120]
    at flashx.tcal.compose::BaseCompose/composeTextFlow()[C:\Development\tcal_core\flashx\tcal\c ompose\BaseCompose.as:194]
    at flashx.tcal.compose::ComposeState/composeTextFlow()[C:\Development\tcal_core\flashx\tcal\ compose\ComposeState.as:89]
    at flashx.tcal.compose::StandardFlowComposer/http://ns.adobe.com/tcal/internal/2008::callThe Composer()[C:\Development\tcal_core\flashx\tcal\compose\StandardFlowComposer.as:383]
    at flashx.tcal.compose::StandardFlowComposer/compose()[C:\Development\tcal_core\flashx\tcal\ compose\StandardFlowComposer.as:434]
    at flashx.tcal.factory::TextLineFactory$/factoryMeasure()[C:\Development\tcal_core\flashx\tc al\factory\TextLineFactory.as:267]
    at flashx.tcal.factory::TextLineFactory$/createTextLinesFromTextFlow()[C:\Development\tcal_c ore\flashx\tcal\factory\TextLineFactory.as:186]
    at mx.graphics.graphicsClasses::TextFlowComposer/composeTextFlow()[E:\dev\trunk\frameworks\p rojects\flex4\src\mx\graphics\graphicsClasses\TextFlowComposer.as:123]
    at mx.graphics::TextGraphic/compose()[E:\dev\trunk\frameworks\projects\flex4\src\mx\graphics \TextGraphic.as:511]
    at mx.graphics::TextGraphic/measure()[E:\dev\trunk\frameworks\projects\flex4\src\mx\graphics \TextGraphic.as:297]
    at mx.graphics.graphicsClasses::GraphicElement/measureSizes()[E:\dev\trunk\frameworks\projec ts\flex4\src\mx\graphics\graphicsClasses\GraphicElement.as:2592]
    at mx.graphics.graphicsClasses::GraphicElement/validateSize()[E:\dev\trunk\frameworks\projec ts\flex4\src\mx\graphics\graphicsClasses\GraphicElement.as:2554]
    at mx.components::Group/validateSize()[E:\dev\trunk\frameworks\projects\flex4\src\mx\compone nts\Group.as:307]
    at mx.managers::LayoutManager/validateClient()[E:\dev\trunk\frameworks\projects\framework\sr c\mx\managers\LayoutManager.as:837]
    at mx.controls::List/makeRowsAndColumns()[E:\dev\trunk\frameworks\projects\framework\src\mx\ controls\List.as:1302]
    at mx.controls.listClasses::ListBase/makeAdditionalRows()[E:\dev\trunk\frameworks\projects\f ramework\src\mx\controls\listClasses\ListBase.as:3901]
    at mx.controls.listClasses::ListBase/updateDisplayList()[E:\dev\trunk\frameworks\projects\fr amework\src\mx\controls\listClasses\ListBase.as:3635]
    at mx.controls::List/updateDisplayList()[E:\dev\trunk\frameworks\projects\framework\src\mx\c ontrols\List.as:1004]
    at mx.controls.listClasses::ListBase/validateDisplayList()[E:\dev\trunk\frameworks\projects\ framework\src\mx\controls\listClasses\ListBase.as:3273]
    at mx.managers::LayoutManager/validateDisplayList()[E:\dev\trunk\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:622]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:695]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\trunk\frameworks\proje

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>xtaotao,<o:p></o:p></span></p> <br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Can<br />you please file a bug in the bug base at <a href="http://bugs.adobe.com/flex/">http://bugs.adobe.com/flex/</a><br />and include a simple test case (and/or a list of fonts not working for you)<br />showing the behavior. If you file against &#8220;Flex SDK&#8221; and the &#8220;Gumbo:<br />TextArea&#8221; it will end up in my queue and I can investigate and transfer<br />to the appropriate team(s) as needed.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Thanks,<o:p></o:p></span></p>< br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Peter<br />deHaan<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Flex<br />SDK Team | Adobe Systems Inc.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xtaotao<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Tuesday, November 04, 2008 4:07 AM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Re: Help, some font work on flash.text.engine throw Error #2161<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />xtaotao in <br><br /><br><br /><b>Developers</b> --<br><br />  Help, some font work on flash.text.engine throw Error #2161<br><br /><br><br />and more font work on flash.text.engine do not throw error, but display effect<br />are different with TextField. <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b6ee06/0">Help, some font work on<br />flash.text.engine throw Error #2161</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b6ee06!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • Need Help to develop a Funnel Graph Report using Multiple Subject Areas.

    Hi Everybody,
    Did any body developed Funnel based graph report in Answers..
    Scenario: I need to develop a report which is based on 4 Facts(4 Subject Areas) Report is sectioned with 4 block one blovk with one Fact Metrics like this four blocks.
    If any idea on such scenario it will be huge benefit for me.
    Thanks in advance.
    Thanks,
    Govardhana

    Yes, i can see datatype and number of columns is same in both queries.
    i have challanges to copy message but Error message seems to general. Error says (near to FROM) and I checked there are three FROM in query and all seems to be ok
    Query is something like as below
    select SA1.col1 saw_0,
    SA1.col2 saw_1,
    SA2.col1 saw_2,
    SA2.col2 saw_3,
    FROM
    (select col1 saw_0, col2 saw_1 from "subject area1") SA1
    FULL OUTER JOIN
    (select col1 saw_0, col2 saw_1 from "subject area2") SA2
    ON SA1.col1 = SA2.col1
    I can't see any issue in the query...please comment.

  • PL/SQL throwing errors! trying to alter dates

    the following code keeps throwing errors, I was wondering if it is due to me getting confused when to use ":" before a variable and also ":=" when setting values?
    Can anyone see what I am doing wrong?
    Here is the code, at the moment it is throwing an error on line 44
    ORA-06550: line 44, column 1:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    CODE.....
    DECLARE
         QNStart DATE;
         QNFinish DATE;
         Q1Start DATE;
         Q1Finish DATE;
         Q2Start DATE;
         Q2Finish DATE;
         Q3Start DATE;
         Q3Finish DATE;
         Q4Start DATE;
         Q4Finish DATE;
         Q5Start DATE;
         Q5Finish DATE;
         QNT NUMBER;
         Q1T NUMBER;
         Q2T NUMBER;
         Q3T NUMBER;
         Q4T NUMBER;
         QNR NUMBER;
         Q1R NUMBER;
         Q2R NUMBER;
         Q3R NUMBER;
         Q4R NUMBER;
    BEGIN
         case current_date
              when current_date between to_date('01-JAN', 'DD-Mon') AND to_date('31-MAR', 'DD-Mon') then
                        QNStart := to_date('01-JAN', 'DD-Mon');
                        QNFinish := to_date('31-MAR', 'DD-Mon');
              when current_date between to_date('01-APR', 'DD-Mon') AND to_date('30-JUN', 'DD-Mon') then
                        QNStart := to_date('01-APR', 'DD-Mon');
                        QNFinish := to_date('30-JUN', 'DD-Mon');
              when current_date between to_date('01-JUL', 'DD-Mon') AND to_date('30-SEP', 'DD-Mon') then
                        QNStart := to_date('01-JUL', 'DD-Mon');
                        QNFinish := to_date('30-SEP', 'DD-Mon');
              when current_date between to_date('01-OCT', 'DD-Mon') AND to_date('31-DEC', 'DD-Mon') then
                        QNStart := to_date('01-OCT', 'DD-Mon');
                        QNFinish := to_date('31-DEC', 'DD-Mon');
         End Case
    :Q1Start := ADD_MONTHS(:QNStart,-3);
    :Q1Finish := ADD_MONTHS(:QNFinish,-3);
    :Q2Start := ADD_MONTHS(:QNStart,-6);
    :Q2Finish := ADD_MONTHS(:QNFinish,-6);
    :Q3Start := ADD_MONTHS(:QNStart,-3);
    :Q3Finish := ADD_MONTHS(:QNFinish,-3);
    :Q4Start := ADD_MONTHS(:QNStart,-4);
    :Q4Finish := ADD_MONTHS(:QNFinish,-4);
    :Q5Start := ADD_MONTHS(:QNStart,-5);
    :Q5Finish := ADD_MONTHS(:QNFinish,-5);
    select COUNT(COUNT(*)) INTO :Q1T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q1Start AND :Q1Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q2Start AND :Q2Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q3Start AND :Q3Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q4Start AND :Q4Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNT from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :QNStart AND :QNFinish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q1R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q5Start AND Q5Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNR from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN QNStart AND QNFinish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    EXECUTE
    Cheers
    Simon

    Dave had given you already some good advice.
    Your code is not only too complicated, but you have also probably a bug in it. You have for instance a QNstart as to_date('01.01, 'dd.mm') and a corresponding QNfinish as to_date('31.03', 'dd.mm'). As this means, it is the time portion at 00:01, you are missing the complete last day of this interval. So you better do:
    declare
      l_QNstart      date;
      l_Q1start      date;
      l_Q1finish     date;
      l_q1t          number
    begin
      l_QNstart := trunc(sysdate, 'Q');
      l_Q1start := add_months(l_QNstart, -3);
      l_Q1finish := l_QNstart;
      -- your condition is now
      select count(count(*))
      into   l_q1t
      from   ff_actions f, ff_action_type_lov a
      where  f.date_entered >= l_Q1start and f.date_entered < l_Q1finish
      and    a.action_score = 'y'
      and    f.input_type = a.action_name
      group by f.company_name;
    end;
    /Message was edited by:
    Leo Mannhart
    btw: what is the difference between Q1Start / Q3 Start and Q1Finish / Q3Finish resp.?

  • Report from multiple subject areas

    Hi,
    I need to create a report from multiple subject areas. I am not sure whether it;s possible in OBIEE answers.
    Is there any other tool from OBIEE suite where I can design it?
    Thanks

    Yes, i can see datatype and number of columns is same in both queries.
    i have challanges to copy message but Error message seems to general. Error says (near to FROM) and I checked there are three FROM in query and all seems to be ok
    Query is something like as below
    select SA1.col1 saw_0,
    SA1.col2 saw_1,
    SA2.col1 saw_2,
    SA2.col2 saw_3,
    FROM
    (select col1 saw_0, col2 saw_1 from "subject area1") SA1
    FULL OUTER JOIN
    (select col1 saw_0, col2 saw_1 from "subject area2") SA2
    ON SA1.col1 = SA2.col1
    I can't see any issue in the query...please comment.

Maybe you are looking for

  • Parsing XML string with XPath

    Hi,- I am trying to parse an XML string with xpath as follows but I am getting null for getresult. I am getting java.xml.xpath.xpathexpressionexception at line where getresult = xpathexpression.evaluate(isource); is executed. What should I do after x

  • Stack dump while trying to view the JNDI Tree on a managed server.

    Hi, We are running WLI 9.2.3. I have a problem when trying to view the managed servers JNDI Tree via the Admin console. The admin servers JNDI tree appears to be fine, but trying to view the 1st managed servers JNDI Tree via the admin console keeps p

  • How to deal with package conflict?

    in j2me,i have imported a 3rd party package,the name of which start with java.awt,which conflict with j2se package,what should i do to avoid the conflicts?

  • BI Statistics cannot be captured in Portal or Query Designer

    We're experiencing inconsistent behavior of the BI Statistics capturing mechanism, possibly after our recent upgrade to  SAPKW70015.   It appears that only queries run via the Bex Analyzer are correctly captured in log tables (RSDDSTAT), whereas quer

  • Source used and source type problems????

    please help.. i know i am being very thick here - i have a page with two text fields (say :P8_item1 and :P8_item2) which are not database columns, but which are populated by LOVs (displays descr, returns key value) from database columns. the first fi