blog.

Analysis Office 2.7 SP8 is available

The latest version of Analysis Office is now available. It was released on 27.09.2019 and after the go live of my project is now done, I may have time to look more into Analysis Office again. 

  •  AO Prompt Selection makes Excel.exe freeze (s-note 2836430)
  • Analysis Office: Red borders around valid new line cells (s-note 2831840)
  • Exception when opening or saving a workbook or data source after Log Off (s-note 2838591)
  • RRI passes wrong context for axis tuple element (s-note 2834404)
  • SAPSetFilterComponent and Time Characteristics (s-note 2829371)

As you can see in this version there is not many things fixed or maybe they found not more? But the What's new Guide lists some new file system settings (technical parameter)

 

  • ForceWriteOlapConnectionInformationDuringWorkbookSave 
  • UseDocumentDescriptionToConstructBIDocumentFileName
  • UseDocumentDescriptionToConstructBWDocumentFileName
  • SacHttpSessionPingInterval
  • SearchFetchMemberLimit
  • AllowOverwritingOfDimensionNames
  • AllowOverwritingOfStructureMemberNames
  • ReverseVariableProcessingOrderForHanaFromOldxml
  • UseKeyForHierarchySelection
  • UseQueryVariantsForViews

The admin guide now documented now all these parameters. A nice parameter is UseKeyForHierarchySelection, which allows you to define if you want to see the keys of a hierarchy in the first coloumn or second column of your prompt.

Default Value UseKeyForHierarchySelection
Default Value UseKeyForHierarchySelection
Changed Value UseKeyForHierarchySelection
Changed Value UseKeyForHierarchySelection

Read More 0 Comments

Aleksandra

Hi,

 

I just got an email from you via the contact formula. But When I answer to your email or to your shop order, I get an error "The email account that you tried to reach does not exist." I tried it several times, maybe your account is full? So can you please provide me another mail address or contact information? Maybe via Linkedin or so?

 

Thanks, I don't know any other way to contact you :)

Read More 0 Comments

Analysis Office - The Comprehensive Guide Discount Code

Until the end of the month you can get my book with 30% off. Just use the discount code Summer2019. You can buy it here.

Read More 0 Comments

What's new in Analysis Office 2.7 SP7

It's a kind of summer break at the moment and I haven't done a lot for this blog in the last time. But SAP now release the 7th service pack of Analysis Office. 

 

You can now use the filtering data access mode with SAP Analytics Cloud data sources, analytic and planning models. There are also 3 new file system settings:

  • ShowCutCopyPasteInGridContextMenu
  • EnableImprovedAddInCompatibility
  • UseSeparateDisplaySettingsForFilterDialog

The setting ShowCutCopyPasteInGridContextMenu allows you to sepcify whether the cut, copy and paste entries should be available in the context menu for a crosstab cell. The setting EnableImprovedAddInCompatibility should improve the compatibility with other Microsoft Office add-ins. How this work we will see.

 

The setting UseSeparateDisplaySettingsForFilterDialog you can define if the display settings defined in the filter dialog should be saved with the workbook.

 

So as you can see nothing spectecularit fixes also a little bit:

  • ALL: Current View Edition mode when a member start with the same characters that another member (s-note 2811124)
  • ALL: during a customized drill through Excel remains frozen (s-note 2813223)
  • ALL: last selection not saved when set to Base Level (s-note 2811297)
  • AO 2.7 SP6: Office 2010 - Can't open AO workbooks via launcher (s-note 2814329)
  • Analysis Office Performance Issue when Refreshing Workbooks with Many Format (Design) Rules (s-note 2813968)
  • ALL:Report options are truncated (s-note 2814791)

 I am still looking for Analysis Office 2.8, but now I am first enyoing my vacation.

Read More 0 Comments

SAP BW F4 BAdI to restrict hierarchy nodes

