Answers shows error for table that is not used in query

Hi,
I have two fact tables, both share one common dimension and also have other dimensions. For simplicity let's assume there are only two dimensions for each fact: Dim1 and Dim2 have joins to Fact1 and Dim2 and Dim3 joins to Fact2. (Dim2 is joined to both).
When I query in answers aggregated data from Dim2, Fact1 and Fact2 everything is ok. When I query data from Dim2 and only Fact1 also everything looks fine, however when I query data from Dim1 and Fact1 I get error about Fact2
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table fakti - Grāmatojumu rindas) does not contain mapping for [dim - Piegādātājs.Hansa kods]. (HY000)
SQL Issued: SELECT "dim - Piegādātājs"."Hansa kods" saw_0, "fakti - Piegādātāju rēķinu rindas"."Summa ar PVN (LVL)" saw_1 FROM "Kreditori single source" ORDER BY saw_0
As you can see table "fakti - Grāmatojumu rindas" is even not shown in SQL Issued.
One more thing - if I first query data from Dim1, Dim2 and Fact1, look at results and afterwards delete Dim2 (leaving Dim1 and Fact1) then query returns data without error.
Must be that error is in Business Layer, but I have no idea what should I do to correct it.

Sveiks!
I am not really sure what could have caused this. And, obviously, rebuilding the repository helped.
It seems you could get it to work if you queried dim1, dim2 and fact and then removed dim2 (like you said). So, that suggests something almost on the order of a glitch or, possibly, a bug. The fact that simply rebuilding the repository helped seems to support my glitch hunch, but I am not really sure.
I am relatively new to this product, and the only thing I can suggest as far as business model goes is to pay attention to any warnings when you do "Check Global Consistency". Sometimes, things work even with warnings, but you might encounter strange problems down the line.
-sb

