Chapter 11: Business Information Warehouse: Special Topics Contents Using the Administrator Workbench ..... In this chapter we will cover the following topics: < Using the Administrato
Trang 1Chapter 11: Business Information
Warehouse: Special Topics
Contents
Using the Administrator Workbench 11–2
Working with SAP DemoCubes 11–4
Using the InfoCatalog 11–11
Getting the Most out of BW: Tips & Tricks 11–15
Get the most out of BW (tips & tricks)
Trang 2In this chapter we will cover the following topics:
< Using the Administrator Workbench
< Working with SAP DemoCubes
< Using the InfoCatalog
< Using the BW Style Tool
< Business Information Warehouse Tips & Tricks
Using the Administrator Workbench
The Administrator Workbench allows the BW administrator to perform all data warehouse construction and maintenance tasks within a single, unified environment The
Administrator Workbench controls how data from source systems reaches the InfoCubes
1 To access the Administrator Workbench from the main BW screen, choose the
button
Shown below is the Administrator Workbench
1
A InfoCubes: Central data containers for
queries and evaluations
B InfoObjects: Generic term for
characteristics and key figures
C Operational Data Store (ODS):
Contains nonaggregated data and is used as an intermediate store for the
Trang 3Chapter 11: Business Information Warehouse: Special Topics
Using the Administrator Workbench
Trang 4Working with SAP DemoCubes
SAP delivers DemoCubes containing examples of various analyses, including both data and formatted reports The DemoCubes are easy to load and give users an overview of BW reporting You can activate the configuration of DemoCube data (see below) and upload the data from flat files, regardless of whether or not you have connection to an R/3 System You can execute workbooks contained in the DemoCube to better understand BW functionality
BW Release 1.2 is delivered with DemoCubes for Sales and Distribution and Profitability Analysis The SD DemoCube (which includes sample sales and gross profit analyses) was used to illustrate the basics of BW in chapters 8 through 10
Before you can work with a DemoCube, you must activate it To work with the SD DemoCube:
1 Activate the SAP SD DemoCube to populate the DemoCube with data
2 Upload the data
3 Activate the SAP-delivered SD DemoCube channel to store SD DemoCube workbooks
4 Assign users to the SD DemoCube channel to allow access to the workbook
Activating the SD DemoCube
1 From the Administrator
Workbench screen, choose
→ Demo cubes → Sales and
Distribution
2 To activate the SAP SD
DemoCube, choose
Activate demo cube to
activate the objects
3 Choose Yes to activate the
DemoCube
2
Trang 5Chapter 11: Business Information Warehouse: Special Topics
Working with SAP DemoCubes
Loading Data into SD DemoCube
InfoPackage Group will
appear on the right
Note: InfoPackage Groups
contains the scheduling jobs
3 Right-click SAP DemoCube
InfoPackage Group and
choose InfoPackage Group
Scheduler
Note: The InfoPackage Group
Scheduler enables users to tell
BW when and where data
should be extracted from the
source system
4 Choose the Schedule tab
5 To customize the upload
schedule, choose Selection
options Otherwise, the
data upload is scheduled immediately
6 Choose Start to start the
1 2
3
4
5 6
7
8
Trang 6Activating the SD DemoCube Channel
1 To activate the
SAP-delivered SD DemoCube channel, choose
Trang 7Chapter 11: Business Information Warehouse: Special Topics
Working with SAP DemoCubes
Assigning Users to the SD DemoCube Channel
1 To assign a user to the
channel, choose
2 Log on to the BW system
and choose InfoCatalog
1
2
Trang 83 Choose the User channel
assignment tab
4 Choose Display <->
Change to be in the change
mode
5 Drag a user (for example,
April) and drop it into the SAP Demo Channel on the
right
Optional: Right-click the SAP
Demo Channel and choose
Insert user Then, choose the
user that you wish to assign
6 Choose Save
Viewing Data in the SAP DemoCube
1 To view the data in the
SAP DemoCube, choose
the InfoCubes tab in the
Note: If you do not find the
SAP DemoCube item, it may
not have been configured See
your system administrator
Trang 9Chapter 11: Business Information Warehouse: Special Topics
Working with SAP DemoCubes
4 The Requests in the
InfoCube tab is shown on
the InfoCubes screen
Displayed at right is a list
of the data upload requests for the DemoCube
Note: A green traffic light
means the data has been
uploaded to the cube
5 To view the DemoCube
data, choose the SAP
DemoCube
6 Choose InfoCube Content
or click Details
We will look at a particular
set of data contained in the
DemoCube
7 To select the fields of data
to view, choose Field select
for output
4
5 6
7
Trang 108 Select the fields you want
to display
9 Choose Execute
Note: The fields you choose
determine the format of the
Trang 11Chapter 11: Business Information Warehouse: Special Topics
Using the InfoCatalog
Shown at right is an example
of the selected fields of
DemoCube data
11 Choose Back
Using the InfoCatalog
The InfoCatalog is a tree-like structure that displays a list of available BW workbooks The various InfoCatalog trees contain SAP-delivered workbooks available to user groups, individual users, and as favorite queries (user favorites) The structure of the sub-trees can
be freely defined by the administrator
Accessing the InfoCatalog
There are two ways to access the InfoCatalog:
< From the BW main screen
< From the BW Administrator Workbench
From the BW Main Screen
1 From the BW main screen,
select InfoCatalog
1 11
Trang 12The first subarea you see is
the Enterprise InfoCatalog
2 Under the Enterprise
InfoCatalog tab, a list of
workbooks available to all users is displayed
From the BW Administrator Workbench
1 From the main BW screen,
choose Administrator
Workbench
2 Choose InfoCatalog
2 1
2
Trang 13Chapter 11: Business Information Warehouse: Special Topics
Using the InfoCatalog
3 Select one of the
InfoCatalog subareas (for
example, Enterprise
InfoCatalog)
4 Choose Enter
Arranging Workbooks in the Enterprise InfoCatalog
You can use directories to arrange workbooks in the Enterprise InfoCatalog For example, if there are 100 workbooks in the Enterprise InfoCatalog, it may help to group the workbooks into different directories Workbooks can be brought into directories of the Enterprise InfoCatalog either by transferring predefined workbooks from the SAP InfoCatalog, or by transferring saved workbooks from the BEx Analyzer
To show how to organize workbooks, we will first explain how to create directories Later,
we will show how to transfer workbooks to both directories and subchannels
Creating Directories in the Enterprise InfoCatalog
In the InfoCatalog, directories are like folders and are used for storing workbooks Within the directories you can create subdirectories
1 Choose the Enterprise
InfoCat tab from the InfoCatalog screen
3
4
Trang 144 Right-click New directory
and choose Change
directory
5 In New directory name,
enter a name for the new directory (for example,
Sales Information)
6 Choose Enter
7 As shown, we have
dragged the workbook,
Annual Gross Profit Analysis, and dropped it
into the directory, Sales
6
Trang 15Chapter 11: Business Information Warehouse: Special Topics
Getting the Most out of BW: Tips & Tricks
Getting the Most out of BW: Tips & Tricks
In this section we present the following tips & tricks for BW users
< Predefining options in queries not workbooks
< Protecting workbooks
< Checking version information for the BEx Analyzer
< Using percentage functions in the queries
< Disabling interactive drilldown
< Using Visual Basic: API-Calls
< Inserting a logo into the BEx Browser
< Working with the BW Style Tool
Predefining Options in Queries not Workbooks
Certain options (for example, currency translation, display, or filtering options) can be either predefined in the query or specified in the workbook For example, the display options, results position, or results display can be predefined in the query properties or selected in the workbook by simple point-and-click steps
For better performance, it is recommended that you predefine the display format or filter options in the query and not in the workbook
Protecting Workbooks
If you activate Excel’s sheet protection command, you will no longer be able to execute a number of Business Explorer functions However, if you use SAP Protection, you will be able to protect the worksheets without limiting the functionality of the Business Explorer For example, once sheet protection is active, the cell areas of the query can no longer be deleted and no new queries can be inserted
1 To activate sheet
protection from the BEx
toolbar choose Tools →
SAP Protection
1
Trang 162 Enter the password twice
3 Choose OK
Your workbook is now
protected from unauthorized
modifications
To remove sheet protection, choose Tools→ SAP Protection Enter the password with which
you activated the sheet protection
Checking Version Information for the BEx Analyzer
Users can check the version of the BEx Analyzer by double-clicking the system name on the status bar
1 In the Define query screen,
double click the system
name (for example, QRI)
in the lower right-hand corner
2 A popup Version screen
displays the version and path of the BEx frontend
3 Choose Close to exit the
popup window
Using Percentage Functions in Queries
In the formula definition for structure elements in queries, you can use five different percent functions The following percentage functions are available:
< % difference in percentage (for example, x % y difference in percentage): How much a
value deviates from the absolute amount of y: = (x-y)/absolute(y)
< %A share in terms of percentage (for example, a %A y share in percentage): How large
Trang 17Chapter 11: Business Information Warehouse: Special Topics
Getting the Most out of BW: Tips & Tricks
< %GT (% of the grand total) share in terms of percentage for the total result: The value
of the key figure is related to the aggregated value for all characteristics (the total of the
entire table for the key figure is 100%)
< %RT (% of the report total) share in terms of percentage for the report result: The
value of the key figure is related to the aggregated value for all characteristics, for which the dynamic filter is ignored For example, if a free characteristic is restricted by a filter value, the total sum of the key figure in the displayed table is under 100%
% and %A can also be used for the calculated key figures
The following procedure, starting from the query definition, shows how we created GP% (gross profit %)
1 On the Define query
screen, right-click
choose New formula
2 Enter a Description of the
formula
3 To define a formula,
expand the Structure
elements tree
4 Double-click one of the
key figures such as Gross
Profit The key figure, Gross Profit will appear in
the Formula box
5 Expand the Percentage
functions tree
6 Double-click the %A
Percentage share
7 Double-click the key
figure, Sales Revenue
8
9
Trang 189 Choose OK to exit the
Formula screen
10 The result of a new GP%
key figure is displayed
under Structure in
Columns
11 To reposition the GP %,
drag and drop the GP %
(for example, into the
Gross Profit area)
GP % is now located under
Gross Profit
12 Choose Save query to save
the settings
14 Choose Transfer query
to workbook to execute the
Trang 19Chapter 11: Business Information Warehouse: Special Topics
Getting the Most out of BW: Tips & Tricks
Disabling Interactive Drilldown
Interactive functions such as navigation, refreshing, etc are available as a default in the query However, to stop the report views from being changed, you can disable the interactive functions
1 From the BEx Analyzer,
right-click a cell (for
4 Choose OK to exit the
SAP BEx Query: Properties
screen
Saving and reusing variable values
If variables that are ready for input are used in a report, you can enter the desired values or confirm the default values when embedding the query in
an Excel worksheet To save and reuse variable values, select Save and reuse
Trang 20Using Visual Basic: API-Calls
A set of API-Calls are stored in the Excel add-in SAPBEX.XLA SAPBEX.XLA enables users
to work with the BEx Analyzer SAP provides a list of available VBA functions/routines in
SAPBEX.XLA which can be used to enhance the functionality of your Excel workbooks
These routines in SAPBEX.XLA are high level commands which execute special functions in
the OLAP-Processor After processing, the resulting API-Call value can be analyzed and start a specific action
Creating a Drilldown Pushbutton
For instance, users can use the add-in SAPBEX.XLA to create a drilldown command button
The followings steps describe how to create a drilldown command button in the Gross Profit Analysis Report:
1 Use the Control Toolbox to create a command button (pushbutton)
2 Choose the command button and right-click the mouse
3 Choose View Code and define the SAPBEX.XLA routines
3 Choose a cell, hold down
the left mouse button, and draw a button
4 Right-click the command button and choose Command Button Object → Edit to change the description (for example, Company Code) of the command button
5 Right-click the command button again and choose Properties to redefine the appearance
Trang 21Chapter 11: Business Information Warehouse: Special Topics
Getting the Most out of BW: Tips & Tricks
7 Enter the SAPBEX.XLA
routines shown below
8 Set drill state at filter cell:
0: do not drill down
1: drill down along the rows
2: drill down along the columns
9 Choose ActiveSheet at cell
(row, column) For
instance, to drill down by
the Company Code located
The PauseOn command hides all the OLAP processing statements and pauses the processing
in the add-in during a sequence of calls
Automatically Refreshing Workbook Data
With Visual Basic’s automatic refresh option, all the queries in the workbook will be automatically refreshed when the workbook is opened Without automatic refresh, the saved workbooks in the InfoCatalog will only hold the original query data regardless of new loads
7
(8, 4)
8
9
Trang 221 From the BEx Analyzer,
choose View → Toolbars
→ Control Toolbox
2 Choose View Code
from the Control Toolbox
to start Microsoft Visual Basic
3 Choose Project
Explorer (if needed) to
display the Visual Basic Project screen on the left
4 Choose the project
worksheet in which you want queries to be automatically refreshed
5 Right-click and choose
6 Enter a new routine Sub
Auto_open()
7 Choose Exit
8 Choose Excel to return
to Microsoft Excel and the Business Explorer
8
Trang 23Chapter 11: Business Information Warehouse: Special Topics
Getting the Most out of BW: Tips & Tricks
Embedding a Logo in the BEx Browser
You can easily embed a company logo into the BEx Browser Before you can insert a logo, the logo file (for example, BMP, GIF, or JPG) must be available either on your local drive or
a network drive on your server:
< Example: On your local drive, the path to the logo file would be C:\Program
Files\SAPpc\BW\DswMedia\Styles\Logo.bmp
< Example: On your network drive, the path to the logo file could be one of the following:
We will show you how to embed the Bungee Software logo in the BEx Browser Although
BW supports GIF and JPG formats, our example only shows how to work with a logo in the BMP format
Step 1: Save Logo as a Bitmap (BMP)
If you already have a bitmap file of the logo, skip this step If not, you can use Microsoft Paint, a Windows accessory application, to create a bitmap file From your Windows
desktop, choose Start → Programs → Accessories → Paint.
1 Create a logo
2 Save the file under the
c:\Program
Files\SAPpc\BW\DswMe dia\Styles\File_Name.bmp
(for example,
Bungee_Logo.bmp)
1
2