In our current project we had to deal with the requirement that the enduser only want to show a certain node of a hierarchy to filter. So we used the F4 restriction from the transaction spro. You find the entry under Business Warehouse >> Enhancements >> BAdI: Restricting the Value Help in the Variables Screen. We implemented it in the method GET_RESTRICTION_NODE.

 

At this time I had only experience with the method GET_RESTRICTION_FLAT and searched for implementation examples. I found a wiki entry on scn. In our case we had bookable nodes so we implemented it like this to get these node and all children of it.

 

l_s_node-nodename = 'NODE1'.

l_s_node-niobnjm      = 'ZZ_IO'.

Append l_s_node to c_t_node.

 

But it didn't work out. The debugging showed no error, but the restriction always showed the complete hierarchy. After a little digging we found our mistake, it have to look like the follwing:

 

l_s_node-nodename = 'LEAF1'.

Append l_s_node to c_t_node.

l_s_node-nodename = 'LEAF2'.

Append l_s_node to c_t_node.

 

And so on for all leafs. So we had to add all leafs and not the nodes. I didn't found any good explanation so here is the short article about it. Thanks to my collegue who had the problem.

Read More 0 Comments

Analysis Office Size Limit of result set exceeded with small query

It has been a quite while since the last post. But with a go live and a reorganization of my current project I hadn't time to look into some topic. But here is a new kind of interessting bug. We had an open task from a user of the controlling department, that a query display the message:

"Size Limit of result set exceeded."

That's an odd thing, because the query has only six columns and 110 rows and when the user dragged the calendar month into the columns it should have 12 columns for the actual year and 110 rows. Which is defintily lower than the limit of Analysis Office, which is 500.000 cells.

Read More 6 Comments

Analysis Office 2.7 SP6 is available

Since 24.05.2019 the latest service pack of Analysis Office is available. At the moment I am working on a test tool to automate testing in BW so I can easy check if any change of mappings and so on has an impact on my ADSO or query result. But I found time to install it. A "bug" what I found was when I want to insert a data source from the recent list, nothing happend. The solution was to reinstall Analysis Office and now it works. Here is the list of bug fixes:

  • Analysis Office: Exception from HRESULT: 0x800A03EC when trying to save a protected workbook (s-note 2781162)
  • Launcher error when launching from BIP (s-note 2781090)
  • Warning message about comments without using comments (s-note 2780925)
  • ALL: Locked cells can be edited when Excel grouping/ungrouping is allowed (s-note 2784832)
  • ALL: Refresh may be incorrect in some cases (s-note 2786604)
  • ALL: Refresh metadata fails when a workbook was closed before (s-note 2786615)
  • AO: End-User-Defined Characters on Prompts (s-note 2781131)
  • AO: Mouse actions don't work in wbs with brackets in their name (s-note 2782332)
  • All crosstabs are deleted after clicking on cell after editing (s-note 2791886)
  • Analysis Office: After execution of planning sequence or applying filter new lines contain data of the result set (s-note 2789464)
  • Analysis Office: Exception when closing workbook (s-note 2788026)
  • Analysis Office: Grouping of crosstabs containing characteristics with different names but same descriptions (s-note 2784694)
  • Analysis Office: erroneously new lines are displayed after executing a planning sequence (s-note 2785251)
  • New Lines - Value Help does not return selected value (s-note 2780363)
  • Refresh Data fails if additional Workbook appears during opening and one is cleaned (s-note 2790594)
  • Scheduled Workbooks Get Corrupted and Issues with Special Named Ranges and Sheet Names (s-note 2784545)

Did anyone have the same bug with the Insert DataSource function?

Read More 0 Comments

SAP BW fix incorrect data in a DataStore-Object

Here just a short notice if somebody doesn't know it yet. If you have a false information in a data record you can fix this manually either in a PSA or (A)DSO. Just select the desired entry and click Display (F7).

Detail view of an entry
Detail view of an entry
Read More 0 Comments

SAP HANA Table Functions

