Refresh of views/queries in a workbook

Hi,
I have a requirement to prepare a workbook with 5 views of the same query.
I am looking for an effective method to have all 5 views refreshed when the user open the workbook. Is this possible? Is this possible to execute the refresh without the user intervention (ie passing the username, password and server to the workbook and have it refreshed automatically).
Your suggestions are appreciated,
Regards,
Xibi

Thanks Bhanu for the prompt reply, i wasn't sure if that setting refreshes all views (each in the different worksheet) in the workbook.
And what about the automatic refresh of the workbook - is it possible?
Message was edited by: xibi xibi

Similar Messages

  • 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

  • Allow refresh of individual queries in workbook is not working

    Hi,
    We are in EHP1 SP08, BI Analyzer 7.20 SP2 .
    In workbook I have 2 queries I checked the "Allow refresh of individual queries"  but I am unable to refresh my queries individual .
    I tried all the options by removing "Process variables on Refresh", " Refresh workbook open" ,Display duplicate variables once.
    I appreciate if anybody share with the solution
    we are using OFFICE 2007.
    is there any setting required in Excel.
    I am thinking "CALLBACK" Macro may not functioning correctly.

    Hi,
    The main disadvantage of workbook frequently this issues are coming .check the query if any one changed .then try to create a check box again.
    Regards
    sivaraju

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

  • Query not refreshing all data when run in workbook with other queries

    All,
    I have the following problem. I have a workbook that has two queries, one on each tab.
    The specific thing I notice that the company code is not showing up in the query at first until I hit refresh. Both queries use the same company code and user variables. When running the workbook I have each query set to "refresh query when running workbook". I have been able to duplicate this problem in either of the two queries, depending upon which company code variables I use. When I run the workbook, one of the two queries never updates company code variable unless I "refresh" the query directly after pulling up the workbook.
    I have changed the company code variable and used other company codes in each query, some required, some not, but ultimately a few of the key figures are not populating with current data and the company code is missing...unless I hit refresh on that query. I have tried creating new workbooks and removing and reinserting the queries, but this doesn't work either.
    And both queries run fine when executed alone.
    Again, Both queries use the same company code variable.
    Any help will be rewarded with points and is appreciated.

    Tasha,
    Remove the queries from the workbook and reinsert them. This should show the desired result.

  • 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

  • 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

  • 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

  • ORA-12015:  cannot create a fast refresh materialized view from a complex q

    Hi,
    I'm facing very strange problem. Please help me why this error is coming
    I'm creating a simple materialized view, but it is giving below error since this is simple select * from.
    CREATE MATERIALIZED VIEW EFMS.MS_TASK
    BUILD IMMEDIATE
    REFRESH FAST
    START WITH SYSDATE
    NEXT (SYSDATE + 1/24)
    WITH ROWID
    AS
    SELECT * FROM MS_TASK@efms_link;
    SELECT * FROM MS_TASK@efms_link
    ERROR at line 8:
    ORA-12015: cannot create a fast refresh materialized view from a complex query
    CREATE MATERIALIZED VIEW LOG ON MSDBO.MS_TASK
    TABLESPACE DBOR_MVLOG
    PCTUSED 0
    PCTFREE 60
    INITRANS 20
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOCACHE
    NOLOGGING
    PARALLEL ( DEGREE 2 INSTANCES 1 )
    WITH ROWID, PRIMARY KEY
    EXCLUDING NEW VALUES;


    Not is a best practice to use 'select *'

    ORA-12015: cannot create a fast refresh materialized view from a complex query
    Cause:      Neither ROWIDs and nor primary key constraints are supported for complex queries.
    Action:      Reissue the command with the REFRESH FORCE or REFRESH COMPLETE option or create a simple materialized view.
    Then you have to change REFRESH FAST or create a primary key in MS_TASK@efms_link to avility fast refresh.
    . :-) any help with my english is wellcome :-) .

  • ORA-12015: cannot create a fast refresh materialized view from a complex

    Hi All,
    I am trying to create materialized view but i got a error ORA-12015: cannot create a fast refresh materialized view from a complex query.
    Regards,
    narayana

    Hi,
    Please see if (Note: 179466.1 - Diagnosing ORA-12015 fast refresh materialized view / complex queries) helps.
    Regards,
    Hussein

  • 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

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

  • Combine Queries in one workbook

    Hi guys,
    I am looking for a way to combine multiple queries in one workbook.
    For example: If I set a filter in one query to the month November, the same filter (e.g. November) should apply to all other queries (which are on another worksheet or on the same worksheet).
    How can I do this?
    Many thanks,
    Sabin

    Hi Sabine,
    You have two options:
    1.  the easy one is to use same variables in the refresh screen for all queries in the same workbook; if you do this, then use the "refresh all queries" option, you will get the same restrictions applying to all queries in the workbook simultaneously.
    2.  the more difficult way to do this is to use a lot of Visual Basic.  Using Visual Basic, you can "read" the filter value set on a particular query, then "apply" that filter value to every other query in the workbook.  OR, you can use the "Copy Filter Value" function.  I prefer the latter for a number of reasons.
    From your earlier notes, I assume you want to use option 2.  To help you further, it would be useful to know what version of BW you are using, and how your users typically refresh queries (i.e., with a button in the workbook, or using the Business Explorer toolbar?).
    It would also be helpful to know your level of comfort with VBA in Excel.
    Here are some notes on the "Copy Filter Value" function:
    Function SAPBEXcopyFilterValue(fromCell As Range, Optional atCell As Range) As Integer
    • Return value of zero indicates that no errors were encountered.  Otherwise, function returns number of errors encountered.
    • If atCell is not specified, the active cell is used to determine which characteristic to return information for.  If the active cell is not part of a query definition, then function returns an error state.
    • Characteristics (fromCell and atCell) must have same technical name; for example, cannot copy filters for Ship-to (0SHIP_TO) in Sales cube to Ship-to (YCOCUSSH) in a Shipments cube
    • Queries (copying from and to) must be in same Excel Workbook.
    Sub CopyFilterOnce()
    Dim filterRng1 As Range, filterRng2 As Range
        'in this example, we are copying filters from query on sheet
        'with code name Query1 to query on sheet with code name Query2
        Set filterRng1 = Query1.Range("F10")
        Set filterRng2 = Query2.Range("D13")       
        retVal = Run("SAPBEX.xla!SAPBEXcopyFilterValue", filterRng1, filterRng2
    End Sub
    Hope this helps.
    - Pete

Maybe you are looking for

  • Help for Newbie -- Premiere Elements 10

    I'm completely new to video editing.  I know this is supposed to be the easiest software, but I'm getting nowhere.  Part of the problem is that the software doesn't seem to come with a manual -- in paper or pdf.  The help button ships me out to vario

  • Controlling external flv with ActionScript

    I'm using the NetStream Class to control the playback of an external flv. I've got a Pause/Play button using .pause, and Fast Forward and Rewind buttons using .seek. What I want to do is once the video is done playing to automatically reset back to t

  • B460 lost WiFi adaptor after Win 7 professional upgrade??

    Got a new B460, WiFi once worked in Win 7 home but after upgrade to Win 7 professional, I can no longer see anything related to WiFi, i.e. when I press Fn+F5, I only see the "bluetooth" icon (hardware button on), and also under Device Manager -> Netw

  • Raising a Message and staying at the same screen

    Hi, i had searched SDN before posting this thread I'm working on a Enhancement for CO12. The issue is that after raising a message i have to stay at the same screen. I raised the error message like below, but after this message the whole screen is ge

  • ISG: Service with traffic policing counts dropped packets.

    Hello, Our company has a router Cisco 7304 NPEG100. ("show version" in the  bottom of this message). We are planing to start ISG services at this router, but there is a bug CSCei4190. When I set traffic policing in service, accounting in this service