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

Similar Messages

  • 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

  • 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.

  • 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 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?

  • 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 ABAP query from one server to another server

    Hi all,
    I have a ABAP query in development server and i need to transport it to production server.
    I have attached a transaction to it using the program which got generated in the back ground
    from the abap query in the developemnt server.
    I have downloaded and uploaded  a ABAP query from one server to another server.
    But the program which got generated in the back ground in the production server is different from
    program which is generated in the development server.
    But my transaction is attached to the program in the development server.If i transport the transaction
    to production server,it is giving error since that program is not present in the production server.
    Am i going in the right way......? 
    Is there any problem in my upload/download procedure ?
    Is there any way to achieve my purpose ...............?
    Please kindly reply me at the earliest.

    You have different ways to call a query using a t.code. One way is to create a pgm with the following code and attach a t-code to it.
    data: gv_test type sy-repid.
    DATA: GV_USERGROUP TYPE AQADEF-BGNAME VALUE 'FI',
          GV_QUERY TYPE AQADEF-QUNAME VALUE 'ZCON_FI_QUERY',
          GV_RNAME TYPE AQADEF-PGNAME .
    CALL FUNCTION 'RSAQ_REPORT_NAME'
      EXPORTING
        WORKSPACE        = ''
        USERGROUP        = GV_USERGROUP
        QUERY            = GV_QUERY
    IMPORTING
       REPORTNAME       = GV_RNAME
    * For the dynamic excution of the called query assisgn GV_RNAME to <gv_test>.
    gv_test = GV_RNAME.
    SUBMIT (gv_test) via selection-screen and return.
    Alternate way is while creating T-Code you choose option Transaction with parameters.
    Transaction as START_REPORT and in default values table control at bottom give as follows
    D_SREPOVARI-REPORTTYPE = AQ
    D_SREPOVARI-REPORT = User group
    D_SREPOVARI-EXTDREPORT = Your Query name
    Regards
    Sathar

  • How to copy a query from one infoprovider to another infoprovider

    Hi Experts,
    Could anyone suggest me on how to copy a particular query from one infoprovider to another infoprovider which are identical and have the same objects in them.
    Thanx in advance
    Lalit

    Hi Lalith,
    Use the Transaction RSZC and specify the - > Source InfoCube  -> Target InfoCube and select the queries  you want to copy.
    Hope it helps
    Regards
    Srikanth

  • Copying a Single BEx Query from One Infoprovider to Another

    Is it possible to copy just a single query from one Infoprovider to another?
    I know how to copy all of them at once, but I want to know if there is a way to do it just for a single query.

    Ah.  That worked perfectly.
    Awarding points.
    Thank you.

  • Copying a query from one cube to another cube

    HI BW Gurus,
    I am having a report due date for net payment analysis in Accounts receivables and i want to copy the same query into a different infocube accounts payable.
    Is it posssible to copy a query from one infocube to another infocube.
    Regards,
    Syed

    Hi,
    Yes,it is possible to copy query from one infoprovider to another infoprovider with some conditions.Please have a look at the note 981104 which explains you how to Copy between InfoProviders and Copy within one InfoProvider.
    Rgds
    Manoj Kumar

  • Copy one query from one infocube to another infocube

    Hi BW Experts,
    Hope all of them are doing good.How can we copy one query from one infocube to another infocube.
    I have infocube1 having one query ,I  NEED to copy that query to  infocube2? How?
    Could you please help me out?
    Thanks

    Use transaction RSZC in BW (BTW you're addressing BW experts in a BO forum better post in the Bex section of the BW forum)

  • Transport sap query from one client to another client

    Hi,
    how to transport the sap query from one client to another client.
    Moderator Message: Basic Question
    Edited by: kishan P on Sep 15, 2010 3:39 PM

    use report "RSAQR3TR"
    Moderator Message: Do not answer such basic questions
    Edited by: kishan P on Sep 15, 2010 3:44 PM

  • Copy Query from One MultiProvider to Another

    How easy is it to copy a Query from one MultiProvider to another?
    thanks

    If the elements of the query is not same try using following function module RSZ_I_COPY_QRY_TO_CUBE to copy queries
    Re: Copying query structure to new infoprovider
    Ravi

  • How can I Move data from one column to another in my access table?

    I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
    I understand how to drop a column or add a column, how do I transfer data from one column to another.
    Here is my trial code:
    <cfquery name="qQueryChangeColumnName" datasource="#dsn#">
      ALTER TABLE leaderboard
      UPDATE leaderboard SET  points2 = points3
    </cfquery>
    Unfortunately, I get the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
    How can I transfer my data with the alter table method?

    I looked up the Access SQL reference (which is probably a
    good place to start when having issues with Access SQL), and
    it suggests you probably need a WHERE clause in there.
    I agree the documentation is a good place to start. But you should not need a WHERE clause here.
    Too few parameters. Expected 1.
    If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message..

  • Print Layourt Designer how to migrate a report from one SBO to another

    I have written a report on my Test version of SBO and need to migrate it to the customers site but cant see a method of exporting/Importing a User Report
    (I am probably missing something obvious though.....) but would appreciate a prod in the right direction.  thanks

    Hi George,
    There is two ways, you can either copy it over......but sometimes all the alignment goes off.
    Or you can use the query SAP have given in a note. I do not remember the note number. But here is an extract of the note. I use this query often and have kept this extract one side. It only copies the layouts that do not exist in the destination company. Here is the extract.
    An SQL query can be used to copy documents from one database to another, however the following conditions must be met:
    1. Only edited documents with a doccode (the template primery key), which does not exist in the destination database, will be copied.
    2. It is necessary to backup source and destination databases before running the query!!!
    3. Both databases must share the same localization and the same version!!!
    4. Select "Start" -> "Programs" -> "Microsoft SQL Server" -> "Query Analyzer" and run the following query:
    Replace SOURCE with the source database name.
    Replace DEST with the destination database name.
    insert into [DEST].[dbo].[RDOC]
    select [SOURCE].[dbo].[RDOC].*
    from
    [SOURCE].[dbo].[RDOC],[DEST].[dbo].[cinf],[SOURCE].[dbo].[cinf]
    where [DEST].[dbo].[cinf].[lawsset]=[SOURCE].[dbo].[cinf].[lawsset]and [DEST].[dbo].[cinf].[version]=[SOURCE].[dbo].[cinf].[version] and [SOURCE].[dbo].[RDOC].[Doccode]NOT IN (SELECT Doccode from [DEST].[dbo].[RDOC])
    insert into [DEST].[dbo].[RITM]
    select [SOURCE].[dbo].[RITM].*
    from [SOURCE].[dbo].[RITM],[DEST].[dbo].[cinf],[SOURCE].[dbo].[cinf] where [SOURCE].[dbo].[RITM].[Doccode] NOT IN (select Doccode from [DEST].[dbo].[RITM])AND [SOURCE].[dbo].[RITM].[Doccode]IN (SELECT Doccode from [DEST].[dbo].[RDOC])
    The query is also attached to this note!
    Hope this helps.

Maybe you are looking for