Offline Reporting with the SAP
BW 3.x Reporting Agent
What We’ll Cover …
Precalculation: online vs. offline scenarios
Precalculation of static Web templates
Enhanced precalculation features
User-specific precalculation
PDF generation with Adobe Acrobat
SAP AG 2004, 3
Learning Objectives
After this lecture, you will:
Understand the concept of precalculation
Know the difference between online and offline scenarios
Be familiar with the features available in BW 3.0
Be able to design the different scenarios within BW
SAP BI – For All User Types
Authors and analysts
... Need advanced analysis functionality and ad-hoc data
exploration capabilities
... Require useful, manageable tools
Executives and knowledge workers
... Require personalized information in context via an
intuitive user interface
... Want predefined analysis paths and the option of
in-depth analysis of summary data
Information consumers
... Need a snapshot of a particular data set to perform their
operational tasks
SAP AG 2004, 5
Precalculated and offline data
BEx Query Design Ad-hoc Analysis BEx Analyzer BEx Web Analyzer
Information Consumers and Precalculated Web
Applications
BEx Web Application Design AUTHORS and ANALYSTS BEx Analyzer Workbooks BEx Web applications Mobile applications Example: An occasional user downloads precalculated Web application to his laptop via the Download SchedulerPrecalculated Web applications especially meet the needs of
Alerting
Benefits:
• Offline access to
BW data
• Intuitive and limited
offline navigation
INFORMATION CONSUMERS
BI Suite: Business Explorer (BEx) 3.5
SAP AG 2004, 7 Weekdays Sunday Sunday MoMo TuTu WeWe ThTh FrFr Reporting Agent RA data storage
OL
AP
The data that was run as of 18:00 on Sunday is called up for reports run during the week
BW
BW
Precalculated Web Templates
Precalculated
Precalculated batchbatch run
run at 18:00at 18:00 hourshours
The
The queryqueryisis launchedlaunched withwith
precalculated
precalculated datadata,, oror cancan bebe
downloaded
Precalculation: Online Scenario
Precalculated Web applications can be accessed
online
via a BW
server connection or
offline
via the BEx Download Scheduler
For online access, three different data modes exist:
data_mode = NEW
OLAP processor
data_mode = STORED
RA data storage
data_mode = STATIC
BW Content
Management repository
Reporting authorizations are active
Access to BW Content Management repository via
SAP AG 2004, 9
Access Modes for Web Templates
BW Server OLAP Engine Reporting Agent Log Content Management Framework Web Framework
InfoProvider RA Data Storage CMF Repository
Web Application Server
BEx Web Service Doc Web Service
Access Modes for Web Templates (cont.)
BW Server OLAP Engine Reporting Agent Log Content Management Framework Web Framework SAP GUIInfoProvider RA Data Storage CMF Repository
Web Application Server
BEx Web Service Doc Web Service
SAP AG 2004, 11
Access Modes for Web Templates (cont.)
BW Server OLAP Engine Reporting Agent Log Content Management Framework Web Framework SAP GUI
InfoProvider RA Data Storage CMF Repository
Web Application Server
BEx Web Service Doc Web Service
Offline Scenarios: The BEx Download Scheduler
Offline scenarios are supported via the BEx Download SchedulerPrecalculated templates can be downloaded to a computer and/or into synchronization folders for PDAs
SAP AG 2004, 13
Using the BEx Download Scheduler
SAP AG 2004, 15
Using the BEx Download Scheduler (cont.)
1.Packages can be
What We’ll Cover …
Precalculation: online vs. offline scenarios
Precalculation of static Web templates
Enhanced precalculation features
User-specific precalculation
PDF generation with Adobe Acrobat
SAP AG 2004, 17
Precalculation of Web Templates
Scenario 1:
Basic precalculation with cartography
Data modes
Weekdays Tu
Tu WeWe
Sends
Sends resultresult setsettoto template
template
Top 10 customers
Precalculate a Static Web Template
Sunday Sunday MoMo Reporting Agent RA data storage ... ... 13213 EUR Mast AG 34342 EUR Stern AG 35325 EUR Becker Conversion Customers StaticStatic templatetemplate cancan bebe
viewed
viewed oror downloadeddownloaded Precalculated
Precalculated batchbatch run
run at 18:00at 18:00 HoursHours
SAP AG 2004, 19
Combine the Benefits
Visualize geographic (location-based) business data on maps
Provide an easy and intuitive way to detect and analyze ...
Regional patterns (e.g., market trends)
Customer clustering
Allow interactive information analysis on maps
Select and filter (e.g., regions or customers)
Storage of Objects
Store in BW
All shapefiles connected to BW data (e.g., country, region, etc.)
Store directly on Internet Graphics Server (IGS)
Images used for cartographic background (rivers, national parks, highways)
Description files for cartographic backgrounds
SAP AG 2004, 21
Usage of Map Cartography
• Maps in a BEx Web application are rendered by the IGS
• The IGS allows you to display additional cartographic
information. This information is displayed under
different semi-transparent map layers
•This additional cartographical information is read and
interpreted from an AXL file (a special ESRI XML format)
•The AXL file and its referenced shapefiles must be found on the
Usage of Map Cartography (cont.)
Integrating the AXL files into the Web application
SAP AG 2004, 23
Usage of Map Cartography (cont.)
Usage of Map Cartography (cont.)
SAP AG 2004, 25
Create the Precalculation Settings
After creating a Web template, maintain the precalculation settings by:
• Starting the Administrator Workbench and choosing the
Reporting Agent function area
• Select Web templates in the navigation frame and choose
Create the Precalculation Settings
Now you can…• Select your preferred output formats • Choose Logon Language for
pre-calculation
SAP AG 2004, 27
SAP AG 2004, 29
Create the Precalculation Settings (cont.)
After the template has been precalculated, the result files will be stored in a folder in the BW Content FrameworkThe folder includes:
• HTML pages
• Icons, stylesheets • Mime objects
• JavaScripts
• Users then can immediately download the packages precalculated for them via the Download Scheduler1
Precalculation of Web Templates
Demos (Screencams)
SAP AG 2004, 31
What We’ll Cover …
Precalculation: online vs. offline scenarios
Precalculation of static Web templates
Enhanced precalculation features
User-specific precalculation
PDF generation with Adobe Acrobat
Precalculation of Web Templates
Scenario 2:
Precalculate different variants
Filter navigation via dropdown boxes
Precalculate hierarchies
Text elements
SAP AG 2004, 33
Scenario 2: Precalculating Templates
SAP AG 2004, 35
Weekdays Tu
Tu WeWe
Fills
Fills dropdrop--downdownmenumenu with
with filterfilter valuesvalues
Top 10 customers
Control Query for Precalculated Web Templates
Sunday Sunday MoMo Reporting Agent RA data storage ... ... 13213 EUR Mast AG 34342 EUR Stern AG 35325 EUR Becker Conversion Customers TemplateTemplate withwith filterfilter navigationnavigation can
can bebedownloadeddownloaded Precalculated
Precalculated batchbatch run
run at 18:00at 18:00 hourshours
SAP AG 2004, 37
Filter Navigation with Control Queries
• The control query is necessary if you want to precalculate filter navigation • Create drop-down boxes for Material and Distribution Channel in your Web
template, which will contain the values from the result set of the control query
• That means you need a query that drills down according to both
Filter Navigation with Control Queries (cont.)
The drop-down boxes are populated with characteristic values resulting from the control query
Note: You can also precalculate the ALL option for the two drop-down boxes
SAP AG 2004, 39
Precalculation Setting Maintenance
After you have created the control query, you have to specify it in your precalculation setting
Using Variants
If a query you want to precalculate includes variables, you must create variants for these variables before you can precalculate the Web template
In our query example, we are using a hierarchy variable
You can create the variants within the precalculation setting maintenance
Existing variants can also be specified in the
SAP AG 2004, 41
Sunday
Sunday MoMo TuTu WeWe
Query
Using Variants (cont.)
... 43899 10023 10001 0Material Precalculated
Precalculated batchbatch run
run at 18:00at 18:00 hourshours
Download
Download precalculatedprecalculated template
template
Filtered
Using Variants (cont.)
Before precalculating, create the variants for the hierarchy variable within the precalulation setting maintenance for the actual query AND for the control query
Also, specify existing variants in the
SAP AG 2004, 43
Precalculation Setting Maintenance (cont.)
Next, select the variant for actualWeb template. The variable values for this usually are identical to those used for your control query variant.
Do not forget to execute the
variable pop-up after selecting the values. Then specify a technical name and a description.
Using multiple variants often
makes sense if you precalculated only the data but not the Web template.
Precalculating Web Templates: Scenario 3
Part 3: Offline features in this scenario include:
Multiple data providers
Precalculate different variants
Filter navigation via dropdown boxes (data-provider dependent)
Tables, charts, news ticker, and context-dependent text elements
Embedded documents
This scenario combines most of the precalculation features available
SAP AG 2004, 45
Scenario 3: Precalculating Templates (cont.)
In this offline scenario, aRegional Brand Manager (e.g., for France) could see the aggregated sales for each country in the news ticker. Below in the chart and table he can see the specific data for France.
SAP AG 2004, 47
Scenario 3: Precalculating Templates (cont.)
What We’ll Cover …
Precalculation: online vs. offline scenarios
Precalculation of static Web templates
Enhanced precalculation features
User-specific precalculation
PDF generation with Adobe Acrobat
SAP AG 2004, 49
Precalculating Templates
Sometimes it makes sense to work with variables that are
filled via an authorization- or user-exit
Scenario:
You want to precalculate data for different sales regions, e.g.,
“France” and “Germany,” and you want to give the data for
France to another recipient than the data for Germany
In such a scenario the usage of authorization variables
makes sense
If you use authorization and/or user-exit variables, you can
reduce the need for “hard-coded” variants
Precalculating Templates (cont.)
* PM Exit Variable for Reporting Agent
SAP AG 2004, 51
Precalculating Templates (cont.)
• Use the flag
“Precalculate-User Specifically” and
choose the users that you have maintained in the user exit
• The Web template will be
precalculated with the individual user
authorizations and user exit settings
• The Web template will be
Precalculating Templates (cont.)
SAP AG 2004, 53
What We’ll Cover …
Precalculation: online vs. offline scenarios
Precalculation of static Web templates
Enhanced precalculation features
User-specific precalculation
PDF generation with Adobe Acrobat
How to Generate PDFs out of BW Queries and Web
Applications
In BW 3.0/3.5
Generation of HTML, HTML for Pocket IE, .XLS-Files
Currently the Creation of PDF files is possible only manually via
features within Adobe Acrobat 5.0 (How-to paper on SAP Marketplace)
In BW Release 2005
SAP AG 2004, 55
PDF Generation
Even navigation that is provided via SAP_BW_URLs is possible during the
PDF generation process BW Web applications can be
SAP AG 2004, 57
What We’ll Cover …
Precalculation: online vs. offline scenarios
Precalculation of static Web templates
Enhanced precalculation features
User-specific precalculation
PDF generation with Adobe Acrobat
BI Suite: Business Explorer (BEx) 3.5
SAP AG 2004, 59
Key Functions: Information Broadcasting
Information Broadcasting allows the distribution of BI information
... Via different channels ...
( ) E-mail (works independently from an EP installation) ( ) Enterprise Portal (EP)
... In different formats ...
( ) HTML, MHTML( ) BEx Analyzer workbooks ( ) ZIP files
… Of different sources …
( ) BI Web applications – dashboards, cockpits ( ) BEx Analyzer workbooks
( ) Queries
… In different modes…
SAP AG 2004, 61
Key Functions: Information Broadcasting (cont.)
Information Broadcasting supports different business scenarios
( ) Event based (“intelligent push”)
Integration into process chains
e.g., if new data is loaded into the data container (InfoCube)
( ) Ad hoc
BEx broadcasting wizard for one-step distribution
( ) Scheduled
BEx Broadcaster
Guided scheduling times (for end users/information consumers) Ensures system performance because of better load balancing Scheduling at any time (for power users/administrators)
Create scheduling slots for specific user groups No time restriction and no target restriction
Key Functions: Information Broadcasting – BEx Portfolio
Queries, workbooks, BI
applications as KM
documents
KM document:
pre-calculated query,
workbook, or application
KM link: online BW report
Use KM services for:
SAP AG 2004, 63
Information Broadcasting Target: Collaboration Rooms
Queries, Web applications and
workbooks can be broadcasted
into collaboration rooms
Collaboration rooms services
Resources
How-to paper
http://service.sap.com/BW (alias /BW >
Services and Implementation
SAP Service Marketplace:
Use alias: BW at
http://service.sap.com/BW
SAP BW Online Documentation
SAP AG 2004, 65