Problem Refreshing Query Definition on Workbook

Hi guys ....i have a very strange case.....in 3.5 users can execute workbooks without problems and also can change global and local definition of the query on formulas and keyfigures....but the column header texts are not updated in workbook....i have a description for columns and rows on workbook and another description on definiton of query....i checked the "goto query defintion on refresh" on properties and nothing happens...headers are not refreshed.....
I hope somebody could help me
Regards

Hi,
Is there any macro written which may be overwriting the column header.
If this is not the case then you must have saved workbook when it was last edited by editing the column headers. You can change in workbook the heqader column and then see whether the column header is taken from query definition or what you have saved in workbook.
Regards,
Niraj

Similar Messages

  • Problem refreshing query when opening workbook in VBA

    I have a report menu in a workbook not containing any queries - only the description, technical name and additional information about the reports.
    I use Run ("SAPBEX.XLA!SAPBEXreadWorkbook"), <TECHNICAL_NAME> to open the respective workbooks, which works fine.
    However, if I try to refresh the query, BEx displays a message saying:
    "Can only refresh this query agains a server of release 2.0 or higher: <QUERY DESTINATION RANGE>"
    We're using BW 3.5!
    After that, BEx is a complete mess:
    - Open workbook dialog is from a previous version (without History, Favorites, Roles buttons)
    - All workbooks are displayed, but if I try to open one, BEx claims that "The workbook does not exist in the document store". Then why display it, dear SAP programmers?
    Now, if I disconnect and reconnect, the query can be refreshed as if I had opened the workbook directly instead of using VBA.
    Our users like the idea of a report menu, so any help would be appreciated!

    Changed the error handling as follows, dropped the SAPBEXinitConnection function, which is completely redundant:
    Sub OpenWBTechName()
    On Error GoTo ErrorHandler
        Run ("SAPBEX.XLA!SAPBEXreadWorkbook"), <TECHNAME>
    Exit Sub
    ErrorHandler:
        If Err.Number = 1004 Then ExtraInfo = "Start BEx Analyzer!"
        res = MsgBox("Sorry, could not open requested report!" & vbCrLf & vbCrLf & ExtraInfo, vbExclamation + vbOKOnly, "Open SAP/BW workbook report: ERROR!")
    End Sub

  • Refresh query when opening workbook is ticked automatically

    Prior to Upgrade, the bex properties settings for "Refresh query when
    opening workbook" was unticked(deactivated) and now after upgrade to BI
    7.0 the bex properties "Refresh query when opening the workbook" is
    ticked(activated).
    Again, This has happened only to a particular strand.
    Can anybody guide me on this. As a result of the above, all the work books are now refreshing automatically. This has affected hunderds of workbooks and we need to restore this back. Please help.

    Hi Dave,
    That is a local workbook setting.  The setting is stored in the workbook on the sheet named SAPBEXqueries (see earlier postings on how to make this worksheet visible).
    If there is only one query in the workbook, then look at at cell U4.  This cell will read TRUE if the setting is check (do refresh on open) and will read FALSE if the setting is not checked (do not refresh on open).
    One way to be sure that this setting is not altered would be to create a subroutine for the Workbook_BeforeClose event.  The user then can make any selection they like, but you will over-ride it when they close the workbook.
    Hope this helps.
    - Pete

  • PROBLEM refresh query automatically

    Hi
    We want to do a analytic dashboard with the web application designer.
    our problem is that we want the query to refresh automatically, for example every 2 minutes, due to the constant changes of the information.
    Does someone know if with the bw 7.1 it is possible to refresh the model periodically without returning to execute the query?
    thanks and best regards.

    thanks for the reply, there is an option in the iviews called "Cache Validity Period" but they dont want the portal, only bex to acces the information.
    thanks again

  • Auto refresh when opening a workbook

    Hi
    When I open a workbook, I would like the query to auto refresh. In that way the planning user will see the latest planning values and not the ones saved in the workbook.
    Is there any functionality for running the planning function refresh automatically when the workbook is opened?
    Kind regards
    Erik

    Hi Erik,
    Once you open the workbook, just right click on result area and select properties.
    In that select the Interaction tab and then check Refresh query when opening workbook.
    Then dont forget to save the work book.
    Regards,
    anil

  • BExAnalyzer: Multiple use of the same Query in a Workbook - Command Button

    Hy Gurus,
    in my Workbook I have in Sheet 1 one Analysis Grid, defined as DP_1
    in Sheet 2 it is an other Analysis Grid defined as DP_2
    Both Data-Provider refer to the same technical BW Query.
    If I add a Button (from the BEx Toolbar) and try to refresh the first query (with commands: PROCESS_VARIABLES and VAR_SUBMIT) both Queries will be refreshed with the same variable value, even if i mention "DP_1" as Data_Provider in the button.
    But I don't want, that the second query is been refreshed too (with the same variable value).
    In the workbook Settings, I already checked on: Allow refresh Function for Individual Queries.
    Can anybody help?
    Regards
    Klaus

    It is not a solution to copy the query. We will need this feature for about 50 Workbooks/Queries and so it is the problem to keep the copied queries consistent
    If I refresh the Queries manual with the the "Change Variable Values" Button I get a pop-up with two fields where i can input two different values - here it works.
    Can I achieve the same with the command buttons?
    The definition of the first command button is like this:
    Name                       Index     Value
    DATA_PROVIDER     1           DP_1
    CMD                           1          PROCESS_VARIABLES
    SUBCMD                    1          VAR_SUBMIT
    Command Range: A2:C5 (there is the Name, Value, Sign and Operator of the Variable).
    The second command Button:
    Name                       Index     Value
    DATA_PROVIDER     1           DP_2
    CMD                           1          PROCESS_VARIABLES
    SUBCMD                    1          VAR_SUBMIT
    Command Range: A12:C15 (with a different Value of the Variable).
    If there is one query in the workbook it works fine, but not for two queries, even if I change the Index of the second button to 2.
    Thank you for your hints.
    Regards
    Klaus

  • Automatic refresh of queries into workbook

    Dear SAP fans,
    I am using a workbook with 2 BEX queries and some VBA coding for each "onRefresh".
    I set both queries to "refresh query when opening the workbook" so that my workbook is automatically updated when I open it.
    Unfortunately the "system" automatically refreshes the queries in the "wrong" order. Therefore my result in incomplete...
    Any idea to refresh the queries in the right order?
    Alternatively, I was thinking to refresh the second query via VBA coding, but I can't get it right...
    Thanks in advance for your help!!
    Kind regards
    Julien

    Hi both,
    Thanks a lot for your great answer:
    S.Sankaran,
    I saw the same behaviour, but was not quite sure it will be the rule...
    This solution does work!
    However I would be happy to use Sebastian solution, which sounds cleaner and more flexible...
    Unfortunately I do not manage to make it work: I do not manage to get the option definition..
    Seastian,
    Could you help me to open the object katalog of the sapbex.xla?
    Thanks again both of you!
    Julien

  • Problem loading Query Designer Add-in

    Hi All,
    Can anyone please help me on my below issue.
    Whenever user is trying to start a new query in Essbase , he is getting below error message. It will not allow user to build a fresh Essbase pull
    Problem loading Query Designer Add-in. Workbook Activate,open & close operations may not be fully propogated
    Thanks in advance.
    Regards
    Vishal

    Hi Vishal,
    1) Try to remove the addin and then add again.(Before doing this close all the excel process from the task Manager)
    2) Check weather essexcln.xll and essxleqd.xla are corrupted.

  • Characteristic "Master Data" setting in Query definition not working?

    Hi,
    I am having a problem with a query definition. (BI 7.0)
    The query comprises the following definition which relate to displaying Milestone dates for respective projects in a time series so the dates are populated in the correct column in a time series:
    Filter
    Project Definition = Fixed Single Project Definition
    Fiscal Year Variant = K4
    Project Profit Centre = Hierarchy Node
    Project Plant = Fixed Single Value
    Free Chars
    Network
    Network Activity
    Activity Element
    Rows
    Project Plant
    Project Profit Centre (With hierarchy)
    Project Definition
    Milestone Type  (Setting in characteristic to pick up Master Data)
    CSR Relevant    (Setting in characteristic to pick up Master Data)
          Structure
               Actual
               Scheduled
        (Actual:  Value type = Actual,  Origin = Manual ,Event = Start)
        (Scheduled:  Value type = Actual,  Origin = Scheduled ,Event = Start)
    Columns
    Key Figure structure of 12 key figures in a time series
    Selection
    Key Figure = Date
    Fiscal Year/Period = Current Fiscal Year / Period (SAP EXIT) (With Offset 1 to 12)
    FYI
    When I run the above it comes back correctly. However when I add "MILESTONE" (Characteristic setting (Posted Values) to the Query Definition immediately after the "Milestone Type" and before CSR it does not work it just is hanging for a considerable time.
    I am not using "Master Data" for the "Access Type for Result Vales" for the additional characteristic "MILESTONE" just "Posted Values".
    I was expecting that it would just show all Milestone types as per Master Data but just the Milestones that are posted for this result.
    I would appreciate a solution to this issue and an explanation to why it hangs when I add the "MILESTONE" characteristic to the definition as explained above.
    Thanks in advance..
    Stevo

    Hello there,
    Putting Milestone in the rows in the query definition is not being hang there (i.e., while creating and saving the query) right?
    It is stucked while executing the query isn't it so?
    That's because you have too many records to be desaggregated by milestone characteristic, and this is indepently of posted values in the characteristic settings.
    Putting milestone characteristic in the free characteristics will allow you to run the query, but desaggregate it (add it to the rows) will be to much information to read from your dataprovider (this is just a guess).
    If it is being stucked in query execution whike milestone is in the rows. Try this for example:
    Add milestone to the free chars. Execute the query. Filter milestone characteristic while still in the free rows and choose a value that you are pretty sure has the smallest records in the Dataprovider (could be for example value #). Than drill down milestone to the rows. You'll see that it can be executed without any problem.
    Diogo.

  • Hide 1ROWCOUNT in the query definition

    Hu Gurus,
    i'm facing the following problem and need your help.
    when i hide 1ROWCOUNT in the query definition the records which do not have values desapeare from the query when i excute the query.
    any advise to solve this.
    check this for more infos aboiut what i'm trying to do:
    http://help.sap.com/saphelp_sem40bw/helpdata/en/3a/d1603d13b5c72ee10000000a114084/content.htm
    thank you
    regards,
    Younes

    I hope you not made any settings like Suppress Zero values in Query properties

  • How to schedule refresh query in webi?

    Dear Experts,
    I'm facing problem on how to set schedule refresh query and disable refresh function for End User in WEBI. The problem is that each time of refreshing query it'll take long time and I just don't want end user to endure this painful waiting. I used universe connection in IDT.
    Please give me some suggestions or ideas to deal with this problem.
    Best regards,
    Chenna Yon

    Dear Gill Leo,
    I would like to thank for your help.
    My problem was fixed.
    Best regards,
    Chenna Yon

  • Local Changes to a Query in a Workbook

    Hi guys.....
    In 7.0... Theres a way to change locally a query assigned to a workbook?
    Like in version 3.5 wher you can change locally the query definition......
    I need to know if its possible or we need to create another query...??
    Regards

    Hi Oscar,
    Did you wanted to reassign a different query to the same workbook ?
    Try :
    BI 7.0
    Run the workbook
    Switch on Design Mode ( Letter A )
    RClick on table - Properties
    Click on Pencil Icon
    Assign Query - Select the new one

  • Change properties to refresh when opening new workbook

    Hi All,
    I am trying to change the properties of queries and saved the workbook, when i am tranport those changes into QA environment it was not reflecting the changes in QA.
    Please help me on this issue, this is an urgent.
    Thanks in adwance....
    Babu.

    Hi
    You have to check two areas
    1. Have you chekcked bex refresh checked in the workbook properties
    Right click on workbook result ->properties -> Interaction -> 3rd option
    Refresh workbook when query is changed
    2. During transport, you have to transport the workbook ..have you did that?
    Regards
    N Ganesh

  • Remove a query from a workbook

    Hello,
    I'm trying to remove a query from a workbook like I did many times in the past. In some of the workbooks this option works and in some it doesnt. when i use "mark queries in the workbook" it marks the query that i want to remove so i'm sure the query is fine.
    Did someone had this problem in the past?
    Thank you,
    David

    David,
    We were on SP 12 and had this issue (we also had the issue of selecting Properties in the Analyzer of the query and nothing happens), our basis guys have installed SP13 and so far I've had no reoccurrence of it.
    Regards
    Gill

  • Detaching a query int the workbook

    Hi, one favor:
    some one could tell me about if a query can be reattached if you know the proper password or if you refresh the entire workbook ??
    And if the query results keep visible after the query is detached , or if only a few of the OLAP navigation functions keep active for a detached query ??
    Thanks in advanced,
    Best whishes,

    Yes you can deattach and reattach the query from the workbook. There is "remove" and "attach" qwuery button which will let you do the same.
    When you de attach query and reatatch query, you neeed to delete result rows and other data from excewl by clearing ( Edit -> clear; top menu) and save workbook again.
    Hope i m clear./
    --SA

Maybe you are looking for

  • Creative Cloud Dreamweaver suddenly inaccessible. AAARGH.

    I have Adobe Dreamweaver CS6 via Creative Cloud (paying $19.99/mo via automatic debits w/ 12-month commitment). I've been paying now for 4 months. My last payment was deducted from my bank account 7 days ago. I had no trouble starting and using Dream

  • Creation of Mfg Service contract from IB Instance number

    Hi Team, We have a requirement from client that we need to create a Mfg Service contract for a given IB Instance number. Can you please let me know, if we have any API for this? I tried to create contract using Oks_Contracts_Pub.Create_Contract_Heade

  • [SOLVED] error message when launching deluge

    Hi everyone, i see this error message when launching deluge torrent client ( its not launching at all from menu) [bb@arch ~]$ deluge [ERROR   ] 00:59:41 ui:168 No module named gobject Traceback (most recent call last):   File "/usr/lib/python2.7/site

  • Dynamic html table

    Hi, I try to do a dynamic table which will return headings, all rows from emp table. Let say I've done process on page which return simple table contect. ----------------------------Process on load after region----------------------------------------

  • Reinstalling system software error

    i needed to reinstall my system software as there were a bunch of errrors going on and i thought it was needed. So i went to do an archive and install and i did not have enough space to do that, so i unchecked eveything i didn't need to get enough ro