It has been very quite at the moment.Because nothing spectecular is happening in the Analysis Office world. SAP released Analysis Office 2.7 SP5. I still hope they get Analysis Office 2.8 back on track and without so much problems as they have today.  But back to topic.

Recently I had the opporunity to work with SAP HANA Table Functions. First I had a complex SAP HANA Calculation View with Joins, Aggregations and so on. But I read a blog post on the SCN by Konrad Załęski and thought maybe I can use Table Functions to do the same as I do with my Calculation Views.

 

I use Eclipse 2018-09 (4.9.0) and the BW Modeling Tools 1.19.35 so maybe the options are not at the same position in another version. As far as I know SAP, the buttons are definitly not at the same position anymore. 🙈

 

To reduce the complexity I used three calculation views to narrow down my problem step by step.

Read More 2 Comments

Analysis Office 2.7 SP5 is available

Since last week SAP published the latest version of Analysis Office 2.7 SP5. I don't know if any other version ever had a service pack so high like the actual version. At this time SAP doesn't offer the newst help file under help.sap.com/boaa. So stay tuned if there is something happening. Here is an overview about what they fixed:

  • ALL: Context Hide and Context Lock issues (s-note 2768898)
  • Workbook is corrupted if contained charts are filtered (s-note 2767246)
  • Errors with SAPSelectMember formula and sheet protection (s-note 2765798)
  • SAP Formulas in Scheduled Workbooks are Displayed as #NAME? in Excel (s-note 2765716)
  • Analysis Office: Exception when a workbook contains combined crosstabs where the master crosstab has no data available (s-note 2765191)
  • BPCNW: HTTP 404 Error when Prompting Password Change in BPC NW 11 (s-note 2763430)
  • Valus of new planning lines are not transferred, if a datasource is set to autorefresh = false (s-note 2762513)
  • Analysis Office: query views not contained in a role are displayed in the role tab of the Select Data Source dialog (s-note 2762494)
  • Analysis Office: router string not used for BW connections maintained on BIP (s-note 2761063)
  • Analysis Office: Error 'Operation aborted due to invalid input' is displayed when no applicable data is found for the query (s-note 2760996)
  • AO: Excel crashes when using shortcut CTRL+S to save workbook which have been opened from the server (s-note 2759142)
  • Data is not removed if Excel Workbook is saved and closed simultaneously (s-note 2757935)
  • Save Workbook cannot be performed for worksheets with Excel Sorting and which don't contain EPM Report (s-note 2756889)
  • Object Id of workbook is not written to RSDDSTAT_OLAP (s-note 2755181)
  • ALL: Edit report with dimensions containing non-contextual relationship (s-note 2753472)
  • ALL:Issues when refreshing EPM reports in Word document (s-note 2752809)
  • Analysis Office: wrong error message 'Data source xxx was not found on system yyy' is displayed (s-note 2752535)
  • Prompts dialog: Variable shows green tick mark despite error messages (s-note 2752045)
  • Waterfall Chart - 'Remove Data Before Saving' does not work (s-note 2751509)
  • Analysis Office: Excel crashes when trying to save a local workbook using Ctrl+S shortcut (s-note 2751426)
  • AO: Improved Third Party Add-In compatibility - Excel crashes when using AO and Third Party Add-Ins at the same time (s-note 2750514)
  • Opening a workbook twice leads to an exception (s-note 2750223)
  • AO formulas not working when refreshing via Workbook_SAP_Initialize event (s-note 2749895)
  • ALL: Offline mode issue when merged cell reference (s-note 2747950)
  • Saving of Workbook fails when Waterfall Chart contains no Title (s-note 2747066)
  • AO 2.x: Member Selector - Searching for member keys with a backslash in it does not work (s-note 2745608)
  • Improvements: performance tooling/ profiling workbook in Analysis Office (s-note 2744828)
  • Analysis Office: connection to BW system fails if message server is maintained on BIP using router syntax (s-note 2744794)
  • AO 2.x: Can't logon with language Basque / Euskara (EU) (s-note 2744455)
  • Could not read grid properties (s-note 2744138)
  • Excel hangs during workbook refresh (s-note 2743853)
  • Added Support for PowerPoint Feature 'Design Ideas' (s-note 2743659)
  • AO: SAC - Versions Tab not displayed when opening a saved workbook that contains a planning enabled model (s-note 2743355)
  • AO 2.7: SAC - Exception when editing cell values while characteristic Versions is in Background Filters (s-note 2743351)
  • ALL: Report Recognition issue (s-note 2743045)
  • AO 2.x: HANA - Member Selector - Searching for a date does not return any results for characteristics of data type "DATE" (s-note 2742728)
  • F4 Help on Input Ready Cells (s-note 2742723)
  • Workbook is corrupted if contained charts are filtered (s-note 2741492)
  • SAPGetData referencing a cell of type numeric (s-note 2741409)
  • Analysis Office: calling SAPSetFilterComponent via Visual Basic throws an exception (s-note 2740920)
