Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter :9
Creating Workbooks
Contents
Overview................................................................................................................. 82
Before Getting Started..........................................................................................83
Creating a Workbook: An Overview.....................................................................85
Overview
Chapter 7 presented an overview of BWs architecture, concepts, and
terminology. In this chapter you will learn how to use the Business Information
Warehouse to create workbooks (or reports).
As shown in the graphic below, creating a workbook in the BW is essentially a
five-step process:
Create
Create aa workbook
workbook
template
template (optional)
(optional)
Insert
Insert desired
desired query
query (or
(or queries)
queries)
into
into aa workbook
workbook
Enhance
Enhance workbook
workbook layout
layout
and
functionality
(optional)
and functionality (optional)
Create
Create aa new
new query
query or
or
modify
an
existing
query
modify an existing query
Chapter 9
Enable
Enable access
access to
to aa workbook
workbook
through
through the
the BEx
BEx Browser
Browser
Chapter 10
Chapter 8
To help you get started with the Business Information Warehouse, we have
organized the material as follows:
Chapter 8: Creating Workbooks
Chapter 9: Creating Queries
Chapter 10: Working with the BEx Browser
Chapter 11: Special Topics (including tips & tricks)
In this chapter you will be working with the BEx Analyzer and Microsoft Excel.
With the help of a business scenario (see next page), we will show you three
guided tours:
Creating a workbook template
In chapter 9 you will learn how to work with queries. In chapter 10 you will see
how to access workbooks through the BEx Browser.
What does the finished workbook look like? (see next page)
Business Scenario
Take a few minutes to familiarize yourself with the business scenario shown
below. All the guided tours in chapters 8 through 10 are built around this
business scenario.
Bungee Software, Inc. develops and markets games for personal computers.
Best-selling titles such as Portal Kombat, Barrio Brothers, and Kung Fu
Grandma have helped Bungee Software become a leading supplier of
computer games. However, the company is currently facing increased
competition from Pixialated, Inc. To protect its market share, Bungee Software
has formed a task force to explore ways to streamline its sales processes.
The company has discovered that collecting and disseminating sales data to
executives consumes considerable time and resources. The task force believes
that easier access to sales and profit analysis information would save time and
help executives with sales-planning activities.
Some of the key questions the executives typically ask are:
How does the sales revenue for 1998 compare with 1997 sales?
What is the annual gross profit?
What is the sales volume for the top products?
What is the sales volume for the top customers?
Which sales representative/manager is responsible for declining sales
volume?
After evaluating its information needs, Bungee Software has decided to
develop the following reports in the Business Information Warehouse:
Sales Analysis Report (in this example, 1998 vs. 1997)
Note: The workbook you are about to develop is based on the SAP-delivered
SD DemoCube Workbook (in the SAP DemoCube channel). To follow the
guided tours covered in chapters 8-10, make sure that the DemoCube is
active and loaded with the data on your BW system. For more information on
activating the SAP DemoCube, see chapter 11 or contact your SAP system
administrator.
Percent change
Pushbuttons to launch
other views of the data.
Sales Analysis
pushbutton returns
you to the first
report
Guided Tour
Start
Start BEx
BEx Analyzer
Analyzer
Create
Create aa workbook
workbook template
template
Save
Save the
the workbook
workbook template
template
to
to InfoCatalog
InfoCatalog
Insert
Insert query
query into
into the
the workbook
workbook
Add
Add Visual
Visual Basic
Basic
functions
to
the
workbook
functions to the workbook
Save the
the workbook
workbook to
to InfoCatalog
InfoCatalog
6 Save
If you plan to follow the guided tour on your own system, make sure that the
BW frontend components are properly installed on your computer. If
necessary, contact your system administrator for assistance.
To check if the BW frontend is installed on your computer, choose Start
Programs SAP BW Front-end.
If you do not find the SAP BW Frontend, try searching for SAP BW components
under other SAP logon menus.
Select from
InfoCatalog
New
Help
Save to
InfoCatalog
Undo
OLAP
function
for active
cell
Tools
1. In Microsoft Excel,
choose
New from
the standard Excel
toolbar. A new
spreadsheet workbook
appears.
2. Choose Format
Sheet Background.
3. Choose C:\Program
Files\Microsoft
Office\Clipart\Backgro
und\Wheat.
Note: If the BW frontend is
installed on a drive other
than C, use the
appropriate drive letter.
You can choose any
background you like.
3. Deselect Gridlines,
Row & column
headers, Outline
symbols, Zero values,
horizontal Scroll bar,
and Vertical scroll bar.
Do not deselect the
Sheet tabs.
4. Choose OK to save the
new options.
10
11
Hint: To create a new workbook (based on the saved template), simply choose
File New. From the popup window, choose Bungee_template.xlt.
12
2.
4.
example, Bungee
Template).
5.
6.
13
7.
Choose OK.
8.
Note: If you are already
logged on to a BW system,
you will not see the logon
window.
9.
10
Choose OK.
10.
Your workbook template
has now been save to the
InfoCatalog.
14
Choose
11
12
2
3
Tools.
15
6. Choose Open.
Note: You can insert more than one query into a workbook.
16
Choose Settings from the BEx toolbar and select Select workbook on New.
Choose New from the BEx toolbar. It will prompt you to choose a previously
saved workbook template from the InfoCatalog.
Select a query and choose Enter.
The query is inserted into the selected workbook template. Based on the new
settings, in future you will be prompted to choose a workbook template from
the InfoCatalog every time you choose New on the BEx toolbar.
Creating Pushbuttons
1. To continue working
2. To create a
pushbutton, choose
View Toolbars
Control Toolbox.
17
Toolbox, choose
Command Button.
4. Click to select an area
command button,
choose the Command
Button, right-click the
mouse, and choose
Command Button
Object Edit.
pushbutton. In our
example, since we
plan to use this
pushbutton to launch
the Sales Analysis
report, we call it Sales
Analysis.
7. Drag it to the lower left
corner of the
spreadsheet (or other
desired location).
6
7
8. Repeat steps 2
18
workbook, right-click
the mouse, and choose
Rename.
10. Rename Sheet1. In this
through 10 to rename
the second worksheet
(Gross Profit Analysis).
12. To delete the extra
worksheet, Sheet3,
choose Sheet 3, rightclick the mouse, and
select Delete.
the pushbutton,
double-click the Sales
Analysis pushbutton
(or choose the Sales
Analysis pushbutton,
right-click the mouse,
and choose View
Code).
13
Analysis pushbutton to
15
the Sales Analysis
worksheet and specify
that the Sales Analysis
worksheet is to be
activated when the
pushbutton is clicked,
insert
14
16
Worksheets(Sales
Analysis). Activate
15. Choose
View
Microsoft Excel to
19
through 14 to define
the action for the
second pushbutton
(Gross Profit Analysis)
to the second
worksheet (Gross
Profit Analysis).
17. Position the cursor and
17
18
21
19
color, go to ForeColor,
click the selection
button, and choose the
Highlight option.
Close to
exit the Properties
screen.
20
21. Choose
22
20
second pushbutton
(Gross Profit Analysis).
23. To test the action of
24
23
choose Tools
Options from the Excel
menu bar.
25
26
27
Creating a Textbox
1. To create a textbox,
choose
in the
Control Toolbox.
21
22
Exit Design
11
12
10
9
The Sales workbook for Bungee Software is now ready for use. We have added
the functions needed to build a sample workbook (based on the business
scenario on page 2).
23
4. Choose OK.
5. To give other users
access to this
workbook, choose in
(public) enterprise
catalog from the
Access in InfoCatalog
tab.
6. Choose OK.
24
Review
Creating a workbook in BW is a five-step process:
25
26