Queries in a Workbook

Ok, I had someone that is now gone build two workbooks. Each should ha e 18 queries.  The problem is one has 21 and one has 18.  I could see that it has 21 from a function module call that displays workbook properties.
Anyway to list the names of the queries in a workbook?

Hi Richard,
Have you tried function module: RRMX_WORKBOOK_QUERIES_GET.

Similar Messages

  • Need Different Selection screen for different Queries in a Workbook

    Hi,
    I have created a workbook with Multiple tabs in BI 7.0.  Each Tab has different Queries and each query has different Selection screens (Variable Selections).
    When i open the workbook and refresh it, the selection screen is appearing only for one query.  All the queries are refreshed by this single selection screen, though each query has different Variable selections.  What i need is a seperate selection screen i.e seperate Variable selection appearing for each queries, when i refresh each one of them.
    Is it possible to do this?  If anybody has tried this, help me in solving this issue.  Thanks for ur time.
    Regards,
    Murali

    Murali,
    If you un-check the 'Display Duplicate Variables Only Once' this WILL solve your problem.
    When you Refresh, you should be presented with a single variable selection dialog box, but it should contain an area for each Query (DataProvider) that is embedded in the Workbook.
    This is the case if the queries are all on the same tab, or on different tabs.
    However, if you have multiple tabs each with a query on it, each query must have it's own DataProvider. If all queries are based on the same DataProvider, it will not work as the Workbook only 'sees' one Query for which it needs variable input.
    If you REALLY want multiple variable selection dialog boxes, then maybe the best way to do this is to have the queries in separate Workbooks.
    If you don't want the User to have to open 5 queries manually, you could use a Macro in each Workbook that runs on opening, to open the next Workbook in the sequence.
    I hope this makes sense!
    Regards
    Steve

  • How to run multiple queries in a workbook

    Hi,
    I have 3 queries in a workbook with the same variables. How can I refresh all the 3 queries when I change the variable value. It allows me to refresh only one query at a time but I need to refresh all the 3 queries at once whenever variable value changes.
    Thanks,
    Kal

    Prakash,
    Do you have any more information on where i would find the setting to;
    "Refresh individual queries within a workbook (Single DataProviderRefresh)"
    is it on the
    i) dataprovider setting
    ii) workbook setting
    iii) elsewhere?
    many thanks
    Ian

  • Queries Published to Workbook Roles

    Hello Gurus,
    I need some advice on this particular situation.
    I currently have users in our BI systems (BI 7.0) that are assigned to roles specifically for workbooks to use with the BEX analyzer. In this case there are users who can publish queries to workbooks for anyone to use (as long as they're assigned to the workbook role).
    Note:  To be specific, our business users do not create queries in production, but simply create a view of an existing query and make changes based on their specific need, which then can be saved to a workbook.   
    In the past we had workbook roles transported (in error) to production from development, which overwritten the queries published to the workbook in production. Updates to the workbook roles were only being made in production, so when the roles came over from DEV it wiped the queries that were created by the end users.  Iu2019m currently in the process on re-structuring the role authorization concept in our BI system and would like to incorporate workbook authorization to one role (role based security) instead of having multiple on-off roles for workbooks. Having one role means Iu2019ll need to work in DEV and push the changes to production, however with the workbook situation if any queries have been published to the one role it will be wiped every time a transport goes into production.
    I would like to the following:
    1. Is there an alternative method to running queries without utilizing workbooks?
    2. What would be the best scenario or best practice when publishing queries to workbook roles?
    Regards,
    Wes

    Wes:
    User cannot see favorites of another user in BEx Analyzer.
    Instead of saving a workbook to the role and risk having it overwritten the next time the role is transported, your users could save their changes as a view ('save view global' option).  They will not be prompted to save as a favorite or in a role - it inherits whatever role the query is in and will not be overwritten if that role is transported.
    Keep in mind that things like query properties set in the view are not retained like they are with a workbook, however.  The view stores the navigation state, variable values, etc.
    Hope this helps...
    Regards,
    Kerry

  • 2 Queries within 1 workbook in BEx BI7.0

    Hi Experts,
    I know that there is a new method of creating a workbooks in BI7.0 using the Design Mode.
    Suppose I have put 2 queries within 1 sheet in excel (one on top of the other). I did this by inserting 2 analysis grids within the same worksheet.
    When I try to drill down the query on top, the area it occupies expands and completely overwrites the query at the bottom.  As such, the bottom query disappears.
    Is there a setting somewhere which will make the system adjust the position of the query at the bottom in this scenario?
    I remember that with 3.x, when you insert 2 queries within the same worksheet in the workbook and you try to do a drilldown, the system would ask if you want it to overwrite or adjust the affected query area.
    I am trying to look for the same functionality in BI7.0 workbook creation.
    Thanks for your help in advance.
    Emelee

    Some leads..
    Multiple queries in a workbook
    Multiple queries on same sheet
    Hope it Helps
    Chetan
    @CP..

  • Multiple Queries in a workbook

    Hi Gurus
    If we have multiple queries in a workbook in  3.5 version and when we upgrade it to BI 7.0 version the data got overwrited........ (I heard this scenario from my friend)
    But how to solve this kind of scenario. Does scrolling option works... Please give me some suggestion how to solve this kind of issue
    Regards
    Naga

    A 3.x workbook when opened in 7.0 works fine except for some issues. Variables are shown in text element of 3.x workbook , when this workbook is opened in 7.0 the variables are also shown. By design text element does not show variables except for text variables. There are issues like flickering of workbook when opening the 3.x workbook in 7.0. Variants from 3.x are not imported in 7.0.
    check this out.

  • How to embed multiple queries in single workbook

    Hi,
               I am working in BI 7.0 environment. My requirement is
    1) I have 6 different SD queries.
    2) I need to create workbook out of each query.
    3) I need to embed workbook created from each query into a single work book (each worksheet in workbook should have workbook created from 1single query).
    This way the final workbook will have six work sheets with six different queries (all saved as workbooks).
    Can anyone please give me an idea to create the workbook.
    We are latest version of Excel.
    Thanks in advance.

    Hi Padma,
       You can embed multiple queries in a workbook.Please follow below steps.
    1. Open the query in a Bex analyzer (first query)
    2. Go to second tab and select a cell and insert anlaysis item (second icon on the Bex Toolbar)
    3. Right click and assign query to the data provider.
    4. Goto next tab and insert analysis item for third query . Similarly you can insert many queries but embedding multiple queries will degrade performace.
    5. Goto workbook settings (last icon in Bex tool bar) for workbook properties like refresh workbook on open. pop up variable screen on refresh etc.
    Also please go thru below links .
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/45583ca544eb
    51e10000000a114084/content.htm
    Hope this helps. Let me know if you have any queries.
    Regards
    Suvarna

  • How to know no. of  queries in a workbook?

    Hi,
    Is there any way to know the Number of queries in a workbook in a simple way?
    Why i am asking is, we have so many workbooks with too many worksheets ( some are queries and some of them are graphical representaions of the  query results). and to know how many queries are in a workbook by checking manually is quite a task.
    and i need to adjust the year filters to the new year in all the queries and we have lot of workbooks as well.
    if i can know the number of queries contained in the workbooks , my job is much easier
    Raj

    Hi,
    goto the metadata repository, search for your workbook and you get a list of all queries contained in that workbook.
    kind regards
    Siggi

  • How to save 2 queries in 1 workbook

    Hi experts,
    could you tell me in steps how to save two queries in one workbook.
    Regards.
    harry

    Hi Harry,
        After creating a query you can execute the query. Once the result is displayed you have the option of saving it as a workbook. using that you can save it as workbook. Once it is saved as workbook you can run it and the result is displayed in one sheet. Go to another sheet and use the option insert query in the workbook to insert new query. So you will have a workbook with 2 queries now. Futher if youwant to interpret the data of the 2 queries ina fresh sheet in the same workbook you can use cell references and hide the other 2 sheets.
    i hope this will help you.

  • Parallel Refresh queries in a workbook with BI7.0

    Hi Experts,
    could somone tell me if is it possible to refresh IN PARALLEL all the queries in a workbook with 7.0 version? are there any differences from 3.5 Bex version from this point of view?
    This kind of option would be  very usefull for long run queries and/or big ammount of queries collected  in a workbook.
    I would be really grateful if you can give me link to documentation on this point.
    Thanks very much
    Best Regards
    Filippo Corvi

    Hi
    You are correct, if we put the big queries in a workbook it would be a performance issue.
    I have to check the option of refreshing the queries parallely.
    But you can try one option, the workbooks are also refreshed in Precalculation Server. If you can schedule that then the users would not have a problem.  May be I am wrong in this option. But it would be like refreshing the statistics before using them.
    If you can tryout, this is the help
    Note 936112 - Precalculation server help for troubleshooting
    Also this is one more option, but I had not tried out
    Schedule a Refresh of BEx Workbooks

  • Refrsh individual queries within a workbook

    Dear Experts,
    We have implemented Enhancement package 1 SP-04 in our BI system.
    1 of the new functionalities provided with this upgrade was
          " Single dataprovider refresh is possible , vs a Global refresh of all the queries in the workbook "
    But we can not see any such option in workbook setting.
    It would be of great help if you can provide in your valuable inputs to solve this issue.
    Regards
    Vaibhav Halde

    Hi Chandrashekhar,
    Thank you for your input.
    It will surely work if you refresh query Q2 and not query Q1.
    Our issue is that along with enhancement package 1 SP04 we should have got a new check box on general tab in a workbook setting.
    Initially...workbook setting-general tab - there was a check box - Refresh workbook on open
    after upgrade there should have been a new check box : Refresh individual dataprovider
    but that is not the case.
    We want to know reason behind this ?
    or
    Does this functionality really come along with EHP1 SP04 or with any other support package?
    Regards
    Vaibhav Halde

  • Refresh individual queries within a workbook in SP20 EHp1 System

    Hi,
    Currently we have upgraded our BI system to EHP1 pack for SP20. Now we are in BI7.01. We have found in SAP release notes for EHP1 like " in BEX 7 analyzer we will able to Refresh individual queries within a workbook:".
    Can you please tell me how to acheive that, as when we are trying to do it refreshes all the sheets.
    Also in Global settings tab " Allow single data provider refresh" is disabled. Kindly tell me step by step procedure to acheive this,
    Thanks

    Hi Krishna,
    Really thanks for your instructions. We have enabled hte "refresh on individual workbooks" in the workbook settings tab adn we are able to see the same in the context menu of the analysis grid.
    Again i have few doubts.
    I can able to see two options as below.
    1. Refresh
    2. Refresh this query.
    What is the difference between this two?. Also when i click the "refresh this query" it shud display the "selections screen of the particular query", But it is not at all showing me a selection screen,
    What i am doing is.. I am simply doing "refresh this query" option that will refresh my screen first adn i am doing change variables.
    That will give me the selection screen of the particular query. If i am not doing so, all workbooks are refreshing,
    Please advice, whether selection screen of the particular query can be shown when clicking "refresh this query".
    Thanks/

  • Mutliple queries on single workbook?

    Hi,
    Is it possible to have number of queries on single workbook, meaning each query on a different sheet.
    How can this be achieved.
    Would it require embedded workbook.
    How would it be refreshed, i have heard some people had problems with similar scenario
    How are variables handled, assuming some queries are prompted for variables.
    Thanks

    Hi Ashouja,
    It is possible to have multiple queries on different sheets in one workbook. You can accomplish this through using the Bex Toolbar button Tools > Insert Query on the different worksheets. When you will refresh the workbook, all those queries are still "attached" will be refreshed.
    About the variables...it depends on the query properties set in the workbooks. eg if you choose Refresh all queries when opening workbook, then as soon as you open the workbook, all the queries will be automatically refreshed. In this case you will get the variable screen starting with that of the first query. If there are any variables that are common between the queries (Same technical name) then those variables will only appear once and if you enter a value, they will not appear again. The second query will be run with the same value in this case.
    Look at these links for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a5529e09411d2acb90000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/3a/89883989676778e10000000a11402f/content.htm
    Hope this helps...

  • Queries with out workbooks???

    Hi,
    I wish to have a list of queries which do not have workbooks -
    And i am creating a report which will have these information such as the list of queries with out workbooks and who is calling them??
    Raj

    God idea Parth!
    Now is solved, the table is AGR_HIER
    Thank you very much!!

  • Max. number of queries in one workbook

    Hello experts,
    is there a mximum number of queries which can be embedded in one workbook?
    What are the disadvantages of using many queries in one workbook.
    Are there other disadvantages for input ready queries?
    Thank you
    Johannes

    Johannes, to follow up on Rakesh' answer, your performance will depend on the amount of data you are pulling out with the queries.
    as for the additional disadvantages - unless you use the BExGetData formula, formatting will be your primary issue.  Also, when you create buttons for the input ready query, the only time you get to set what Data Provider you are using is when you first code the button.   After that, you would need to recreate the button to ensure that you are pointing to the right query.
    the advantages are that you can model your reporting requirements any way you want (for example we use two multiproviders with different characteristics and use 6 queries to pull the data out)
    Pavel

Maybe you are looking for

  • Parameter form  which generates a report in delimited format

    Hello , I have a parameter form which calls a report in delimited format. In the RUN_REPORT* (Function Body) in program units , I have made the following modifications : SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'DELIMITED'); I get a re

  • Link to other CBT in TOC?

    I have a list of tasks that users may watch all at once OR individually.  Is there a way that I can create multiple CBTs and then link them together using the table of contents? If not, then I'll have 2 versions.  One version has all the sections in

  • ClassCastException help

    Hi I am building a web application with servlet, JSP using Javabeans, I have created a Created Product and a sub class OrderedProduct Class Product Product(name, code, price) Product(){} Class OrderedProduct extends Product OrderedProduct(){} in the

  • Audio files split when adding video

    hello. sometimes when i add video to the timeline, the audio tracks seem to split. why is this and can i turn that feature off because it gets annoying after awhile.

  • HT201269 I need to disassociate my phone number with apple texting.  Where do I do this on-line?

    I need to disassociate my phone number with apple texting.  Where do I do this on-line?