Macro not refreshing in workbook with SP 14

Hi Gurus,
We have developed worbooks which uses macros to transform data from query to the report sheet. After installing SP front end 14, the macro's are not getting refreshed when the workbook opens., This was fine untill SP 13. Pl let me know if anyone is encountering this issue.
Just a note my macro code gets called from CallBack subroutine.
Thanks

Hi Syed,
I got the same problem with Frontend Patch 15 here. It allready worked with FEP14. The macro I defined in the workbook properties is not used when you initially open a query. When you do a refresh manually everything works fine.
Could you solve this problem? If so please let me know how...
Regards,
Joerg

Similar Messages

  • Cursor not refreshing quickly enough with v13.1

    With the new update, the cursor is not refreshing quickly enough with multiple presses to the arrow (or ctrl-arrow) keys. For example, if I do three or four arrow presses in a row, the cursor disappears until I stop the sequence of arrow presses, waits a fraction of a second and re-appears,
    This is extremely annoying as I can maneuver around my code without stopping to see where I am. Is anyone else experiencing this?
    Any ideas how to fix? Thanks in advance

    Hi mseifert,
    Can you have a look at this post to see if it is the same issue you are facing?
    http://forums.adobe.com/message/5631553#563155
    Thanks,
    Preran

  • Query not refreshed when workbook is broadcasted.

    Dear All,
    I have an issue in a very critical workbook. It fetches data from around 14 diff queries. there are three variables to as inputs required for this workbook. The setting is set to refresh all qureies when wb is open. So when i execute the wb, it first asks the first variable and refreshes all relevant quereies and then the second and third .. Now when i am broadcasting this workbook in BI 7.00, in the workbook pre-cal setting-> variable assignment , all three variables are appearing and so i am giving the variable values there. but when i have executed the setting, and checked the workbook, only queries related to first variable have been refreshed.
    Let me know if any other setting needs to be changed.
    Thanks
    Naisha

    Hello,
    There is a recently bug which Precalculation does not precalculate/refresh some queries.
    Please, review note  * 1476546 - PrecalculationServer: wrong data is calculated/broadcasted
    Unfortunately there is no solution yet.
    The correction will be delivered on next Precalculation Server SP, on CW 33.
    Best regards,
    Edward John

  • When I close my browser and reopen, it, all of the tabs that were previously open reopen, does not refresh and open with my home page opening.

    when I close my browser and then reopen it, it does not go to the selected home page, but reopens with all of the previous tabs. reviewed the available knowledge based answers, but none seemed to fix problem. I'm not certain that I did everything correctly, but I believe I followed the directions properly. problem persists.

    Assuming Firefox is set to start up with your home page, there are two common reasons for this:
    * You have a user.js file instructing Firefox to ignore your previously saved settings and restore the earlier session. See this article on tracking down and removing that file: [[How to fix preferences that won't save]].
    * Firefox is crashing, and doing an automatic crash recovery. As a diagnostic, you can change what Firefox does during a crash recovery, from automatically restoring to showing a list of windows and tabs from your previous session so you can pick and choose what to restore.
    ''To try the change:''
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''sess''' and pause while the list is filtered
    (3) Double-click the '''browser.sessionstore.max_resumed_crashes''' preference and change the value from 1 to 0 and OK that.
    Hope that helps.

  • Preview not refreshing in Cuda with a quadro.... Wha?

    Okay I'm having a weird problem with Premiere Pro 2014.
    I'm editing on a brand new fairly decent Windows system: Win 8.1 pro 64bit, 32gb Ram, solid state drives and all externals running on thunderbolt 2 with a quadro 2200 graphics card.
    I'm currently editing 6k Dragon footage at 1/16 preview with all plugins turned off (lot of time remapping though).
    Problem I'm having is that when running on with cuda on when I turn tracks on or of (i.e. to look at the track beneath the top one) or modify even the simplest plugins or motion panel (opacity or position) the preview window doesn't update until I move the marker in the timeline window.
    This makes editing infuriatingly slow, any thoughts would be extremely welcome.
    Tried purge cache, OpenCL is so amazingly slow and playback by software while it works is just killing me with the lag. Currently editing In RED Cinema mode.
    Could this be a problem with the preview video format?  Any other options on PC than I-Frame Mpeg (at 2.4:1 i.e. 1920x800)?
    Thanks

    Exactly which version of CC2014? As of the release of 2014.2 today, there have been 4 versions.

  • Error when opening a workbook with mandatory variables

    BEx analyzer displays an error message window in the same time as the variable popup window.
    The worbook is linked to 1 query that uses 2 mandatory variables (month ?, year ?), and was defined in the test system.
    I assume that values are thus saved within the workbbok.
    The developper had 0bi_all autorisation.
    When a reporting user is opening it (also in the test system), the error message is displayed.
    This happens only the 1st time when Analyzer is started, and by clicking on the OK button, we are able to run the query.
    The next workbook refresh runs without the error message display.
    Question =  does anybody know the reason of this, and how to avoid the error message ?
    more infos:
    error message E019(R9E) appears for each variable (thus, 2 time with a query with 2 variables):
    Help type 5 is not valid for the platform NONE
    Exception 5 occured while calling IWB_HTML_HELP_URL_GET
    the details of this error message is:
    Diagnosis
       You tried to start the online help with help type on platform. Help type is not supported on this platform.
    System Response
       Profile parameter eu/iwb/help_type must contain a valid help type.
    Diagnosis
       The documentation is not correctly connected to the BI server.
    System Response
       The documentation cannot be displayed.

    i checked the query and authorisation with RSRV, but this didn't help, furthermore, a lot a functions are not implemented in the system, sorry.
    i also changed the query and workbook, and i think that it depends on the workbook release 3.x or 7.
    imagine following situations: same query 7.0, same workbook 7.0
    with BI7
    1) opening the query with variables doesn't display the error message
    2) refreshing the workbook with the query with variables displays the error message (only for a non mandatory variable - as soon as there is a variable, the error message is displayed)
    3) refreshing the workbook with the query without variables doesn't display the error message
    with BW 3.x
    4) refreshing a new workbook 3.x with the query with variables doesn't display the error message
    i also investigate in the function modules for workbooks (RS...), but nothing helped.
    i still think that it is linked to authorisations, because with sap_all, the message isn't displayed.
    how can i continue ?
    Edited by: Claire Mignerey on Mar 17, 2009 2:37 PM

  • Tables in popups not refreshing

    I'm having difficulty with some table refreshes within a popup. Here's my scenario. I have a window that displays a table. The user clicks edit, and the table is shown in an “edit” popup. At this point, if the user makes changes, clicks ok, then the table on the beginning page is refreshed correctly. To do this, I am using the following method to refresh the page fragement, AdfFacesContext.getCurrentInstance().addPartialTarget(this.getViewTablex());
    Here is the issue,
    The user chooses to edit the main table, and the edit popup appears. So far so good. The user then wants to add a new record, they click “Add” within the edit popup so I then show a new popup form where the user enters the fields for the new row. When they click ok on the "add" popup form, then the edit popup (from which they called the add popup) does not refresh the table with the newly added row. The row they added then appears as the first row in the edit popup.
    What further complicates this is that I have to validate the "edit" popup rows when they click ok, to make sure all the data is valid, so I can not do a commit on the underlying table until after the validation. But, I need the newly added row in the table (or view) in the edit popup as part of my validation.
    So, I have a table that makes use of an edit table popup that in turn makes use of an add form popup. But I cannot commit until I validate the edit popup. The problem is I’m not getting the newly added row that was created in the “add” popup to show up in my edit popup.
    Here is the add popup handler I’m using
    public void onAddxxxPopupFetchAction(PopupFetchEvent pPopupFetchEvent) {
    try {
    OperationBinding lOperationBinding =
    lBindings.getOperationBinding("CreateInsert");
    //If the Insert failed, return a "Severe" message.
    Object result = lOperationBinding.execute();
    if (!lOperationBinding.getErrors().isEmpty()) {
    return;
    } catch (Exception e) {
    public void addxxxDialogOKAction(DialogEvent pDialogEvent) {
    try {
    //refresh the page fragment.
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.getEditPopupTable());
    } catch (Exception e) {
    And here is the popup portions of the page fragment
    <af:popup id="addPopup" contentDelivery="lazyUncached"
    popupFetchListener="#{backingBeanScope.backing_ui_pages_Maintenance. onAddxxxPopupFetchAction }"
    popupCanceledListener="#{backingBeanScope.backing_ui_pages_Maintenance.onAddxxxPopupCancelAction}">
    <af:dialog id="addDialog"
    dialogListener="#{backingBeanScope.backing_ui_pages_Maintenance. addxxxDialogOKAction }"
    closeIconVisible="false">
    and for the edit popup;
    <af:popup binding="#{backingBeanScope.backing_ui_pages_Maintenance.editPopup}"
    id="editPopup">
    <af:dialog binding="#{backingBeanScope.backing_ui_pages_Maintenance.editDialog}"
    id="editDialog" closeIconVisible="false"
    dialogListener="#{backingBeanScope.backing_ui_pages_Maintenance.editxxxDialogOKAction}">
    I am using JDeveloper 11.1.1.6.0.
    Any help would be appreciated.
    thanks!
    Doug

    Seems like a PPR issue. Try have a partialTrigger corresponding to the OK button of add popup on the table in the edit popup.
    Thanks,
    TK

  • Macro not working in BEx Analyzer (Refresh selection Screen)

    Hi All,
    We have migrated work book for 3.x to 7.x and work book having lot of macros calculated and using multiple quires in single work books for inpt selection screen written Macro same macro is not working after Migration to 7.x
    7.X Macro code below..
    Sub BW_Prod_Year_Summary()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("E9")
    End Sub
    Sub BW_Prod_Year_Summary_Period()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("G9")
    End Sub
    Sub BW_Query_for_YTD_and_Monthly_View()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("J9")
    End Sub
    Sub BW_Prod_Perform_prev_month()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("M9")
    End Sub
    Sub BW_Prod_Perform_prev_month_Detail()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("P9")
    End Sub
    Sub BW_3_Months_Volume_Comparison()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("S9")
    End Sub
    Sub BW_Query_for_Current_RE()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("E40")
    End Sub
    Sub BW_Query_for_Previous_RE()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("G40")
    End Sub
    Sub BW_Query_for_Business_Plan_this_year()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("J40")
    End Sub
    Sub BW_Query_for_Actuals_last_year()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("M40")
    End Sub
    Sub BW_Query_for_Forecast_next_year()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("P40")
    End Sub
    Sub BW_Query_for_Forecast_Accuracy()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("S40")
    End Sub
    Sub BW_PDR()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("E132")
    End Sub
    Sub BW_SDR()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("G132")
    End Sub
    Sub BW_TDQ()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("J132")
    End Sub
    Sub BW_SSDR()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("M132")
    End Sub
    Sub BW_DDR()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("P132")
    End Sub
    Sub BW_Blocked_Stock()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("E195")
    End Sub
    Sub BW_Age_of_Stock()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("G195")
    End Sub
    Sub BW_Historical_WOS()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("J195")
    End Sub
    Sub BW_Current_WOS()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("M195")
    End Sub
    Sub BW_Current_WOS_Details()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("P195")
    End Sub
    Sub BW_Historical_STO()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("E243")
    End Sub
    Sub BW_Future_STO()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("G243")
    End Sub
    Sub BW_Product_Groups()
    Run "BExAnalyzer.xla!SAPBEXrefresh", False, Range("J243")
    End Sub
    Please help me on this..!!
    Thanks
    Prakash

    Aglukas,
    Thanks again. I understand the name of the Macro can be anything and this is how to create the Macro:
    1) Run workbook, the query result display on the screen.
    2) In Excel 2007, I click on Developer tab ->Macro.
    3) Enter Macro name (Macro1) and click on Create button.
    4) I have VB editor open with following:
    Sub Macro1()
    End Sub
    5) So added the following code to Macro routine in VBA Module:
    Sub Macro1()
    With ThisWorkbook.Sheets("Sheet1")
    Stop
    .Activate
    .Cells(15, 1).Interior.Color = RGB(220, 254, 250)
    End With
    End Sub
    6) I then added the Macro1 to Workbook Setting ->Exit tab, and click on Add Macro button.
    When I run/refresh the workbook, I didn't get into debug mode at all!!!
    What is wrong in above steps?
    Please advice, thanks.

  • Macro not executing on opening a workbook in 2004s analyser

    Hello Everyone,
    I have a macro called callback in my workbook and in the workbook setting under the exits tabs I have checked "Run macro on refresh " option with callback as the macro.
    The macro is not being executed automatically on opening the workbook even though the workbook is being refreshed on opening the workbook. Again If i were to refresh the query after opening the workbook it gets invoked.
    A couple of people seem to have same issue but no one has a clear cut solution.
    Please be advised that I am using 7.0 and I am SPS15 with FEP 6 and patch 1.

    Hi Mitchell,
    This is actual code  I have used :
    Sub Macrotest(ParamArray varname())
    ' Macro1 Macro
        Range("H2").Select
        Selection.Interior.ColorIndex = 15
        Range("K2").Select
        Selection.Interior.ColorIndex = 4
    End Sub
    The problem I have is that the macro is not invoked the very first time I open a workbook (I have the query refresh on wokrbook option set). Once the workbook is open changing the report or variables trigger the macro.
    Anyways I have sent an error message to SAP, will update this thread on feedback from them.

  • Excel Workbook with Excel Data Model stored on SharePoint - daily refresh

    I'm not sure if this is exactly the right forum but I'm hoping that someone here can either answer or point me in the right direction.
    I have an Excel Workbook with an Excel Data Model.
    The Excel Data Model uses SQL to contact our data warehouse and pull through data into tables.
    We are storing the Workbook on a SharePoint site and viewing it using Excel Services.
    The data in our data warehouse is updated daily and so I would like to refresh the workbook daily and remove the option to refresh the data in the browser.
    Is this possible with a workbook that has an Excel Data Model (I've seen lots of posts that relate to workbooks with connections to tabular models).
    Thanks
    Paul

    Hi Paul,
    I have answered this issue in this thread that you posted in SQL Server PowerPivot for SharePoint forum, please see:
    http://social.msdn.microsoft.com/Forums/en-US/9627939c-e9f1-48ae-a6ed-0c238d8f2d69/excel-workbook-with-excel-data-model-stored-on-sharepoint-daily-refresh?forum=sqlkjpowerpointforsharepoint
    Furthermore, this issue is more related to PowerPivot for SharePoint. If you have any more questions about PowerPivot for SharePoint, I would sugget you open a new thread in the forum below for better support:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=sqlkjpowerpointforsharepoint
    Thanks for your understanding.
    Regards,
    Elvis Long
    TechNet Community Support

  • 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

  • Refresh Queries - runs a query that is not in the workbook ??

    I have a workbook with a number of BW queries. NONE of these queries have a RRI setup.
    If I select Refresh Query when not selecting any one particular query - another query is run. The query that is run is NOT in the workbook.  None of the queries in the workbook are refreshed which is the norm.
    This behavior is just happening in one workbook
    We are using BW 3.5.
    Thanks
    Gill

    Gill,
    We had a similar issue a while back (see [Query Refresh goes to Saved View?;), but never found a solution other than recreating the workbook.
    In our case, I believe the user may have deleted a worksheet without first deleting the query that was on it. That is one possibile explanation for what you are seeing.
    Hope you have better luck resolving this than we did. (I will be watching!)
    Bob

  • Workbook does not refresh in MS Office 2007 on Windows 7

    Hi,
    We are facing problems when we try to refresh the BI Workbooks on the
    Computer which is having Winodws 7 (OS) and MS OFFICE 2007.
    The Workbooks goes into endless loop, and it shows Processing. The
    Query does not refresh.
    These workbook were created in MS Office 2003 on a Windows XP (OS)
    machine.
    The workbook get refreshed on the MS OFFICE 2003 and WINDOWS XP
    Machine, but the same workbook is not refreshing on the WIndows 7 (OS)
    with Office 2007.
    THE SAP GUI is 7.10 and the following are support Patches installed.
    1) bi710sp12_1200-10004472
    2) gui710_18-10002995 ( Patch 18)
    Support Patch for SAP BW is SAPKW70020 (0020). 
    Is there any other setting to be done in Excel 2007 on the Machine
    which is having Windows 7 as Operating System.
    Please suggest.
    Thanks & Regards,
    Nilesh

    you are installing, running, Windows, natively, so it is the same.
    a partition manager does not affect the OS, and the support driver software is just that
    www.apple.com/support/bootcam faq manuals how-to & support

  • Workbook not refreshing dynamically through Function Module.

    We have a workbook with multiple queries having common variable set.
    we are trying to execute workbook from program, using the function module RSAH_LAUNCH_EXCEL. Also we are trying to assign variable values manually.
    through the program, the workbook is getting executed but if i change the variable values inside the program manually, workbook is not getting refreshed. can someone help us.
    the below is the code
    REPORT  ztest.
    DATA: v_workbookid TYPE rsrwbindex-workbookid,
          v_subrc TYPE sy-subrc,
          ls_var TYPE rrx_var,
          lt_var TYPE STANDARD TABLE OF rrx_var.
    v_workbookid = 'D0C1TB5M99SDPACEG070AFU88'.
    ls_var-vnam = 'ZTEST_EXPORT'.
    ls_var-vartyp = '1'.
    ls_var-vparsel = 'P'.
    ls_var-sign = 'I'.
    ls_var-opt  = 'EQ'.
    ls_var-low  = '10008891'.
    ls_var-iobjnm = '0BPARTNER'.
    APPEND ls_var TO lt_var.
    CALL FUNCTION 'RSAH_LAUNCH_EXCEL'
        EXPORTING
         i_genuniid                       = lv_genuniid
          i_workbookid                     = v_workbookid
          i_objvers                        = 'A'
         i_hide_sapgui                    = 'X'
    IMPORTING
        e_subrc =           v_subrc
        TABLES
          i_t_var                          = lt_var.
    Thanks

    Did you create your function module without problems...assigned the Z* function group? activate the function module? i assume that you copy the function module code and the variables definition on TOP include of RSAX_BIW_GET_DATA_SIMPLE
    Regards
    Message was edited by:
            Oscar Díaz

  • Workbook with changed query does not display the changes...

    Hi,
    I have a problem with a workbook with one query in - the query has been changed, but the new added keyfigures are not displayed in the existing WB.
    I know from Bex 3.5 there is the option on WB settings "return to global definitions" - I miss this functionality in BI 7.0.
    My installed sap gui is version 710
    Please let me know where I can switch on this feature...
    regards
    chris

    If you use "Return to Global Definition on refresh" option, all the users would have to have it turned on in their workbooks. In that case won't they lose any settings/navigation the user did, specific to their need. All the workbooks end up being the same in that case.
    We are still running on 30B and starting the upgrade to BI70. We just went through training on the new BEx analyzer, and I have to agree with you that some of the useful features of BEx 3X will be missed. Specially in the area of Workbook support, things like Copy query, insert query etc are missing as well.
    Thanks
    Vineet

Maybe you are looking for