Date post: | 29-Dec-2015 |
Category: |
Documents |
Upload: | kellie-booker |
View: | 271 times |
Download: | 1 times |
Analysis Functions and VBA API
SAP BusinessObjects Analysis, edition for Microsoft Office v1.0
© 2010 SAP AG. All rights reserved. / Page 2
Getting Started: Lesson Objectives
After completing this lesson, you will be able to: Describe and use the Analysis functions Describe and use the Analysis VBA API functions
© 2010 SAP AG. All rights reserved. / Page 3
Agenda
1. Using Style Sets in Analysis Office
2. Appendix
© 2010 SAP AG. All rights reserved. / Page 4
Crosstab Style Sets
Analysis is installed with three style sets:
SAP Tradeshow Plus
SAP Blue
SAP Black&White
© 2010 SAP AG. All rights reserved. / Page 5
Crosstab Style Set Parts
Dimension Header Cells
Dimension Member Cells
Data Cells
Total Cells
© 2010 SAP AG. All rights reserved. / Page 6
Crosstab Style Set Access
The Analysis AddIn styles are available in the Excel style library (in Excel 2007: on the Excel Home Tab)
© 2010 SAP AG. All rights reserved. / Page 7
Export & Import Style Sets
Export on style creator PC
Distribute, e.g. viafileshare or email
Import on style consumer PC
Appendix: Styles
© 2010 SAP AG. All rights reserved. / Page 9
Standard Styles Overview
The standard styles are present in all style sets that come with the installation, they don‘t need to be created by the user (but can be modified)
Standard Style Name Description
SAPDimensionCell Format for dimension header cells
SAPMemberCell Format for member cells (non-hierarchical dimensions)
SAPHierarchyCell Format for hierarchical member cells (even levels 0, 2, …)
SAPHierarchyOddCell Format for hierarchical member cells (odd levels 1, 3, …)
SAPMemberTotalCell Format for member total cells
SAPDataCell Format for data cells
SAPDataTotalCell Format for data total cells
SAPExceptionLevel1-9 Format for highlighted cells due to conditional formats (rule priorities 1-9)
SAPEmphasized Format for data cells that are highlighted (as per Query definition)
SAPBorder Format of borders around a crosstab and between header/member and data cells (format of left border is taken)
© 2010 SAP AG. All rights reserved. / Page 10
Custom Styles Overview
The custom styles are not necessarily present in installed style sets, however If created by the user, they take effect on the formatting as described in the table Custom styles are included when saving/exporting/importing a new style set
Custom Style Name Description
SAPMemberCellX Format for members on columns (overriding SAPMemberCell)
SAPMemberTotalCellX Format for total members on columns (overriding SAPMemberTotalCell)
SAPHierarchyCellX Format for hierarchical members on columns, even levels (overriding SAPHierarchyCell)
SAPHierarchyOddCellX Format for hierarchical members on columns, odd levels (overriding SAPHierarchyOddCell)
SAPHierarchyCell0-9 Format for hierarchical member cells on specific level (overriding SAPHierarchyCell and SAPHierarchyOddCell)
SAPHierarchyCellX0-9 Format for hierarchical members on specific level in the columns (overriding SAPHierarchyCellX and SAPHierarchyOddCellX)
© 2010 SAP AG. All rights reserved. / Page 11
Applying Style Sets
To apply another style set to the Analysis crosstabs:
Select „Set as default“ if you want the selected style set to be your new default style set
Select Apply Style… from the Styles menu
Choose one of the available styles
© 2010 SAP AG. All rights reserved. / Page 12
To create a new style set…
The new style set is now available on your PC and can be applied to the workbook crosstabs
Select „Save Style Set“, specify a name for the new style set
Modify the style(s) in the Exel style library and define the scope (Font, Border, Fill, …)
© 2010 SAP AG. All rights reserved. / Page 13
Export on style creator PC
Distribute the style set definition file to other users you want to share it with
Select a folder on a local fileshare where you want to save the style set definition
Select „Export Style Set“ from the Styles menu
To share a new style set with other users…
© 2010 SAP AG. All rights reserved. / Page 14
Import on style consumer PC
Users that want to use the style set…
Select „Import Style Set“ from the Styles menu, and select the filesystem location of the definition file
© 2010 SAP AG. All rights reserved. / Page 15
To delete a user-defined style set…
Select „Delete User Style Set“ from the Styles menu
Select the style set to be deleted from the dropdown listbox in the dialog
Only user-defined style sets can be deleted, the standard style sets that come with the installation are not selectable in the dropdown listbox
© 2010 SAP AG. All rights reserved. / Page 16
Getting Started: Lesson Summary
After completing this lesson, you are now able to: Describe and use the Analysis functions Describe and use the Analysis VBA API functions