Documente Academic
Documente Profesional
Documente Cultură
Peter Scott
Contents
www.sap-press.com 1
6.6 The BI Accelerator ( BIA ) ...................... 64 Glossary ........................................................ 67
6.7 Remodeling InfoCubes ......................... 65
6.8 Visual Composer ................................... 65 Index .............................................................. 69
6.9 Looking Ahead ...................................... 66
Acknowledgements
This book is dedicated to my parents, Don and Valorie, who
have always been there to support and motivate me at
every turn and to my lovely wife, Bobbi, who inspires me
each and every day of my life. I love you.
www.sap-press.com 3
1 Fundamentals of BW Reporting
Business Objects
OLAP
OLAP Processor
Processor
Business Information
Master
Warehouse
Master
Data ODS Database
Data Info
Cubes
R/3
R/3 Files
Files Legacy
Legacy SAP
SAP Source
Systems BW
BW Systems
Objects for which queries can be created against or exe- Many queries can be built from a single InfoProvider. A
cuted on using BEx tools are collectively referred to as single query definition has a one-to-one relationship with
InfoProviders. An InfoCube, which is a type of InfoPro- its InfoProvider. The query results from a query defini-
vider, is a subset or collection of data from the BW data- tion are displayed on a web page, or in the BEx Analyzer.
base that has relationships, which allow users to report You can format and store query results with many differ-
on many things simultaneously. ent views, which can result in a many-to-one relation-
You define queries with the BEx Query Designer. ship between a query definition and the formatted query
You can display them as a BW web report using a web results. Figure 1.2 displays these relationships.
browser, or view them within a Microsoft Excel Work-
book with the BEx Analyzer.
Formatted Reports
Crystal
Info
Cube Query Web Browser
Result
Formatted Web Page
Web Report
Formatted Workbook # 1
Formatted Workbook # 2
Workbook
Figure 1.2 Relationship Among InfoProvider, Query Definition, and Formatted Query Results
1.3 Business Explorer ( BEx ) Tools trates how BW content can be linked with other business
tools in the BEx Browser.
SAP BEx reporting tools allow users to create, locate, exe- The BEx Browser toolbar ( shown in Figure 1.4 ) con-
cute, view, format, manage, schedule and precalculate tains the following icons:
reports. The primary BEx tools include: 왘 Exit
왘 BEx Browser 왘 Save
왘 BEx Analyzer 왘 Refresh
왘 BEx Query Designer 왘 Start Business Explorer Analyzer
왘 BEx Web Application Designer 왘 Find
왘 Reporting Agent 왘 New Folder
왘 Download Scheduler 왘 Delete
왘 About SAP BW Browser
All the BEx tools in SAP BW are installed on a client work- 왘 Help
station using the SAP GUI installation disc.
The BEx Browser is a graphical desktop-like tool, from
where you can launch queries and workbooks and cat-
Figure 1.4 BEx Browser Toolbar
egorize them into Roles, Favorites, and Folders. The BEx
Browser also incorporates standard shortcut functional-
ity, which enables you to access documents, Windows You create content within the BEx Browser on the right
applications, Internet URLs, and SAP R/3 transactions side of the screen. Right-clicking on a blank part of the
from a single interface. The BEx Browser allows users to screen displays a context menu with several options. You
create folders to organize their content. Figure 1.3 illus-
Figure 1.3 Linking BW Content with Other Business Tools in the BEx Browser
www.sap-press.com 5
1 Fundamentals of BW Reporting
can create the following links within a folder ( Figure 1.5 ating a package of reports. The BEx Analyzer combines
displays the available options ): the power of OLAP with all the Excel functionality. You
왘 Folder can also use Visual Basic for Applications ( VBA ).
왘 Workbook The BEx Query Designer is a standalone application
왘 Internet Address ( URL ) that enables users to build complex query definitions
왘 SAP Transaction without using programming. All subsequent BW report-
왘 Document ( Word, PowerPoint ) ing and analysis is based on query definitions. The BEx
왘 Shortcut ( to other applications on a local PC ) Query Designer is displayed in Figure 1.7.
The BEx Query Designer can be launched from the
Start menu of a Windows PC, or from the BEx Analyzer,
the BEx Web Application Designer, or Crystal Reports.
The BEx Web Application Designer ( WAD ) is a desk-
top application that is very similar to other web page
authoring tools. For example, BEx WAD and Microsoft
FrontPage, as well as Dreamweaver, are alike in that they
Figure 1.5 Adding New Content to a Folder all enable you to use a WYSIWYG environment when
launching a website. One unique feature of the WAD
Each folder created for a role or user Favorites can be is that it enables you to incorporate BW data and pre-
further customized by assigning a background symbol defined BW objects, along with standard HTML code and
and color, which appear to be translucent. There are web design application programming interfaces ( APIs ).
eight backgrounds and colors, each of which has a nature The Reporting Agent allows you to schedule various
theme, from which to choose. reporting functions in the background during non-peak
To customize folder options, right-click on a folder times. Furthermore, you can precalculate all web tem-
on the right side of the BEx Browser window and select plates created with the WAD. The advantage here is that
Choose symbol and color. The graphical options are dis- it shortens the wait time for users and reduces the work-
played in Figure 1.6. load on the servers. You’ll find the Reporting Agent within
the Administrator Workbench. You can access it directly
using the RSREP Transaction. The Reporting Agent’s most
commonly used functions are:
왘 Execute and Analyze Exception Reports
왘 Print Reports
왘 Precalculate Web Templates
www.sap-press.com 7
1 Fundamentals of BW Reporting
Figure 1.9 Customizing and Formatting Printouts with the Reporting Agent
Each new setting requires a Technical name and a Descrip- Choosing a start condition that will trigger the package to
tion. Settings also allow for some layout and distribu- be executed completes the scheduling process. You can
tion options. Depending on the function selected, these schedule a package to run:
options vary. For example, the Print function allows a 왘 Immediately
user to build a cover sheet, page header, and page footer, 왘 At a specific date and time
and design a layout template for the printed data. The 왘 On a periodic schedule ( Daily, Monthly, Weekly )
printing options are shown in Figure 1.9. 왘 After a particular system event
Once the settings are specified, they must be saved 왘 After a particular job
and activated. The keyboard shortcut to save changes is
Ctrl+S and the shortcut to activate changes is Ctrl+F3. A
green status light will confirm that a Reporting Agent set-
ting has been saved and is now executable.
The Scheduling pane is used to generate a schedul-
ing package that will contain the details of the query set-
ting created earlier. A technical name and description are
required for each new scheduling package.
You attach a Reporting Agent setting for a particular
query to a scheduling package by dragging and dropping
the setting from the Settings pane to the package in the
Scheduling pane.
To schedule a package, right-click on the name of the
Figure 1.10 Scheduling a Package with Specific Settings for a Query
package and select Schedule ( see Figure 1.10 ).
Definition
Once the start condition is specified, the package is The overall workflow for using all the various BEx
saved. Scheduled packages can be monitored from the tools is shown in Figure 1.11. The most basic reporting is
Job Overview screen. accomplished by using the BEx Query Designer and the
Because the Reporting Agent is part of the Administra- BEx Analyzer. An alternative or complimentary report-
tor Workbench, you should ensure that it is not deployed ing strategy to just using the BEx Analyzer is to use web-
to all BW users. A strategy that limits development work based reporting. With web reporting, you don’t have
in the Reporting Agent to a handful of power users is to install any software on a user’s PC, which is why this
preferable. Furthermore, you must ensure that the pack- alternative is known as a “zero-footprint” solution. Query
ages created with the Reporting Agent are monitored designers can publish formatted, graphical reports using
periodically for performance reasons, especially since an the BEx Web Application Designer and distribute these
incorrectly defined package can run for a long time and reports via URLs or a pre-existing intranet portal. High-
therefore monopolize valuable system resources. You end formatting can be achieved by leveraging the Report-
should also make certain that scheduling packages are ing Agent, Download Scheduler, or via integration with
inserted into process chains. To do this, use the Process Crystal Reports.
Chain Maintenance transaction code RSPC.
The BEx Download Scheduler is a desktop application
1.4 Summary
that downloads, or schedules a time for the download,
precalculated HTML pages, or Excel workbooks to a local SAP BW has evolved into a full-fledged Data Warehouse.
PC. These pages are precalculated using the Reporting The BEx tools allow users with diverse backgrounds to
Agent. The BEx Download Scheduler tool is typically effectively access data in a timely manner. Queries are
accessed from the Windows Start menu under Programs defined using the BEx Query Designer and analyzed
· Business Explorer · Download Scheduler. within the BEx Analyzer or BEx Web Applications. Addi-
The Download Scheduler wizard helps users to find tional formatting can be achieved with the BEx Web
packages assigned to their user ID, and places the results Application Designer or via BW’s integration with Crys-
of these packages into designated folders on the users’ tal Reports. The next chapter will look at the BEx Query
PCs. The output of the report can also be formatted for Designer in detail.
a PDA device.
www.sap-press.com 9
Index
www.sap-press.com 69
Index
M Q T
Master Data 3 Query Definition 13, 15, 16, 17, 18 Tabular Data 41
Mathematical functions 20 Query Properties 26, 43 Technical Names 19
Math functions 20 Query views 43 Template 30, 31, 32, 33
Microsoft Excel 38, 41, 60 Text Elements 30, 34, 35, 40
MS Excel integration 57
R
MultiCubes 12, 35
Receiver 53, 55 U
Refresh 33, 34 Unicode-compliant 57
N Report-Report Interface 43, 53
ODS 3, 12, 14
OLAP 3, 26, 29, 33, 36, 39, 46, 47 S W
Operand 20 SAP BW Variables Wizard 23 WAD 6, 44, 45, 47, 48, 49, 50
SAP Financials 33 Web Application Designer 44
P SAP GUI 44 Web Applications 39
SAP HR 33 Web Browser 39
PDF based printing 57
SAP Protection 37, 38 Web design 60
Presentation layer 3
Save 37 Web Items 45, 46, 48, 49, 50, 59
Printing 38, 44, 61
Scheduling 8 Web report 4
Process Chain 9
Selection 18 Web Template 6, 44, 47, 50
Processing speed 57
Sender 53, 55 Workbook 29, 30, 32, 33, 34, 35, 36,
Properties 17, 46
Standard formatting 62 37, 38, 39
Properties pane 57
Standardized interface 65 Worksheet 35
Status of Data 30, 35, 42
Structure 15, 20, 21, 22