Read More 2 Comments

Customer exit variable to hide hierachy node

In my current project we have the hide a position in a hierarchy, because it is a departmental requirement. The hierarchy is used by many departments so we cannot change it and we also don't want to have the same hierarchy two times (except for the one position). So we first excluded the position in the query.

Hide hierachy node in BEx Query Designer
Hide hierachy node in BEx Query Designer
Read More 0 Comments

Analysis Office 2.7 SP4 is available

Since last week the latest SP of Analysis Office is available. You can download it here, but you need a S-User.  I know I am a little bit late but here here is the overview of what is now fixed:

  • AO 2.7: SAC - Exception when editing cell values while characteristic Versions is in Background Filters (s-note 2743351)
  • AO 2.x: HANA - Member Selector - Searching for a date does not return any results for characteristics of data type "DATE" (s-note 2742728)
  • AO: SAC - Versions Tab not displayed when opening a saved workbook that contains a planning enabled model (s-note 2743355)
  • Analysis Office: Exception when closing Excel workbook (s-note 2741439)
  • Analysis Office: calling SAPSetFilterComponent via Visual Basic throws an exception (s-note 2740920)
  • Analysis Office: connection to BW system fails if message server is maintained on BIP using router syntax (s-note 2744794)
  • Dependent hierarchy node variables have wrong value (s-note 2745229)
  • Excel hangs during workbook refresh (s-note 2743853)
  • F4 Help on Input Ready Cells (s-note 2742723)
  • SAPGetData referencing a cell of type numeric (s-note 2741409)
  • ALL:Report recognition issue (s-note 2743045)
  • AO 2.x: Can't logon with language Basque / Euskara (EU) (s-note 2744455)
  • Added Support for PowerPoint Feature 'Design Ideas' (s-note 2743659)
  • Could not read grid properties (s-note 2744138)
  • Workbook is corrupted if contained charts are filtered (s-note 2741492)

It is as always a bugfixing Service Pack and as I mentioned in the last article, there are no new functions. I am still looking forward to Analysis Office 2.8.

Read More 0 Comments

Analysis Office - The Comprehensive Guide 4th edition

It is done, the newest edtion of Analysis Office  - The Comprehensive Guide is available. It took me this time a little bit longer to update it. There are several reasons like my project workload or the the private stuff which make it sometimes difficult to write on a book and tests functions in peace without noise. You can now find it in the store and here is the table of content. It covers Analysis Office 2.7 SP3 and contains 299 Pages. It is only available as PDF but it is as always DRM free. Also is the 3rd edition now available on amazon.

Read More 2 Comments

Analysis Office 2.7 SP3 is available

