Using Bex query through Query Browser - add result set to Cell range?

Hi all,
I have up to now used Xcelsius on NW with BICS connection towards BEx queries.
When I use this connection via Data Manager in Xcelsius, I'm able to use the Cross-table functionality to insert my entire dataset into a cell Range.
But now I have an requirement to save my Dashboards on the BO server, so I need to go through Query Browser to extract data from SAP BW to my Dashboard.
When inserting the query in the Query browser and I want to assign the data to Excel ranges, it seems like I need to do this for each individual Infoobject and Key Figure. Since I have many Key Figures (30-50), this is a lenghty process.
Is there a way to insert the entire dataset from Query into a cell range (both rows and columns), or do I need to do this for each Key Figure as indicated in the screen shot above?
--> I know that the Query Browser flattens my cross-table from the Query, but still, it should be possible to avoid to input all my Key Figures (30-50) individually to corresponding cells in my Excel part of the Dashboard.
regards
Oddmar Lid
asdfasf

Hi Oddmar,
If you want to display the data retrieved from the query you could map the data using the Query data.
Pull scorecard component (for example) and in properties if you see the Display data click on the dropdown and select Query data.
Hope this helps !

Similar Messages

  • SQL query with parameter returns empty result set, please help !!!

    Hi there,
    When I use the following query :
    <sql:query var="beroepsthemas" >
    select *
    from beroepsthemas
    where beroepsthemaid = ?
    <sql:param value="12"/>
    </sql:query>
    When I want to browse the result set with :
    <c:forEach items="${beroepsthemas.rows}" var="rij">
    it shows no records. But it must return at least one.
    All my jsp pages with sql queries and parameters have the same problem.
    This is all on my test environment. I'm using Ubuntu 5.10, Netbeans5.0, JDK 1.5_06, application runs in Bundeled Tomcat 5.5.9, MySQL 4.1.12, mysql-connector3.1.6
    When the same code is run on the live environment, it works just fine.
    The difference is :
    Mysql 4.1.10a, tomcat5.5.9, mysql-connector3.1.6
    What can there be wrong !!

    When the same code is run on the live environment, it
    works just fine.
    The difference is :
    Mysql 4.1.10a, tomcat5.5.9, mysql-connector3.1.6
    I didn't catch this. I think you may need to update the database driver.

  • Broadcasting to Enterprise Portal using Bex Broadcaster from Query Designer

    I have already been able to broadcast from Query Designer using BEx Broadcaster to the portal based on a role or a user.
    I select "Export into Enterprise Portal" as the Distribution Type. 
    I then select "Export Document to Personal Portfolio" and then enter a role.
    Then I check "User-specific" because I want it to be user specific.
    This all works fine. 
    Now I get to my question.
    Can I go one step further and broadcast to a folder call... lets say "Sales" inside of their Personal Portfolio?

    Hi Eric,
    I have the same problem. Were you able to resolve it?

  • Query - Cannot Retrieve the Data / Result Set

    Hello,
    I'm trying to query a cube through the OLAP connection using Java and every time I try to execute a query an exception is thrown stating "Cannot retrieve the data set" or "Cannot retrieve the result set" depending on how I'm doing the query.  I've tried to execute the query both through the use of an IBIQuery and IBICommandProcessor object as well as directly through the IBIOlap connection via an MDX statement and both methods produce the same exception.  If anyone can shed some light on why exception is being thrown it would be greatly appreciated.

    please help me ... The question has nothing to do with 'getting' data from excel and certainly not with putting it into MySQL.
    The stack trace specifically tells you that your connection string is wrong.
    It also tells you which connection string is wrong.
    Which you can use to determine specifically which one is wrong. And which you did not provide that info to us.

  • AF Query: Criteria fields disappearing but result set not refreshed

    I have been searching for days and cannot find a solution to this problem. I have an af:query component based on a view criteria. I have the query component only displayed as an advanced search without the basic/advanced toggle. A user can then use "Add Fields" and filter down their result set. Now whenever the user navigates away from that page and returns the filtered result set remains, but the list of fields that the user added to filter on are missing, i.e.
    Search Box
    Field1 is not blank
    Navigate away and return
    Search Box
    blank; nothing listed here, but result set is still filtered for Field1 not blank.
    The only thing the customer can do is add a bogus field, and then click reset to return the entire result set.
    If anyone can help with this problem, I would greatly appreciate it. I am using:
    JDeveloper 11.1.1.4
    Oracle 11g
    Weblogic 10.3
    Thanks,
    Michelle

    Actually, in researching another problem, I think this is either a problem with jheadstart or with .jsff pages. I created a test case for a different problem that I posted to metalink and in this I did not use jheadstart and I used just a single .jspx page with a panel tabbed layout. The problem does not occur here, so one of the 2 is causing my problem, now the question is which.
    Thanks for your help,
    Michelle

  • BEx activities through a browser

    Hi,
    1. If I have access to create backend objects, reports, etc in BEx, and I have just been given a access to the system through a browser (online), can I perform the same functions? For example, how to I run rsa1? Also, rrmx to create a report?
    2. also, if I created a new report through BEx on my desktop, how can I make it available online so that it can be viewed through a browser?
    Thanks

    1. If I have access to create backend objects, reports, etc in BEx, and I have just been given a access to the system through a browser (online), can I perform the same functions? For example, how to I run rsa1? Also, rrmx to create a report?
    If  you mean to say that you got a Remote (VPN) access to the system, then yes you can do all the things you can do just the way as being in the network.
    2. also, if I created a new report through BEx on my desktop, how can I make it available online so that it can be viewed through a browser?
    You wouldnt be creating on ur desktop, rather on the server. So it would be available just like any other BI report you have on the system.

  • JdbcodbcDriver uses the wrong charSet for interpreting the result set data

    Hi everyone,
    I?m having trouble getting results from a MS Access database which uses Greek characters. All the characters in the range 0-127 are returned good but I get ??? for all above 127.
    Here is some more details:
    OS: win2k
    Local setting for current user: Greek (not that it makes a difference)
    Default Language setting for the System: English (Astralia). This uses charSet Cp1252 or ISO 8859-1 encoding.
    Environment: JBuilder 7.0
    JDK: 1.4.1
    DB: MS Access
    DB charSet: Cp1253 (Greek encoding or ISO 8859-7)
    Connection method:
         java.util.Properties prop = new java.util.Properties();
         prop.put("user" , userName);
         prop.put("password" , password);
         //driver is "sun.jdbc.odbc.JdbcOdbcDriver";     
         //none of these work
         //prop.put("charSet", "UTF-8");
         //prop.put("charSet", "Greek");
         prop.put("charSet", "Cp1253");
         connection = DriverManager.getConnection(MY_ACCESS_DB,prop);
    DataSet Access method:
         // run query and get resultSet rs here
         char[] cBuff= new char[1000];
         // I have tried getString(), getBytes(), getBinaryStream also
         Reader rReader = rs.getCharacterStream(3);
         BufferedReader fIn = new BufferedReader(rReader);
         int res = fIn.read(cBuff, 0, 999);
         // contents of cBuff is incorrect here
    I have also used -Dfile.encoding=Cp1253 in command line which seems to change the default charSet of the JVM. Tested
         String en = new InputStreamReader(System.in).getEncoding();
         System.out.println("Default encoding: " + en);
    By enabling trace and looking at the content of the resultSet object it shows that
    rs.OdbcApi.charSet = "Cp1253"
    So I'm absolutely stumped. The only possible problems I can think of is either a bug in the jdbcodbcDriver or in my native ODBC driver. The latter is less likely since I connected to the same datasouce using a different application and get the right result.
    One more thing that may be helpful, if I set up the default charSet under Win2K to "Greek" (that is setting default language setting in Regional Options under Control Panel)
    Everything works fine.
    Is there anyone out there with answer to my problem?
    Thanks in advance.

    Tried your program and it does exactly as I expected. I get a whole lot of '?'s with my OS default language setting on English but it works fine as soon as I set it to Greek. It does not make a difference if I change the "input language" on the language bar (shift+ctrl) to Greek or not. Or if I change the charSet in your program to something else. Which bring up the question what do you use the charSet setting on your program for? If it is for byte conversion, I don't think you need it since the OS default charset is used by ResultSet.GetString and that needs to be set anyway.
    Anyhow your program basically behaves exactly the same way as mine does. I am almost 100% sure that the problem is with the properties used (or not used) when creating the connections. There has got to be a (provider) property like "useUnicode" or "charSet" or something that is passed through jdbcodbc bridge to ODBC to MS Access to force it to return the result set in UTF-8 format. I confirmed this by using Visual C++ data access program that i wrote (which has the same sort of problem). All other MS Office products know about this property that why they work when i imort data from them.
    This means I don't have a jdbc or even a java problem but my problem is MS Access related. So I�m going to post a question on an MS Access user group (if I find one) and see what I get). Thanks for your help with this.
    By the way AOKabc crashed once and froze another time. I think it had more to do with the libraries you are using rather than your code. I have a trace log if you are interested.
    Soheil

  • Query database and return result set to cells.

    hello all i have vsto solution im building im trying to put together a generic query text box for my end user the only problem is that it appears to be that with oracle data access when you do a query you must pass all the values to a variable.
    Sub Orcl()
            Dim oradb As String = "Data Source=(DESCRIPTION=(ADDRESS_LIST=" _
                       + "(ADDRESS=(PROTOCOL=TCP)(HOST=xxx)(PORT=1521)))" _
                       + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=xxx)));" _
                       + "User Id=xx;Password=xx;"
             Dim conn As New Oracle.DataAccess.Client.OracleConnection(oradb) ' Visual Basic
            conn.Open()
            Query = select * from fabinvh
            Dim cmd As New Oracle.DataAccess.Client.OracleCommand
            cmd = conn.CreateCommand()
            cmd.Connection = conn
            cmd.CommandText = Query
            Dim dr As Oracle.DataAccess.Client.OracleDataReader = cmd.ExecuteReader()
            While dr.Read()
                Globals.ThisAddIn.Application.ActiveCell.Value = (dr.Item(1))''' HOW DO I CHANGE HERE TO JUST BRING IN ALL THE COLUMNS AND HEADERS?
                Globals.ThisAddIn.Application.ActiveCell.Offset(1, 0).Select()
            End While
            dr.Dispose()
            cmd.Dispose()
            conn.Dispose()
        End Subthanks in advance im able to do this with oo4o rather easily but I'm tryint go learn more of the odp.net oracle data access and learning is pretty slow right now.

    ok I think im getting closer to my answer i believe i need to use the
    GetValues. property. does anyone have an example on how to use this i keep getting errors when i try it.

  • Using PgDn key on eBay browsing screens results in a 2-step jerky display to move from one screenful to another - this problem is not apparent on other websites

    This problem has been apparent for some time in Firefox and has not been fixed in version 22. The scrolling using PgDn key works smoothly in Internet Explorer.

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Also try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • Code to run a query in SQL from Access with pass through query

    I have a query in SQL Server 2008:
     [Auto Null Up Date].sql. I want to run this query from Access 2007 using a Pass Through Query. What is the command/code to run this query from Access? I have used Pass Through Queries but never in this capacity so I am somewhat lost. I have
    already established the OBDC link and tested.

    Naomi,
    Here are a few lines of the SQLCMD code in the [Auto Null Update].sql query:
    USE [Archive Master]
    Go
    :r "\\10.200.1.60\c$\Users\bkreft\My Documents\SQL Server Management Studio\Projects\Null BackPress 2 update.sql"
    GO
    :r "\\10.200.1.60\c$\Users\bkreft\My Documents\SQL Server Management Studio\Projects\Null CHWR 3 update.sql"
    GO
    :r "\\10.200.1.60\c$\Users\bkreft\My Documents\SQL Server Management Studio\Projects\Null CHWR 4 update.sql"
    When this code is pasted into a Create Procedure, (the USE [Archive Master] is not used), the procedure will run, but once saved here is what is left of the procedure once I attempt to modify:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- =============================================
    -- Author:                         
    <Author,,Name>
    -- Create date: <Create Date,,>
    -- Description:              
    <Description,,>
    -- =============================================
    Create PROCEDURE [dbo].[NullTest2]
    AS

  • Use ResultSet in a query - join??

    Hello there,
    I would like to ask if it is possible to use the ResultSet from a query in another query. For example my result set contains some indexes and I want to select the rows from the database whose index is not in the result set. Can I do a join somehow?
    I find ResultSet very restrictive otherwise
    please help
    thanx ;)

    No, you can't use a ResultSet, but you should be able to modify your original query to do whatever it is you need to do. You can do joins in SQL.

  • How to set paramters through Query manager.

    Hi,
    I need to get Parameters when we are executing SQL Query through Query Manager.
    In Query manager how to set prompt window for parameters.
    Below I applied parameters for from date and to date but its showing error. How to set parameters prompt window.
    SELECT     OJDT.TransId, OJDT.Number,NNM1.SeriesName,ojdt.baseref as BaseRefNumber, JDT1.Account,JDT1.StornoAcc,OACT.AcctName,jdt1.credit,jdt1.debit, jdt1.profitcode as [Customer/Vendor],JDT1.OcrCode2 as [Region/Location] , JDT1.OcrCode3 as  Department,
                          JDT1.OcrCode4 as [Core/Deputees/DailyWage/General], JDT1.OcrCode5 as [SubAccofCA&CL],OJDT.RefDate, OJDT.Project,jdt1.project
    FROM         OJDT
    INNER JOIN JDT1 ON OJDT.TransId = JDT1.TransId
    INNER  JOIN OACT on OACT.AcctCode=JDT1.Account
    INNER JOIN NNM1 ON OJDT.Series = NNM1.Series
    where ojdt.transType=30 and  ojdt.refdate >= '[%0]' AND ojdt.refdate <= '[%1]'
    Please guide me.
    Regds,
    Sampath kumar devunuri.

    hi sampath,
    Try this query
    SELECT T0.TransId, T0.Number,T3.SeriesName,T0.baseref as BaseRefNumber, T1.Account,T1.StornoAcc,T2.AcctName,T1.credit,T1.debit, T1.profitcode as CustomerVendor,T1.OcrCode2 as RegionLocation , T1.OcrCode3 as Department,
    T1.OcrCode4 as CoreDeputeesDailyWageGeneral, T1.OcrCode5 as SubAccofCACL,T0.RefDate, T0.Project,T1.project
    FROM dbo.OJDT T0
    INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
    INNER JOIN OACT T2 on T2.AcctCode=T1.Account
    INNER JOIN NNM1 T3 ON T0.Series = T3.Series
    where
    T0.transType='30' and CAST(T0.refdate AS datetime) BETWEEN '[%0]' AND '[%1]'
    Jeyakanthan

  • How should i use the two results sets in one single report data region?

    Hi frnz,
     I have to create a report using the below condition...
    Here my given data  set query gives you the two result sets ,so how should i use that two result sets information in single report....when i accessing that data set query it will take the values off the first result set not for the second result set.
    without using sub report and look up functionality..... if possible
    is there any way to achieve this.....Please let me know..
    Thanks!

    You cant get both resultsets in SSRS. SSRS dataset will only take the first resultset
    you need to either create them as separate queries or merge them into a single resultset and return with ad additional hardcoded field which indicates resultset (ie resultset1,resultset2 etc)
    Then inside SSRS report you can filter on the field to fetch individual resultsets at required places. While merging you need to make sure metadata of two resultsets are made consistent ie number of columns and correcponding column data types should be same.
    In absence of required number of columns just put some placeholders using NULL
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Update SQL queries through a browser

    Hi
    I am trying to develop the functionality for a user to modify
    a query through a browser. bacically i have the query SELECT * FROM
    tbProjMonth WHERE ID= "%VALUE%. I want the user to be able change
    the WHERE value, without loading the page up in dreamweaver. the
    VALUE has to be stored until the user wants to change the ID VALUE
    again.
    hope im making sense.
    do anyone know any ideas on how to do this??
    thanks for your help.
    kamesh

    This is a security headache, just waiting for a hacker to do
    sql injection. If you don't know what that is, check out
    http://www.unixwiz.net/techtips/sql-injection.html
    for nice tutorial.

  • SCROLL_SENSITIVE result set can't see the data inserted.

    hi all ,
    I am trying to display all the latest data available in the table through SCROLL_SENSITIVE and UPDATABLE result set after inserting a new record in the table.
    But the result set obtained after executing the query initially is not able to see the newly inserted record in the table and hence same result is getting printed out in both the cases.
    Can u explain me what's happening in this case ?? And how can i get the updated record also without executing the statement query twice to get the latest result set.
    My full code is given below.
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class Misc3 {
    public static void main(String[] args) {
    Connection con = null;
    Statement stmt = null;
    ResultSet rs = null;
    try {
    int empid;
    String lname;
    String fname;
    int deptno;
    int mngrid;
    con = JDBCUtil.getOracleConnection();
    stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    String query = "select employee_id , last_name , first_name , department_number , manager_id from employees ";
    rs = stmt.executeQuery(query);
    System.out.println("Before inserting the new record.....");
    while (rs.next()) {
    empid = rs.getInt(1);
    lname = rs.getString(2);
    fname = rs.getString(3);
    deptno = rs.getInt(4);
    mngrid = rs.getInt(5);
    System.out.println(empid + "\t" + lname + "\t" + fname + "\t" + deptno + "\t" + mngrid);
    System.out.println("Going to insert the new record.....");
    rs.moveToInsertRow();
    rs.updateInt(1, 10);
    rs.updateString(2, "Clark");
    rs.updateString(3, "John");
    rs.updateInt(4, 2);
    rs.updateInt(5, 2);
    rs.insertRow();
    System.out.println("New record inserted successfully.....");
    System.out.println("After inserting the new record.....");
    rs.beforeFirst();
    while (rs.next()) {
    empid = rs.getInt(1);
    lname = rs.getString(2);
    fname = rs.getString(3);
    deptno = rs.getInt(4);
    mngrid = rs.getInt(5);
    System.out.println(empid + "\t" + lname + "\t" + fname + "\t" + deptno + "\t" + mngrid);
    } catch (SQLException ex) {
    System.out.println("error code : " + ex.getErrorCode());
    System.out.println("error message : " + ex.getMessage());
    } finally {
    JDBCUtil.cleanUp(con, stmt);
    *** JDBCUtil Class ****
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.Statement;
    public class JDBCUtil {
    public static Connection getOracleConnection(){
    Connection con = null;
    try{
    // Load the driver
    Class.forName("oracle.jdbc.driver.OracleDriver");
    //Establish Connection
    con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","ex","ex");
    }catch(Exception ex){
    ex.printStackTrace();
    return con;
    public static void cleanUp (Connection con , Statement stmt){
    // Release the resource
    try{
    if(con != null){
    con.close();
    if(stmt != null){
    stmt.close();
    }catch(Exception ex){
    ex.printStackTrace();
    Edited by: user12848632 on Aug 13, 2012 2:06 PM

    >
    Can u explain me what's happening in this case ?? And how can i get the updated record also without executing the statement query twice to get the latest result set.
    >
    Sure - but you could have answered your own question if you had read the doc link I gave you in your other thread and next time you post code use \ tags on the lines before and after the code - see the FAQ for info
    17076 : Invalid operation for read only resultset
    {quote}
    •Internal INSERT operations are never visible, regardless of the result set type.
    {quote}
    See •Seeing Database Changes Made Internally and Externally in the JDBC Dev doc I pointed you to
    http://docs.oracle.com/cd/B28359_01/java.111/b31224/resltset.htm#i1024720
    Did you notice the words 'never visible'? You won't see them as part of the result set unless you requery.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Permissions errors after clean installation of 10.7.2

    hey, I'm sorry for the length of this thread. after upgrading to Lion (via mac app store) from the newest snow leopard, the system's performance had become worst. then, i decided to back up all of my files manually and do a clean install making a lio

  • [Solved] Pulse Audio won't work on newly installed system with Gnome

    About a year ago I got a new computer and more or less retired my old one with my first arch install. Recently, I decided I would set it up as a Linux system for my sister. I first updated the computer, which broke it royally (since it was last updat

  • Need Help in  Interactive ALV Report

    Hi guru's,   I need sample code of Interactive ALV   when on selecting an particular field, it should open an another ALV windows or pop-up window. Please help me and points will be rewarded for the right code. Regards Rajiv Christopher

  • Programmatically set email address column in incoming email settings in discussion fourm

    hi, I have to set up incoming email settings in my discussion forum in my subsite. but the issue  is that i am creating hundreds of sub sites based on a savedsite template. can anyone help, how to set the incoming email settings' email address  colum

  • Re : batch input programming..

    hi friends is it possible to use the call transaction and session the scenario described. 1. like i am having two record sets corresponding to two transactions and i want them to be uploaded using 'call transaction' for one transaction and 'session'