Similar Messages

  • HT201210 how to resolve error 21? my iphone 4 just showing apple logo... when i'm trying to restore it... it is showing error 21 n that's not letting me restore it :( pls help

    how to resolve error 21? my iphone 4 just showing apple logo... when i'm trying to restore it... it is showing error 21 n that's not letting me restore it pls help

    From the article that the question was posted from:
    Error 1611
    This error typically occur when security software interferes with the restore and update process. Follow Troubleshooting security software issues to resolve this issue. In rare cases, this error may be a hardware issue. If the errors persist on another computer, the device may need service.
    Try reading the solutions you find in the future and follow them.

  • Senior Citizens have been overcharged for approximately 3 years for services that were not used.

    The technician that personally visited the home confirmed, while servicing a technical issue, that the FIOS service sold to the Senior Citizens were not needed and not used. There is no need for the package that has been paid for over the years despite attempts to reduce the monthly bill with customer service. The home has no computers or any other device that needs a internet connection. Please help these seniors that are on a fixed income.

    Just a friendly reminder, this is a forum where users help other users. It looks like your issue may require a Verizon representative to review your account details. Please visit our Support page for a variety of ways to contact Verizon, including “Ask Verizon,” our virtual chat agent, and customer support phone numbers.

  • Is it possible to use events for objects that do not use swing or awt

    Dear Experts
    I want to know if events are possible with plain java objects. A simple class that is capable of firing an event and another simple class that can receive that event. My question is
    1. If it is possible - then what is the approach that needs to be taken and would appreciate an example.
    2. Is Observer Pattern in java going to help?
    To explain further i am doing [Add,Modify,Delete,Traverse] Data tutorial using swing in Net beans. I have a ButtonState Manager class that enables and disables buttons according to a given situation. For example if add is clicked the modify button becomes Save and another becomes Cancel. The other buttons are disabled. What i want is the ButtonStateManager class to do a little further - i.e. if Save is clicked it should report to DBClass that it has to save the current record which was just added. I am foxed how this can be done or what is the right way. Thanks for reading a long message. Appreciate your help.
    Best regards

    Thanks Kayaman
    i guess i am doing something else maybe it is crazy but i need to work further i guess... i cant post the entire code as it is too big but some snippets
    public class DatabaseApplication extends javax.swing.JFrame {
        ButtonStateManager bsm;
        /** Creates new form DatabaseApplication */
        public DatabaseApplication() {
            initComponents();
            // ButtonStateManager has a HUGE constructor that takes all the buttons as argument!
            bsm = new ButtonStateManager(
                    btnAdd,
                    btnModify,
                    btnDelete,
                    btnQuit,
                    btnMoveNext,
                    btnMovePrevious,
                    btnMoveLast,
                    btnMoveFirst );One of the methods in the ButtonStateManager Class is as follows
      private void modifyButtonState()
            btnAdd.setText("Save");
            btnModify.setEnabled(false);
            btnDelete.setText("Cancel");
            btnQuit.setEnabled(false);
            ...Finally the Crazy way i was trying to do ... using EXCEPTIONS!
      void modifyClicked() throws DBAction
            if(btnModify.getText().equalsIgnoreCase("MODIFY"))
                modifyButtonState();
            else
                throw new DBAction("SaveAddedRecord");
        }And Finally how i was Tackling exceptions....
      private void btnAddActionPerformed(java.awt.event.ActionEvent evt) {                                      
          try {
                bsm.addClicked();
            } catch (Exception e1) {
                processDBAction(e1.getMessage());
        private void processDBAction(String msg)
            if(msg.equalsIgnoreCase("SAVEMODIFIEDRECORD"))
                System.err.println(msg);
                bsm.normalButtonState();
            }Edited by: standman on Mar 30, 2011 4:51 PM

  • How to find BEx queries that were not used along with no of times executed

    Hi SDN,
    I need build a query which shows the BEx reports that were not used and also the number times the query was executed.
    I built the query on "multiprovider 0TCT_MC01" in which I used the KF "0TCTQUCOUNT" then the query is not capturing this information, while executing from Portal. ( as stated in /thread/716593 [original link is broken]).
    If anybosy happen to know the solution please share.
    Also
    as stated in this link (BW 3.5 Statistics - User Hits)
    Is there any infoobject which has the exact functionality as of the "0TCTNAVCTR" of 0BWTC_C02 (we can not use 0BWTC_C02 as we are in BW 7 SP16).
    I think it is very well known issue but there is not any exact solution to it if anybody finds the solution please update this points will be assigned
    Thank you,
    Prasaad
    Edited by: Prasaadbw on Mar 18, 2010 2:01 PM

    Hi,
    Try from one of these tables RSZRANGE, RSZELTXREF,
    RSZELTTXT,RSRREPDIR,RSZSELECT,RSZCOMPDIR.
    There is a field 'Last Used'.
    You can get some info when Query was used last
    -Vikram

  • PLSQL - Creating a cursor for a table that does not exist

    I am writing my first PLSQL program, and I have run into a problem creating a cursor.
    I have a cursor that accesses a table on another database via a database link. The database link does not yet exist, so the first thing that my PLSQL does is create the database link. The problem is that I have to define my cursor before I have executed the code for the database link, and the compiler gives me an error for referring to a table that does not yet exist. How can I get around this?
    Here is the basic structure of my program
    DECLARE
    --cursor defined here
    BEGIN
    --code creates database link if it does not yet exist
    --code executes cursor
    END

    I'm still not sure I understand why the database link can't be created in advance... Once you run your code once, the database link is going to exist permanently. Why not just create it at compile time like every other object in your application?
    It's sort of like trying to create a table at runtime-- if you do that, you can't refer to that table in static SQL later on. You can do everything with dynamic SQL, but that's going to substantially increase the complexity of your code.
    Additionally, you have to have the CREATE DATABASE LINK privilege granted directly to the user running your code, not through a role, which seems like a huge security hole.
    Justin

  • I have to pay for something that was not my fault, nor Verizon's fault, but is an act of God/nature.  Why is that?

    As I stated above, "I have to pay for something that was not my fault, nor Verizon's fault, but is an act of God/nature.  Why is that?"  I had a hard time keeping my phone charged at one time, so I called/visited my local retailer of Verizon, and they ordered me a new battery (first step after cleaning my phone. Not like it was dirty anyways). Got a new battery, put it in, still same problem.  Would not charge...boo! So, I bring it back, and they order me a replacement phone, since it "is still under warranty, and insured".  When I first brought my phone in, the young lady said, "That is why it is not charging; it was the charger port, that is why it was not charging. It is as loose as a goose" So, that is why she ordered me a new one. 
         So, get the new phone, put "new battery" back in.  All is good, all of what, 2 maybe 3 weeks later.  Now it is doing the same thing again. Checked the charging port, it is fine.  Bring it in, to the store, and questioned the young man behind the desk, and find out why I was charged the $299.95(+taxes & s/h). He said, "it was because the old phone was because there was "corrosion" around the port."  Of course, there was not a single note of it being loose.  He continued, and said it was because it was there had to be a time where you spilled something on it, even if it was a drop of any kind of liquid. Or, you/ or someone else, had it in the shower with them."  (Really, a drop of liquid, or taking the phone with me in the shower?)  How I could I get a "drop" of liquid in it, if I had an Otter-box on it, or why would I take it in the shower with me?  I admit, I am not the sharpest tool in the shed, but, really? Come on now!
         Since, I have to now pay for it, I am kind ‘a wondering if anyone else has, or had the same problem with their phone (s).  My wife has the same phone and she has not had this same problem.  Makes me wonder.  Since, my phone is doing this again, if it is something that I am doing wrong with it or not.  So, now they have ordered me a new battery, and we will see if this will be a new fix, or "good bye to Verizon."  Any comments, or suggestions, please email wife and me, and let me know. Thanks and God bless.

    Don't really see how this would be an act of God/nature.
    Regardless, are you saying Verizon should have to pay for those, though?

  • Can EJB 3.0 beans be used with tables that do not have a primary key?

    Can a EJB 3.0 persistence bean be used with tables that do not have a primary key defined? I am building a test application based on the HowTo - Building EJB 3.0 Faces App paper posted after Openworld (schalk). The issue I am running into when trying to run the application is: Exception Description: Entity class [class com.persistence.Rpthead] has no primary key specified. Note: I get a simular error when using toplink directly.
    The tables I am binding to do not have primary keys defined. They use unique constraints to manage the table integrity.
    Is it possible to use EJB 3.0 on tables without a primary key? If not, are there plans to support this in the future?

    The spec requires a primary key Id annotation. I will take your suggestion to EJB 3.0 expert group.
    Can you also send an email to [email protected] with your requirement?
    -Debu

  • Looking for table that links a PM Reservation to a MM Purchase Requisition

    Looking for table that links a PM Reservation to a MM Purchase Requisition

    Hi,
        Typically the way most SAP systems are configured, there are two scenarios here:
    1. The component reserved in the PM order is item category 'N'. This is a non inventory item and must be directly procured for consumption against the PM order at the point of goods receipt. In this case no reservation is created and instead a requisition is directly created (in table EBAN) and the requisition is account assigned directly to the PM order (in table EBKN - field AUFNR).
    2. The component reserved in the PM order is item category 'L'. In this case no requisition is directly created, instead a reservation is created against the item in stock (in table RESB). If there is sufficient stock of the item already then the item is consumed when it is goods issued to the PM order from stock using MIGO and there is no requisition created. In the event that there is not sufficient stock of the item for the reservations that exist, when MRP is run, a requisition will be created to replenish the stock, but this requisition will not be assigned to a specific PM order as it could be replenishing stock of the item for several reservations which are all for different orders. So in this scenario there is no direct link from the reservation generated by the PM order to the requisition.

  • This website is driving me crazy.   All I need to do is to contact a real body for help that is not listed.

    This website is driving me crazy.  All I need to do is to contact a real live body for help that is not listed.
    This shouldn't be that difficult.  GRRRRR

    Post DETAILS about the help you need here and someone may be able to help... some questions to get you started
    From the Premiere Elements Information FAQ http://forums.adobe.com/thread/1042180
    •You MUST use an account with Administrator Privileges to run Premiere Elements
    •(Doing Run as Administrator http://forums.adobe.com/thread/969395 [says Encore and also for "All" versions of Premiere] will sometimes fix "odd" errors)
    •What version of Premiere Elements? Include the minor version number (e.g., Premiere Elements 12 with the 12.0.1 update).
    •What operating system? This should include specific minor version numbers, like "Mac OSX v10.6.8"---not just "Mac"
    •Has this ever worked before?  If so, do you recall any changes you made to Premiere Elements, such as adding Plug-ins, brushes, etc.?  Did you make any changes to your system, such as updating hardware, printers or drivers; or installing/uninstalling any programs?
    •Have you installed any recent program or OS updates? (If not, you should. They fix a lot of problems.)
    •What kind(s) of image file(s)? When talking about camera raw files, include the model of camera.
    •If you are getting error message(s), what is the full text of the error message(s)?
    •What were you doing when the problem occurred?
    •What other software are you running?
    •Tell us about your computer hardware. How much RAM is installed?  How much free space is on your system (C:) drive?
    And some other questions...
    •What are you editing, and does your video have a red line over it BEFORE you do any work?
    •Which version of Quicktime do you have installed?

  • Everytime I try to send an Adobe PDF file the "verification" process shows an email address that is NOT mine.  The process always fails.

    Every time I try to send an Adobe file the "verification" process shows an email address that is NOT mine.  Files cannot be sent because verification always fails.

    Hey,  Thanks again for the help.  Everything is running smoothly now.
    Take care and all the best,
    Wade
    Wade K.  Woodcock  CA  BRE # 01375606
    Keller Williams  R.E. Services (Glendale, CA)
    323  -  633  -  WADE -  (9233)        Mobile
    818  -  432  -  3200                       Office
    818  -  432  -  3232                          Fax
    On Tue, Sep 30, 2014 at 9:37 AM, Sara.Forsberg <[email protected]>

  • ITunes cannot get CD track names for CDs that were not imported with iTunes

    I have a number of WAV files and MP3 files that already have album information. I would like to erase that information and have it replaced using the "Get CD Track Names" function, but keep receiving an error message of "iTunes cannot get CD track names for CDs that were not imported with iTunes." Is there some way to strip the previous information and replace it with information that iTunes receives with the "Get CD Track Names" function?

    Programs like itunes use characteristics of the CD such as track duration and sequence to identify CDs. Potentially this could be modified in a very small manner (maybe even a millisecond) in converting to a different format so maybe itunes doesn't even want to try getting the information for other formats.
    You can certainly replace whatever information you wish by "get info" on a single or multiple selection of files and entering the data by hand.

  • HT2404 how do you get your money back for software that does not perform as advertised?

    how do you get your money back for software that does not perform as advertised?  I purchased the batch coverter to watch .swf video which it states it supports, but it will not open the files and I want my money back!!!!!

    tell Apple.  http://www.apple.com/feedback/
    iTunes Store Terms and Conditions specifically states: All sales and rentals of products are final.

  • HT3702 I have paid once for one month subscription for al jazeera sport live app. I just released after few months that they are automatically charging me on monthly bases. How i can stop them charging me for something i did not use and i did not authoriz

    I have paid once for one month subscription for al jazeera sport live app. I just released after few months that they are automatically charging me on monthly bases. How i can stop them charging me for something i did not use and i did not authorize?

    You possibly set up an auto-renewing subscription with the app - there are instructions on this page on how to manage them, including how to stop them : http://support.apple.com/kb/HT4098

  • Is there a solution for graphs that do not translate from Excel to PDF?

    We are working on an Excel Spreadsheet with graphs but when we create a PDF of the sheet the graph does not contain the ledger or values. Is there a solution to this problem. We have tried both printing to PDF and exporting to PDF.

    Just a note: If you want to print the PDF to paper, it may still not print correctly even though it looks correct on the PDF document- the printed graph may flow off of the paper sheet.  When you click Print, a print dialog box opens with some options and a preview.  If the preview does not look correct, change the size option to "Shrink oversized pages".  
    Jeffry Calhoun
    Workforce Analytics Manager
    Ohio Department of Job & Family Services
    P.O. Box 1618, Columbus, OH 43216-1618
    InterAgency: F376, 4020 E. 5th Avenue
    614-644-0564
    Fax 614-728-5938
    [email protected]
    OhioMeansJobs.com -
    The next best thing to having an HR department.
    OhioMeansJobs.com -
    Ohio's premier website for connecting businesses and job seekers - quickly, easily, and for free!
    >>> alscud <[email protected]> 4/9/2012 9:34 PM >>>
    Re: Is there a solution for graphs that do not translate from Excel to PDF? created by alscud ( http://forums.adobe.com/people/alscud ) in Creating, Editing & Exporting PDFs - View the full discussion ( http://forums.adobe.com/message/4323530#4323530 )
    Thank you Lori for your help your suggestion works!
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4323530#4323530
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4323530#4323530. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Creating, Editing & Exporting PDFs by email ( mailto:discussions-community-acrobat-creating__editing_%[email protected] ) or at Adobe Forums ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=4697 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Ohio Means Jobs
    You're looking for something unique. Use more than an ordinary site.
    http://www.ohiomeansjobs.com
    This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, employee, or agent responsible for delivering this message, please contact the sender by reply e-mail and destroy all copies of the original e-mail message.

Maybe you are looking for

  • Bought and Paid but Didn't download

    I paid $15 for one of the nike + ipod workouts and only half of it downloaded and now it won't let me download the rest unless I pay for it again, bringing that to a grand total of $30 and the songs I did download I can't listen to because it says th

  • How to create multiple channels in DAQmx

    Hello , I created an application based from this example program, MultiFunctionSyncAIAO_DigStart (from VCNet). I added another input and output channels, which later on I plan to add trigger features between the two signals ( could be both inputs, bo

  • Why is iTunes showing foriegn characters as boxes?

    My iTunes has foriegn characters as boxes everytime I attempt to enter them.  This seems to be a new occurance for me.  Any help?

  • SWT Weird problem

    Hi Everyone: This is a very strange problem I've been having with my particular SWT application. Everything compiles fine, and even funs fine, but when I do run it, none of the GUI components are actually visible on the display. Here's the code: impo

  • How to disable Line Details form

    Hi, i have a grid and i want to add a functionality to the double click of the rowsHeader column. But when i double click that column it always opens a line details form. I tried to trap the FormLoad evente but nothing happends. Thanks, Ana Silva