Since the 21.12.2018 the latest service pack of Analysis Office 2.7 is available. I looked in the morning into the Support Portal but it wasn't released and in the afternoon Patrick wrote on Twitter, that Analysis Office 2.7 SP3 is released. I thought it wouldn't released anymore in 2018 but here are the fixed problems:

  • New Options in Excel Single Workbook Publication (s-note 2729417)
  • Bad Performance when switching presentations in Member Selector (s-note 2731997)
  • Excel 2010 - "Not enough system resources" exception after disabling Analysis (s-note 2715429)
  • Rendering issues with hierarchies when opening or saving workbooks (s-note 2730596)
  • After launching document from platform some functionality of Analysis Office is not available (s-note 2725968)
  • Analysis Office Scheduling Fails for Workbooks with Waterfall Charts (s-note 2731173)
  • Analysis Office: Expanding or collapsing hierachical nodes not possible after entering planning data (s-note 2725060)
  • Analysis for Office: empty cell is displayed instead of header text when using grouped crosstabs (s-note 2714938)
  • Array Formulas are not dectected and updated (s-note 2729399)
  • BW comments: document filter (s-note 2709480)
  • CTRL + F4 or ALT + F4 open Value Help on Input Enabled Cell (s-note 2718143)
  • Crosstab Formatting by User is discarded when Data is Removed Before Saving (s-note 2715376)
  • Dynamic calculation initially not visible (s-note 2714787)
  • Error caused by circular dependency with restrictions (s-note 2732084)
  • Error when open workbook from BI Launchpad with local BW data source (s-note 2725798)
  • Exception 0x80020005 when working with several workbooks (s-note 2714665)
  • Exception when selecting measure or key figure of crosstab (s-note 2719635)
  • Known Issues in Application Builder Embedded Profiles in Analysis Office (s-note 2685815)
  • Missing authorization when loading comments from BI Platform (s-note 2717435)
  • Recent List of Open Workbook from SAP Business Objects BI Platform shows all workbook entries as enabled (s-note 2723455)
  • Ribbon controls get duplicated with Embedded profiles in Analysis Office workbooks (s-note 2717113)
  • ValueHelp is shown by pressing F4 even if context is wrong (s-note 2716038)
  • Workbooks are loaded from Netweaver backend although caching is active (s-note 2722138)

It is as always a bugfixing Service Pack and I don't see any new functions. If you find one, just write it to the comments. Just little notice, my book Analysis Office  - The Comprehensive Guide 4th edtion with Analysis Office 2.7 is almost ready for proofreading and so stay tuned.

Read More 0 Comments

SAP BW DTP Filter with Routine

In my current project I have to filter data with a lot of logic. So I build some ABAP routines in a DTP filter to receive the necessary data. First you have to open the DataTransferProcess (DTP) in change mode and select the Filter button on the Extraction tab.

DTP Extraction tab
DTP Extraction tab
Read More 4 Comments

Analysis Office 2.7 - Data Source for Defining Formulas Part 2

I received an email from Jean-Pierre, who tried the new function Data Source for Defining Formulas of Analysis Office 2.7 - but it didn't work as he mentioned in his email. The option Select Data Soure for Defining Formulas was gray out for BEx Queries.  It worked when he insert the Multiprovider or the Composite Provider. So I was very confused and tried to find a solution.

The Problem only exists when he insert a Bex Query and he received the error message:

"The selected data source cannot be used formula-optimized. The data source is inserted without crosstab to be used for analysis (ID-113017)

Read More 0 Comments

What's new in Analysis Office 2.7 SP2

It is a little late for Analysis Office 2.7 SP2 but SAP just delivered Patch 1 so I can write a short note about it. Finaly SAP give you the option to Create a Web Application in Lumira Designer. But if you installed SAP Design Studio an SAP Lumira Designer, it always opens Design Studio. Analysis Office doesn't care if you first install Lumira or Design Studio. Design Studio always wins. At the moment there is no setting like the DefaultBWQueryDesigner for the old BEx Query Designer or the new Eclipse Query Designer.

 

