Workbook - one query under another

Hello
I need to create a workbook presenting two queries one under another. The matter is that I am not able to prdict, how many lines the first query will present, when opening and refreshing the workbook. The result is that I have much empty space between reports, or upper report overwrites the lower one.
Do you know a possibility to link these queries each other? I would like to force the workbook to display the lower query in dynamicaly defined place.
Thanks in advance,
Arelis

Hello
It is not a solution. What I need is to have the second query always exactly under the above one - not the matter how many lines the first query has.
A

Similar Messages

  • LOCAL Structure to be copied from one query to another query

    Hello all,
    In our query we have created a structure locally....
    we have to copy the same locally created structure from one query to another query which is on the same multiprovider.
    We do not want to make the structure global.
    Can anyone suggest some method to achieve this!

    For copiying structures fom query to another you have to do it global. After that you can do click on right button on the structure when added to your query and choose "eliminate reference" this does further changes in the structure were local for that query.

  • From one query to another RRI

    Dear All,
    I have to 2 queries. Using RRI (t-code RSBBS) I have linked both the queries to move from one query to another. In the first query I created a formula which puts a condition on a Keyfigure, in aggregation tab, Exception aggregation=total and gave the refernce char........
    In my case formula "no of hrs < 24", total =  exception aggr  and refernce char= docket no". When I reproduce the report I get no of dockets as 38 because of the condition in the formula. I rightclick>goto the 2nd query using RRI. but here the report shows all docket nos, not restricted by the condition I gave in the formula in the first query. How can this restriction be carried from the 1st query to the 2nd?
    Regards,
    Jack Silverz

    hi,
    In ur scenario 1st Query gives Header level information and 2nd Query will give the detail level information.
    As per my understanding ur condition will work in 1st Query and in 2 it won't work because RRI's functionality.
    Regards,
    Edited by: ali basha on Jan 20, 2010 11:51 AM

  • Drill through from one query to another query

    Hi experts,
    Anybody knows how to do drill through from one query to another query?
    Any feedback will be really apreciated.
    Thanks.

    The setting can be done in transaction RSBBS.
    You only need to specify the sender and receiver query..
    Ashish..

  • How to place one column under another column in obiee report?

    Hi all,
    I am new to obiee, so need some help from obiee experts. Can anyone tell me how to place one column data under another column in obiee report?
    i need the report to be as below
    category total_students Course_enrollment Test_attended pass_test
    total N % N % N %
    all students ##### ## ## ## ## ## ##
    Ethnicity
    Asian ###### ## ## ## ## ## ##
    African American ###### ## ## ## ## ## ##
    white ######
    Filipino ######
    Gender
    Male ##### ## ## ## ## ## ##
    Female ##### ## ## ## ## ## ##
    and similarly for other columns
    where ethnicity, gender are columns in the table and Course_enrollment, Test_attended, pass_test are calculated columns.
    Please help me to create a report as above if anyone knows how to do it.
    Edited by: Shailaja on Jul 19, 2010 12:23 AM

    Two ideas I can think of:
    1) Create multiple pivot tables and then display them one under the other
    2) Create multiple measure columns such as "male_amt", "female_amt", "white_amt", "asian_amt", "black_amt", etc. for all the columns you need. Then you could simple stack them in a single pivot table.
    Option #2 might give you the prettiest results - but also requires a lot more maintenance (for instance, if you reclassify ethnic groups, you'd have to go through the reports to add additional metric columns).
    Hope this helps,
    Scott

  • Passing a variable value from one query to another within a web template

    Hi All,
    I have a web template with two queries.  Both queries have the same select option variable called ZSELCUST on the characteristic ZCUSTOMER but because they are different info providors (both infocubes) the customer has to be entered once for each query, even with the 'Display same variable only once' flag checked.
    I want the user to select the customer once and then that value be passed to the other query within the resulting web template output.
    Am I right in that the same variable is used more than oncee because of the different info providors?
    I'm struggling, can anyone help out there....???
    Best Regards,
    Stuart Humphrey

    Hi
    A way of doing this is by "linking" the queries: in transaction RSBBS you define the sender and receiver queries. In query navigation you can jump to the dependent query (blue arrow icon in the BEx tool bar). This transfers the navigational state to the called query: filters over characteristics and variable values.
    Hope this help
    German

  • How to transfer variable value from one query to another query?

    I create two queries which contain the same variable "Year" and "Month".
    In the wad,Query1 is used to be a table and Query2 is used to show the chart in the condition with the same variable value of Query1
    So I want to transfer the variable  value from query1 to query2.
    Can anyone help me ?

    Let me explain the issue in detail.
    In Query Designer, both the year and  month variables are defined by user exit function to read current year and month and can be modified  during the query runtime.
    In WAD, Query1 is  used  to be a table with a table interface to hyperlink a chart which is defined by Query2 with the same variable value of Query1.
    During the runtime of template, if I change the variable value of Query1 , I want the variable of Query2 to be changed automatically with the same new value.
    So in the table interface of Query1 , I write the ABAP code in "SE24" and related source code to the variable is following:
    concatenate
    'function fire_urlJGSP_Col(filter) {'
    Cl_rsr_www_renderer=>c_lf
    'chart_url="' url '" + "&CMD=LDOC'
    '&TEMPLATE_ID=GCCHART_9' "WEB ID of the work book
    '&PAGEID=Graphics'       "Name of the view
    '&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME=Z2MYEAR&VAR_VALUE_EXT=" + filter'
    Cl_rsr_www_renderer=>c_lf
    'openWindow(chart_url,"chart_window","dependent=yes","600",'
    '"450","true")'
    Cl_rsr_www_renderer=>c_lf
    into l_coding.
    In this way , I can only transfer the year variable value from Query1 to Query2 and not two variables .
    So , how  shall I do to transer the two variable value in the same?

  • RRI from one query to another

    Hello All,
    We have searched the forums and can find information/posts about RRI, but still can't seem to figure out our problem.
    Sender query and Receiver query are identical except for:
    1. We have 0INFOPROV filetered to hit the correct cube for each query
    2. Sender query has 'CHAR1' filter = X and this 'CHAR1' doesn't exist in the receiver query
    3. Key Figures are different from sender and receiver
    4. Rows are identical except receiver has 1 additional characteristic (more detail)
    Variables are same for each query.  We have set the 1 additional char in the receiver query to delete and it still doesn't work in assignment details.
    When we get our first query output, if we select an individual order number we get no data in the drill-down receiver query.  If we select heading order number we get all orders.
    What are we missing?
    Thanks

    Hi CM,
    For the Question NO 1
    Sender query has variable for created on date. Output is order type, order number, material and several key figures. We want to RRI to a more detailed cube that has order number, item number material, sales person and several key figures. The drill down we want from the sender query is basically if sales look low for an order number order type combo, we want to drill down on the order number only and see more details.
    Goto RSBBS.
    1)Click on the receiver Query and click on assignments Details
    2)Keep all the objects as Type -- Delete and keep the Order number as Type -Generic.
    3)As u said the Order is already a Input Variable.
    For the Question NO 2
    What's strange is this RRI works fine in the Web, but not Bex. We have different query names for web and bex. Why won't bex work. If we select a particular order number in bex and select Goto - detailed report we get no data. If in Bex we simply do a right click on the process order column and select this path, we get a RRI, but it's for every order. We only want an RRI for a particular order number.
    Sorry , i am unable to make out the issue.
    Rgds
    SVU

  • Reference of a column of one query in another..

    Hi Guys,
    I have two queries on data model of my report. Q1 and Q2, both these queries have columns of dates
    Q1 has Hire_Date column and
    Q2 has Increment_Date
    I want to restrict records of Q2 query , it only bring records where Increment_Date < Hire_Date.
    where clause will be "where increment_date < hire_date" but how to refrence the Hire_Date of Q1 in my query Q2.
    Please Help!!!
    Imran Baig

    Hi,
    Create data link between these 2 queries using columns
    Hire_date,Increment_date.
    Open Link properties, by selecting link and pressing F4.\
    change where condition, there.
    You did that.
    Adinath Kamode

  • Using the results of one Query in a workbook as a filter in another query

    Hello!
    I'd like to have one workbook which my users can execute and the result from one Query (e,g, Customer Account Number) will then be used as a filter in a second query (which would be from a different cube).
    Can this be done?
    Cheers.

    Hi,
    As far as I understand your requirement, you want to pass the result of one query to another query as a filter.
    Well you can do this, by Using Replacement Path Variable.
    For e.g. you want to pass Values of Custmomer Account Number to another query. In the second query, create one variable on Customer Account Number with type Replacment Path. Here it will ask you to enter the name of the query from which you would like to take the values of Customer Account Number.
    When you will run the second query , it will execute the first query from which you want to read the customer accoutn number in the back-end. And it willl display the output the second query as per the valeus of customer account number.
    This will help.
    - Jaimin

  • BEx Analyzer Workbook, display query 2 under query 1

    Hello Guys,
    actually I got a problem and did not find a solution for that.
    I have a query, displaying all cars from one particular salesorg. Under this query I want to add a new query displaying all other cars, not belonging to that salesorg. Now I have two problems:
    1) Is there an automated way to display one query among another in bex analyzer, if the number of rows in each query is not constant?
    2) Can I negate the variable from my first query (not salesorg in first query)?
    Thank You!
    Markus

    Hi Markus Alber,
    why can't you do this in one query?
    You can create two selections:
        One for that particular salesorg can use restriction on "salesorg"
        another selection uses "salesorg" restrictions of excluding that particular salesorg
    Feng

  • How to use one query results in another query

    hi,
    in help.sap I have founded that using variable type replacement path I can use one query results in another query. It is wrote there that I have to choose query name results I want to get in variable definition but I do not know where.
    How I can do this?
    Result I want to get is:
    In one query I have material prices in another material quantities. I want to calculate inventory value (price * quantity). Moreover prices are on plant level, quantities on storage type level. Plant is atribute of storage type.
    Can I do this?
    Regards,
    Andrzej

    Hi Andrzej,
    please check out this thread: Set parameters values depending on other parameters
    I had a discussion about query results as input for another query in there.
    For creating a workbook, just click on the save button after you ran your query in the bex.
    Siggi
    Message was edited by: Siegfried Szameitat

  • Is there a way to have more than one Query view in the same workbook?

    Is there a way to have more than one Query view in the same workbook?
    BEx allows us to insert Queries into workbooks, but not saved views.
    I can open a view in excel & then save it as a workbook....but after that there is no way to add another view to the same excel. If I open a new view, it opens in a new Excel.

    Hi
        when u open some query in BEx analyser,u can save it as a query view as well as workbook.The difference is, workbook is if u work with the design mode which will be in the left side of ur screen and query view is wen u save after drill downing some char or key figures from a intial screen wen u execute query in BEx analyser

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • Can you check for data in one table or another but not both in one query?

    I have a situation where I need to link two tables together but the data may be in another (archive) table or different records are in both but I want the latest record from either table:
    ACCOUNT
    AccountID     Name   
    123               John Doe
    124               Jane Donaldson           
    125               Harold Douglas    
    MARKETER_ACCOUNT
    Key     AccountID     Marketer    StartDate     EndDate
    1001     123               10526          8/3/2008     9/27/2009
    1017     123               10987          9/28/2009     12/31/4712    (high date ~ which means currently with this marketer)
    1023     124               10541          12/03/2010     12/31/4712
    ARCHIVE
    Key     AccountID     Marketer    StartDate     EndDate
    1015     124               10526          8/3/2008     12/02/2010
    1033     125               10987         01/01/2011     01/31/2012  
    So my query needs to return the following:
    123     John Doe                        10526     8/3/2008     9/27/2009
    124     Jane Donaldson             10541     12/03/2010     12/31/4712     (this is the later of the two records for this account between archive and marketer_account tables)
    125     Harold Douglas               10987          01/01/2011     01/31/2012     (he is only in archive, so get this record)
    I'm unsure how to proceed in one query.  Note that I am reading in possibly multiple accounts at a time and returning a collection back to .net
    open CURSOR_ACCT
              select AccountID
              from
                     ACCOUNT A,
                     MARKETER_ACCOUNT M,
                     ARCHIVE R
               where A.AccountID = nvl((select max(M.EndDate) from Marketer_account M2
                                                    where M2.AccountID = A.AccountID),
                                                      (select max(R.EndDate) from Archive R2
                                                    where R2.AccountID = A.AccountID)
                   and upper(A.Name) like parameter || '%'
    <can you do a NVL like this?   probably not...   I want to be able to get the MAX record for that account off the MarketerACcount table OR the max record for that account off the Archive table, but not both>
    (parameter could be "DO", so I return all names starting with DO...)

    if I understand your description I would assume that for John Dow we would expect the second row from marketer_account  ("high date ~ which means currently with this marketer"). Here is a solution with analytic functions:
    drop table account;
    drop table marketer_account;
    drop table marketer_account_archive;
    create table account (
        id number
      , name varchar2(20)
    insert into account values (123, 'John Doe');
    insert into account values (124, 'Jane Donaldson');
    insert into account values (125, 'Harold Douglas');
    create table marketer_account (
        key number
      , AccountId number
      , MktKey number
      , FromDt date
      , ToDate date
    insert into marketer_account values (1001, 123, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('27.09.2009', 'dd.mm.yyyy'));
    insert into marketer_account values (1017, 123, 10987, to_date('28.09.2009', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
    insert into marketer_account values (1023, 124, 10541, to_date('03.12.2010', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
    create table marketer_account_archive (
        key number
      , AccountId number
      , MktKey number
      , FromDt date
      , ToDate date
    insert into marketer_account_archive values (1015, 124, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('02.12.2010', 'dd.mm.yyyy'));
    insert into marketer_account_archive values (1033, 125, 10987, to_date('01.01.2011', 'dd.mm.yyyy'), to_date('31.01.2012', 'dd.mm.yyyy'));
    select key, AccountId, MktKey, FromDt, ToDate
         , max(FromDt) over(partition by AccountId) max_FromDt
      from marketer_account
    union all
    select key, AccountId, MktKey, FromDt, ToDate
         , max(FromDt) over(partition by AccountId) max_FromDt
      from marketer_account_archive;
    with
    basedata as (
    select key, AccountId, MktKey, FromDt, ToDate
      from marketer_account
    union all
    select key, AccountId, MktKey, FromDt, ToDate
      from marketer_account_archive
    basedata_with_max_intervals as (
    select key, AccountId, MktKey, FromDt, ToDate
         , row_number() over(partition by AccountId order by FromDt desc) FromDt_Rank
      from basedata
    filtered_basedata as (
    select key, AccountId, MktKey, FromDt, ToDate from basedata_with_max_intervals where FromDt_Rank = 1
    select a.id
         , a.name
         , b.MktKey
         , b.FromDt
         , b.ToDate
      from account a
      join filtered_basedata b
        on (a.id = b.AccountId)
    ID NAME                     MKTKEY FROMDT     TODATE
    123 John Doe                  10987 28.09.2009 31.12.4712
    124 Jane Donaldson            10541 03.12.2010 31.12.4712
    125 Harold Douglas            10987 01.01.2011 31.01.2012
    If your tables are big it could be necessary to do the filtering (according to your condition) in an early step (the first CTE).
    Regards
    Martin

Maybe you are looking for

  • How do I download the full resolution JPEG images from my iPhone to my flash drive through my mac?

    When I plug my iPhone 5S into my MacBook Pro through a USB 2.0 to Lightning cable, the phone doesn't show up as a device in finder (#imisssnowleopard). How can I grab the images off the phone and put the files on my flash drive? (without using the iP

  • "Edit in Photoshop" no longer working

    The "edit in Photoshop" function had been working fine in both Premiere and Encore CS5.5.  Then one day last week, using this function opened up Photoshop CS3 (I had never got around to uninstalling it after installing CS5.5).  I uninstalled Photosho

  • BUG in SQLNET ?

    Well. Sintoms are really easy to simulate: Just put a SPACE as LAST CHARACTER of TNSNAMES.ORA file !!!! then just try to connect to your database with sqlplus system/manager@DATABASE, ON THE SAME MACHINE forcing to use the sqlnet to connect. (from an

  • How do I dissociate an old Adobe ID?

    A few weeks ago, I tried installing Adobe Flash Builder over Creative Cloud, using a friend's Creative Cloud license. However, neither of us knew about the 2-device limit on the program until I attempted to run the program. So, I'm trying to use my A

  • Downgrade Java

    I am using a program called musicreader.  The manufacturer says that I need to, until they work a solution, downgrade to the previous java verion.  According to the software update I am currently am using Java for Mac OS x 10.6 update 15 and accordin