Query on multiple sources

Hi!
I can't get OBI EE to work on this issue:
I have an Oracle table (dimensiontable) with a certain primary key and I also have an Excel sheet with a defined name on a table source which contains a column that logically references the dimension's primary key column.
When I use Answers to query the heterogeneous object in the business layer / presentation layer, I get the following error message: nQSError 15018: Incorrectly defined logical table source. ....... does not contain mapping for ......
What am I overlooking?
René

Make sure the physical objects are joined together in the physical diagram and use a complex join in the business model between the 2 objects.
Michael

Similar Messages

  • Multiple SQL Query as Data Source

    I have an SQL Query as Data Source of my Crystal Report. It combine the contents of two tables.
    I want to do another SQL query based on the previuos SQL Query.
    Can I do this in CR ? How I can reference the new SQL query to the main SQL query ?
    Thanks,
    Gabriel

    This is my main Query
    SELECT
    SBO_001.dbo.JDT1.Account,
    sum(SBO_001.dbo.JDT1.SYSDeb - SBO_001.dbo.JDT1.SYSCred) AS Balance_001,
    0 as Balance_004
    FROM SBO_001.dbo.JDT1
    GROUP BY SBO_001.dbo.JDT1.Account
    UNION
    SELECT
    SBO_004.dbo.JDT1.Account,
    0 as Balance_001,
    sum(SBO_004.dbo.JDT1.SYSDeb - SBO_004.dbo.JDT1.SYSCred) AS Balance_004
    FROM SBO_004.dbo.JDT1
    GROUP BY SBO_004.dbo.JDT1.Account
    This is a result
    Account     Balance_001     Balance_004
    80800005     0     -431.67
    80800005     590121.07           0
    80800006     -3621028.250            0     
    88780056     5000.00                    0
    90731001     0                          174780.11     
    I want to obtain this result
    Account     Balance_001            Balance_004
    80800005     590121.07             -431.67
    80800006     -3621028.250            0     
    88780056     5000.00                    0
    90731001     0                          174780.11     
    How I Can modify this Query?
    Thanks,
    Edited by: gablus on Aug 7, 2009 1:43 AM

  • APD using Query with multiple structures as a data source

    All,
    I want to set up an automatic process which executes a query and exports it to a shared drive as a csv file. I have tried various options , when I try to use APD to set up the extract, I get an error and this is because the query that I am trying to use has Strucutres in both rows and columns. Hence, I am unable to use this option. I tried RSCRM_BAPI, It works well, but there is an issue with scheduling this in Process chain. I created an event and scheduled this as a job to trigger after "event" as per SAP instructions, but the job does not exist and it is not possible to trigger it through the Process chain unless the variables are hard coded in the query which I do not want to do.
    Can any one tell me if there is a way to deal with APD using Query with multiple structures?
    Would really appreciate if some one can give me the right solution...
    Thanks

    Hi Tanu ,
    APD is an option but its not very good with large amount of data or hiearachies or if you have attributes in you query structure .
    One more option for this requirement is use of report program using function module RRW3_GET_QUERY_VIEW_DATA .
    This will work fine with multiple structure etc .
    There are some overheads with this FM  ex: if amount of data is too much then program will give dump .Solution for that is we call the FM in LOOP by diving amount of data need to be fetched .ex:  we can read data quarter wise.
    For using this function module what you can do is write an ABAP program (At SE38 ) .which will call this FM and then write the output into a flat file which you can save at application server (AL11) .From there other system can read it .
    To automate this whole process you can further add all the report programs into a process chain (RSPC) which can be schedule as per requirement .
    To pass input parameters you can use variants that will pass the values to the report .
    Check thi link for sample code :
    [http://www.tricktresor.de/content/index.php?navID=696&aID=496]
    Hope this will be helpful .
    Regards,
    Jaya Tiwari

  • Can we merge data from multiple sources in Hyperion Interactive Reporting ?

    Hi Experts,
    Can we merge data from multiple sources in Hyperion Interactive Reporting ?Example can we have a report based on DB2
    Oracle,
    Informix and Multidiemnsional Databases like DB2,MSOLAP,ESSBASE?
    Thanks,
    V

    Yes, Each have their own Query and have some common dimension for the Results Sections to be joined together in a final query.
    look in help for Creating Local Joins

  • How to pass an array or structure, in addition to a query, or multiple queries to the Report Builder as parameters

    Is there a way to pass an array or structure for example as parameters, in addition to a query, or multiple queries to the Report Builder in CF8? I believe this was recommended by users to be in CF8.

    BrianO,
    Although it's been a while, I thought I'd provide the code to do this for you. It works for me in CF8, and probably will in CF7.
    Here I create a structure called My, and provide that one parameter to my CFReportParam tag.
    <CFSet My = {
    Client = "Client Name",
    ReportDateFrom = DateFormat(ThisStartDate, DateMask),
    ReportDateTo = DateFormat(ThisEndDate, DateMask),
    PageHeaderImage = ImagePath & "\Logos\Page_Header.png",
    WatermarkImage = ImagePath & "\Logos\Watermark.png",
    GetBarSummary = GetBarSummary,
    GetPieSummary = GetPieSummary
    }>
    <CFReport Template="#ReportPath#\SpendSummary.cfr" Format="PDF" Query="GetSummary">
    <CFReportParam Name="My" Value="#My#">
    </CFReport>
    Inside the report itself, reference the given parameter as Param.My.PageHeaderImage for example. It can be referenced that way from any expression inside the report builder. You can even use the queries as the data source for charts (using the Data From a Query -> Query Builder -> Advanced) by entering "Param.My.GetPieSummary" where it says "Variable containing query object".
    HTH
    Swift

  • Multiple sources

    I would like to have some advice what to do best and what can be done in the following scenario:
    In our rpd we have an oracle db as source. Now the come with an excel file as source. So we getting a rpd with a multiple source. In the oracle db we have data like: costcenters, time, jobs, absence, fte etc...
    The new excel file contains data like budgetted fte, time, costcenters etc...
    What to do with those two sources. For the budgetted fte i want to create a new fact. But what to do with the dimension data. Do i have to join them in de physical layer with the "dimension" tables of the oracle db ? can that be done?
    Or do i have to create a logical dimension table with two sources? My concern is that i get double records.
    So what to do is a scenario like this....
    can someone do some advice... if something is not clear... feel free to ask.

    Check here you have a complex example of query federation with an Excel file !
    http://st-curriculum.oracle.com/obe/fmw/bi/biee/r1013/bi_admin/biadmin.html#t8
    You must take attention that you must build also a ster schema in Excel.
    You must then have one sheet for the fact table and several others sheet for the dimension.
    OBIEE will perform a star query agains Excel and against the database and join them with an outer join on the dimension attribute.
    Good luck
    Nico

  • Multiple sources for Logical Tables

    The order of the sources in the logical table(in case of multiple sources) will it affect the query results??

    Hi,
    OBIEE pick the LTS using this algorithm:
    1) every logical fact table is set to a dimension level, every level in the dimension has a number of elements at that level
    2) OBIEE multiply for every LTS all the numbers of elements defined for a specific LTS
    3) OBIEE pick the LTS that has the lower valure (like a cost of access, it picje the most aggregated table)
    4) if there are multiple LTS with the same cost, OBIEE choses the first in order of defiition
    Regards,
    Gianluca

  • Custom query as a source in a mapping

    Hi,
    I am new to OWB, so please help... Is there any way to specify a custom query as the source in a mapping? I am trying to get data from multiple tables like -
    select t1.colA, t2.colB, t3.colC, sum(t2.colA - t3.colB) colD, sum((t1.colB - t3.colC)/t2.colB) colE
    from tableA t1, tableB t2, tableC t3
    where t1.id = t2.tableA_id
    and t2.id = t3.tableB_id
    group by t1.colA, t2.colB, t3.colC
    I wish I could have created a view in the source system with this query and just imported the view, but I don't have permissions to create any object in the source system. Can anyone point out how to do this?
    Thanks!

    Hi
    You can't write a query as such. However, as David suggested you can create that query by putting the objects in mapping.
    You would require 3 table operators, 1 joiner(for joing the 3tables and the function), 1 aggreagtor(for grouping) and an expression operator( for doing t2.colA - t3.colB). The ouput of aggreagator operator can be used as source. If you want to use the function you can use the in output variable of an expression operator.
    So, your mapping might look lke this.
    (t1,t2,t3)--> (Joiner with join conditiongiven in the where clause)-> Expression operator which are having inputs as t1.colA, t2.colB, t3.colC,t2.colA , t3.colB, colD,t2.colB. This expression operator would have ouput variables as in inout and also colE. For every ouput operator you assign the corresponding expression. nad for colE ,in the expression builder you use theprocedure with the input variable. The output would go into the Aggreagator operator where you can do the group by clause thing.
    I know this is a long description but still i hope it helps.
    Regards
    Vibhuti

  • Multiple Source parameter in QueryString

    Hi Experts,
    I am having a Page with a Default list view of a custom list. With jquery i relink the click on the edit-button to a custom Edit-Form and i add the Source to the QueryString, like so:
    var myList = $('a[href*="84858E12"]');
    if(myList)
    myList.each(function ()
    var att = $(this).attr('onclick');
    if(att)
    if(att.match(/ID=([0-9]*)/))
    var id = $(this).attr('onclick').match(/ID=([0-9]*)/)[1];
    var bo = $(this).closest('td').next('td').next('td').find('a').text();
    $(this).removeAttr('onclick');
    $(this).attr('href', '/Lists/myList/Edit.aspx?ID=' + id + "&BO=" + bo + "&InitialTabID=Ribbon.Read");
    $(this).attr('onclick', 'GoToLink(this);return false;');
    So my starting page was http://xxx.com/Seiten/acm.aspx
    Then when i click to edit my custom Form comes up and URL is:
    http://xxx.com/Lists/myList/Edit.aspx?ID=80&BO=LE/2014/2000080&InitialTabID=Ribbon.Read&Source=http%3A%2F%2Fxxxt%2Ecom%2FSeiten%2Facm%2Easpx
    This custom Edit-Form has a list view Webpart on the bottom to show related data from another list. Also here i relinked the edit button to a custom edit form of that list, like so:
    var hu = window.location.href;
    var gy = hu.split("&");
    var source =gy[0]; var orgurl = hu;
    var com = $("a[href*='ListId=%7B636BE5B5%2D8BD7%2D4CC0%2D9856%2DAF1A0F272C97%7D']");
    if(com)
    com.each(function ()
    $(this).removeAttr("onclick");
    $(this).click(function(e)
    e.preventDefault();
    var currentid = $(this).attr('href').match(/ID=([0-9]*)/)[1];
    var encbo = getBO();
    $s = "/Lists/many/Edit.aspx?ID=" + currentid + "&BO=" + encbo + "&InitialTabID=Ribbon.Read" + "&Source=" + source + "%26BO=" + encbo + "%26InitialTabID=Ribbon.Read";
    location.href = $s;
    So when i click i go to the related data edit form, URL is:
    http://xxx.com/Lists/many/Edit.aspx?ID=94&BO=LE/2014/2000080&InitialTabID=Ribbon.Read&Source=http://xxx.com/Lists/myList/Edit.aspx?ID=80%26BO=LE/2014/2000080%26InitialTabID=Ribbon.Read
    When i save or cancel i will come back where i came from (works great!) but then my origin starting URL (http://xxx.com/Seiten/acm.aspx) is not there as the Source Portion of the QueryString (And until now i didn't
    set it somewhere). So when i now click cancel or save (I am in the first custom edit form) I am at the Default AllItems.aspx and not where i started from.
    So i tried to add a second Source Portion to the Source, like so:
    $s = "/Lists/xxx/Edit.aspx?ID=" + currentid + "&BO=" + encbo + "&InitialTabID=Ribbon.Read" + "&Source="
    + source + "%26BO=" + encbo + "%26InitialTabID=Ribbon.Read"
    + "%26Source=" + orgurl;
    This will not work! -SharePoint does not parse the 2nd Source Portion and adds a comma into the QueryString.
    Does anybody know how to get around this?
    Thanks, Ronny

    Hi Ronny,
    According to your description, my understanding is that you want to pass multiple Source parameters in Query String.
    Per my knowledge, the full URL should be http://xxx.com/Lists/many/Edit.aspx?ID=94&BO=LE/2014/2000080&InitialTabID=Ribbon.Read&Source=http://xxx.com/Lists/myList/Edit.aspx?ID=80%26BO=LE/2014/2000080%26InitialTabID=Ribbon.Read%26Source=http%3A%2F%2Fxxxt%2Ecom%2FSeiten%2Facm%2Easpx
    based on your need.
    The second ‘&Source’ should be replaced with ‘%26Source’ and then the URL can work.
    Please test with the URL above in the browser directly to see if the issue still occurs.
    If not, please check if there is anything incorrect in your code.
    More information are provided in the link below:
    http://raymondlittle.wordpress.com/2011/10/13/passing-source-querystring-value-which-contains-multiple-querystring-values-to-an-display-edit-or-new-list-item-forms/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to use one af:query for multiple VOs

    Hi all,
    How can we use an af:query component to query on multiple VOs?
    Think of a page with search area and a tabbed pannel with two tables based on different view objects.
    Any ideas?
    Thanks
    Version
    ADF Business Components 11.1.1.56.60
    Java(TM) Platform 1.6.0_18
    Oracle IDE 11.1.1.3.37.56.60
    Edited by: Barbara Gelabert on 28-dic-2010 6:55

    Hi Santosh,
    Not yet implemented, but I was thinking on overriding the query listener and creating a view critera on the second view object as a copy of the first one. That involves capturing operands, operators and values set and then applying the criteria and executing the query.
    Anyway, in case you don't need complex operators in the search area but can add them as where clauses to the query statement, you can use search forms instead of query components as Shay Shmeltzer suggests in [url http://blogs.oracle.com/shay/2010/12/combining_multiple_queries_and.html?goback=.gde_1002457_news_308820955]his post.
    Regards,
    Barbara

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • Return Code - Query for Multiple Rows as XML

    Hi,
    I'm executing an MSSQL stored procedure through the "Query for Multiple Rows as XML" activity in LiveCycle ES. I do this through a call statement such as this:
    { call MyStoredProc(?) }
    This works great, the stored procedure always returns a record set (with or without records). I use this activity rather than "Call Stored Procedure" because I can transform the record set into XML right away within this activity. Unfortunately any exception arising from invoking this stored procedure cannot be handled within the workflow as this activity does not have an exception handler (lightning bolt). In an attempt to handle at least some exceptions we have decided to use try/catches within the stored procedures and return different error codes. Now the problem I am faced with is that there is no way to retrieve the returned code within any of the SQL activities. We don't want to have to write an execute script for each of these SQL calls. Is there any way to do this? Seems like I'm 95% there.
    Thanks
    Nic

    Thanks for the offer, unfortunately we would need something certified by Adobe.
    Nic

  • Report Queries - Multiple Source queries - One source returns & one doesn't

    Hi Folks.
    Odd one here.
    I have a report query entry in the Shared Components of the APEX UI.
    Within the Query are two source queries.
    Both return unique column names.
    Both use the same bind variable.
    When generating a PDF using the call to the report, the data from one query is being returned and the data from another is not.
    I have generated a sample XML file from APEX which is populated with data for both queries.
    If I import this into MS-Word using the BIP plugin and generate a preview all is fine. All fields using data from both source queries are populated.
    When generated via a regular call within APEX it simply does not work. I only get the data from one query.
    Does anyone have any suggestions?
    Anyone had a similar thing?
    Any comments/suggestions welcome.
    Many thanks
    Dogfighter.
    Message was edited by:
    Dogfighter
    Message was edited by:
    Dogfighter

    Hi Marc
    Does this make sense to you?
    I have now set up a simple report query and report layout.
    The record ID is hard coded into the query so that it only returns one row.
    I am using an RTF based template.
    If I navigate to Shared Components > Report Queries > Edit Report Query and then press the 'Test Report' button it runs perfectly.
    If I copy the 'Print URL:' value from this page and use it as the URL target on any page in the app. it also works perfectly.
    If I try and execute the following...
    update invoice_summary
    set invoice_pdf = APEX_UTIL.GET_PRINT_DOCUMENT (127, -- App ID
    'TEST_INVOICE', -- query name
    'TEST_INVOICE') -- layout name
    where invoice_summary_gsm_id = a.INVOICE_ID;
    I get the pdf saved to the BLOB column with the field labels in place but no data.
    Three ways of running the report.
    Two of them work perfectly but the one I want (generate direct into BLOB column) does not. Why would the exact same report query & report layout work with the other two methods but not the GET_PRINT_DOCUMENT route?
    It's not as if the pdf does not get into the BLOB column, it does, but it only has the labels and no values.
    Any ideas?
    Simon.
    PS. I only have one report query and one report layout set up so as to avoid confusion. Both with the same name.
    Message was edited by:
    Dogfighter

  • Satellite L-50 can't play audio from multiple sources

    I can't play audio from multiple sources. This is very annoying when I have 2 youtube videos playing, if I start playing something on the media player, there is no sound on media player, it's the same when I have 2 media players open and 1 youtube video playing, youtube video doesn't have sound..
    I already have all the latest drivers, last DTS driver update was in 2014, sound update this year's february..
    25/02/14
    DTS Studio Sound
    DTS Inc.
    Windows 8.1 - 64 Bit
    1.01.2700
     I don't know if this makes sense, but I got newer DTS sound driver which I found, It's not my laptop model, but they all seem to be the same - v1.1.88.0 
    I uninstalled DTS software and still had the same problem, so it's not affecting sound driver in any way..
    10/02/15
    Sound Driver
    Integrated Device Technology Inc.
    Windows 8.1 - 64 Bit
    6.10.6491.0
    IDT audio driver has newer release date, but the driver version is the same as the 2013 one..
    Why are toshiba releaseing old driver as 'NEW' ?
    2nd is my speakers advanced settings, nothing changed when I disabled "Allow applications to take exclusive control of this device"
    Attachments:
    audio.png ‏6 KB
    test2.png ‏7 KB
    specs.png ‏16 KB

    Can you check the full model and part number from the laptop?
    - Peter

  • Satellite L50-A-19N can't play audio from multiple sources

    I can't play audio from multiple sources. This is very annoying when I have 2 youtube videos playing, if I start playing something on the media player, there is no sound on media player, it's the same when I have 2 media players open and 1 youtube video playing, youtube video doesn't have sound..
    It goes away when I plug out my headphones..
    I already have all the latest drivers, last DTS driver update was in 2014, sound update this year's february..
    25/02/14
    DTS Studio Sound
    DTS Inc.
    Windows 8.1 - 64 Bit
    1.01.2700
    I don't know if this makes sense, but I got newer DTS sound driver which I found, It's not my laptop model, but they all seem to be the same - v1.1.88.0
    I uninstalled DTS software and still had the same problem, so it's not affecting sound driver in any way..
    10/02/15
    Sound Driver
    Integrated Device Technology Inc.
    Windows 8.1 - 64 Bit
    6.10.6491.0
    IDT audio driver has newer release date, but the driver version is the same as the 2013 one..
    Why are toshiba releaseing old driver as 'NEW' ?
    2nd is my speakers advanced settings, nothing changed when I disabled "Allow applications to take exclusive control of this device"

    I see that the option called “give exclusive mode applications priority” has been checked.
    Usually different applications and programs can access the sound card simultaneously.
    For example: you can hear the sound in game, while you can run your own music via an external player.
    This is prevented with these options “give exclusive mode applications priority”.
    Maybe you should disable (uncheck) this option to prevent the different applications for using this exclusive mode stream.
    I did it for my DAC. I set the DAC for exclusive mode. Once my audio playback software starts to play music, no other software is able to share the DAC.
    However, I use Win 7 and Realtek sound driver… It’s another configuration.
    So it’s not known to me if your issue is related Win 8.1 system or maybe limitation of sound driver… it could be also possible that one of your sound applications don’t allow multiple sound streaming.

Maybe you are looking for

  • MSI 785GM-E51 no post issues

    I can't get this board to display anything and I get no beeps. CPU is Phenom ii x2 550 and memory is 2x2gb Elipda PC3 10600 EBJ21UE8BDF0-DJ-F. Power supply is a 380w Earthwatts but I also tried another one with the same issues. The thing is that when

  • Borderless Printing issues with HP Officejet 4500

    I have created a document using Microsoft word 2007 and am having trouble printing this document without borders. I have a HP Officejet 4500 which does support borderless printing. I have gone into properties when getting ready to print and made sure

  • Transaction F-53 Post outgoing payments

    Hi. I have used BAPI_ACC_INVOICE_RECEIPT_POST for posting of invoice receipt / outgoing payment with success. But I futhermore want to mark my reference document / received invoice as cleared. Technically I wants to fill the clearing information on t

  • How do i make a scrolling text box?

    hi, i'm looking to make a text box that the user can control the scrolling, i've made it how i want it to look already, but i haven't got a clue where to start as to how to make it actually work. here's how i've got it set up so far, okay this is gon

  • Sattelite Pro A10-S703 Memory Upgrade

    I cannot find any specification for the memory upgrade for the SA10-S703 Model. Which memory should I buy? Please help, as this is kind of urgent