Patch 1 also fixes some little bugs.

  •  Analysis for Office: Instead of the document description the document name is displayed as title in Excel for documents form the BW platform (s-note 2640073)
  • Converting BEx workbook with BExGetCellData formulas shows error message (s-note 2709536)
  • Search in Filter Dialog takes long for compound dimension (s-note 2695275)
  • Selector Search Performance - Limitation of fetched members from backend (s-note 2711919)

I think it is nothing spectacular but it is maintenance.

Read More 0 Comments

Analysis Office 2.7 SP2 is available

It's been a while since the last blog post and I am also late for the news that Analysis Office 2.7 SP2 is available. As Patrick told me on 05.10.2018 Analysis Office 2.7 SP2 is GA. But I was on vaction so I didn't find the time to write about it. So here we are:

 

This is fixed in Service Pack 2

  • 'Value cannot be null.' exception in Formula Optimized mode (s-note 2695717)
  • AO 2.7 Reference to another Sheet causes an Error in AO (s-note 2694323)
  • Analysis Office: SSO not working for Olap connections defined in BIP (s-note 2679569)
  • Analysis Office: no connections defined on the BIP are displayed in AO (s-note 2684736)
  • Data cell comments from BI Platform have wrong encoding (s-note 2691438)
  • Error when recalculating new plan values in SAC context (s-note 2696322)
  • Filter Components for non filtered dimensions are removed during scheduling (s-note 2687795)
  • Filter Dialog - Incorrect Selection behavior for SAC Dimensions (s-note 2690868)
  • Filter by Measure defaults to date filter values on non-date measures (s-note 2685511)
  • Installation on a machine without PowerPoint (s-note 2682628)
  • Long text of BW backend messages is not shown in error dialog (s-note 2685807)
  • Missing warning message when opening a workbook with BW comments in an older AO version (s-note 2692393)
  • Parallel HANA connections (s-note 2690486)
  • Precalculation - Exception while saving Workbook (s-note 2693145)
  • SAC/AO/error message when sharing versions (s-note 2688438)
  • Search in Filter Dialog takes long for compound dimension (s-note 2695275)
  • Tabular View lost after converting BEx Workbook (s-note 2686581)

When I have more time, I will look deeper into Analysis Office 2.7 SP2 and write a short overview.

Read More 0 Comments

Analysis Office 2.7 SP1 is available

Since last week Analysis Office 2.7 SP1 is available. Here is a short overview what SAP fixed in this verison.

 

  • Advanced calculation initially not visible (s-note 2663436)
  • Analysis Office: No connections displayed after login to BIP server (s-note 2667319)
  • Analysis Office: RFC sessions not closed after workbook is closed (s-note 2669330)
  • Analysis Office: data sources contained in workbooks which are deleted on BW server are still visible (s-note 2664623)
  • Error at undo operation of show / hide totals (s-note 2662791)
  • Exception occuring when pasting members with a trailng '\' (s-note 2667373)
  • Exception when trying to save a workbook with BW comments (s-note 2673237)
  • F4 Key Support to open Value Help for Formula SAPSelectMember and Insheet Filter Items (s-note 2660900)
  • Formula-optimized workbook - SAPGetData formula doesn't work with referenced SAPSelectMember formula (s-note 2658258)
  • Grouped Crosstabs: Exception while opening a VBA Workbook (s-note 2670564)
  • OLAP Connection information gets lost in workbook when saving (s-note 2658848)
  • Value Help - Datepickers initial selection differs (s-note 2659885)
  • Wrong values in formula-optimized mode because of unassigned member (s-note 2660581)

The User and Admin Guide is still on Analysis Office 2.7 and I hope it will be released the next days.

Read More 0 Comments

Analysis Office Launching Workbooks from BIP with variables

Since Analysis Office 2.6 you are able to launch workbooks from BIP with variables. The biggest problem is to have a BI Platform 4.2 SP5 and time to test this feature. In case of writing an updated version of Analysis Office - The Comprehensive Guide, I now have a BI Platform which fulfilled the conditions. According to SAP slides, the command looks like this:

&var[<data source alias>]<variable>=<value>

Read More 0 Comments