SAP BW and The Web Application Server
SAP BW and The Web Application Server
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 2
Agenda
Pre-calculated Template
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 3
Agenda
Pre-calculated Template
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 4
BW Architecture: Web Applications
Web Applications
Portal Integration
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 5
Different Types of Users in OLAP Analysis
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 6
The Business Explorer in SAP BW 3.x
Portal
Portal Integration,
Integration, Query,
Query, Reporting
Reporting Web
Web Application
Application
Collaboration
Collaboration & & Formatted
Formatted Reporting
Reporting Mobile
Mobile Intelligence
Intelligence
and
and Analysis
Analysis Design
Design
Deployment
Deployment
Single point of entry Query Design via Desktop Web Application Design Pixel-oriented layouts Online & Offline scenarios
Role-based information or Web Interactive analytic content Wizard-based layout Support of WAP ´Phones
provision Multi-dimensional (OLAP) over the Web definition and PDAs
Personalization, analysis (MS Excel or Information Cockpits / Static, form-based reports Automatic device recognition
Collaboration, Profiling, Web-based) Dashboards Legal Reports Publishing via Web
Subscription Geographical analysis Framework for building Pre-defined Crystal Reports Application Designer
Integration of Ad-hoc data exploration Analytical Applications within Business Content Device specific output
unstructured information Alerting Create iViews for the Portal Delivered over the Web generation
Drag & Relate, Unification iView Publishing Wizard-based visualization Print options for comfortable Alerts, charts, …
Tight integration of Web- APIs for further Web design printing Integration into Mobile Portal
No further BEx Browser and Excel-based analysis
development
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 7
Seamless Component Integration
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 8
Web Application Designer: Web Publishing Process
BEx Web Any Web
Application Design Tool
Designer Portal/
Any Web
Browser
Stand Alone
Query Designer
http
OLAP
OLAP Processor
Processor BW
BW Web
Web
Service
Service
BW Server (using
Data HTML
Templates
mySAP Web App
Base BW
BW Charting
Charting Engine
Engine Server Technology)
(BLOBS)
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 9
Performance: Web Applications VS. BEx Analyzer
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 10
BW Feeds SAP’s EP Portal
External Portals /
Portal Marketplaces
Information Dashboards /
Cockpits
Mobile Devices
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 11
BW / Portal Components: Protocols and Interfaces
Presentation
Presentation Presentation
Presentation Web
Web User Dialog: Graphical
Services
Services Services
Services Browser
Browser information processing
Presentation
Schedule
logic:
Custom er Part Material Task
Produ ction
Order
30-70% Confirm
WEB
Deliver y
WEB Application
Application Services
Services System Management
Transaction Monitoring
Application
10-50% Database
Database Information Storage
Services
Services Database
Database Services
Services Database Backup
Database
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 13
BW 3.x Includes Web Application Server
Database
• “integrated” J2EE Engine
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 14
BW 3.x System Architecture
ITS
BW 2.x
BW 2.0 • Mainly used for web-enabling
of existing SAP applications
• Dynpro-based
HTTP
Web RFC
ITS • BW used ITS only as a
Serv.
gateway (WEBRFC)
• ITS Flow Logic was only used
in special cases
HTTP
• Generation of charts and maps
on Internet Graphic Server (IGS)
• Support of background
processing
BW 3.x
IGS • BEx Mobile Intelligence
6.20 • Easy administration
TREX
5.0.2.1
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 15
WAS Landscape: System Landscape
Browser
Browser Intranet
BW 3.0B
XYZ System
Add more app servers for
WAS scalability!
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 16
Agenda
Pre-calculated Template
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 17
What is the Internet Graphics Service ?
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 18
The IGS Landscape for BW
HTTP
BW 3.0
Internet
Web AS
RFC
RFC/HTTP
HTML +Java
Chart-
Engine
IGS
GIS
Engine
EP 5.0
SAP Dialog-Protocol and Automation-
Calls
HTTP Protocol, for HTML, JavaScript, Java
Applets, etc.
External system
The user never calls IGS directly. Graphics generation is server : server
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 19
IGS Components and architecture
BW
BWChart
Chart Interpreter
Interpreter
Interpreters: Converts IGS request into Interpreter for
native component format and issues work Interpreter forGIS
GIS
request to component and vice versa.
Chart
Chart Geocoder
Control Geocoder
Control
Components: Specialized processes
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 20
IGS Data Flow
RFC HTTP
Query RFC HTTP
Listener Listener
Listener Listener
MUX
MUX
Multiplexer
Multiplexer
?
Configuration
Configuration
File
File
PW
PWPortwatcher
Portwatcher
BW
BWChart
Chart Interpreter
Interpreter
Interpreter
Interpreter for
forGIS
GIS
Chart
Chart Geocoder
Control Geocoder
Control
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 21
IGS Scalability: Multiple port watchers &
interpreters
* Note:
System boundaries* Currently for BW all
Network systems must be the
Communication component same operating system
Data conversion (syntax) RFC HTTP
RFC HTTP
Data interpreter (semantics) Listener Listener
Listener Listener
Component
Workload-balancing check
MUX
MUX
Multiplexer
Multiplexer
PW PW PW
PW PW PW
Portwatcher Portwatcher Portwatcher
Portwatcher Portwatcher Portwatcher
Chart Chart
Chart Chart Geocoder Geocoder
Control Control Geocoder Geocoder
Control Control
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 22
Web Applications – New Chart Designer (IGS 6.40)
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 23
SAP Web AS Integration
BI Web Services
Definition Web Service
A Web Service is a software component that can be described, discovered and
executed using open Internet standards like WSDL (Web Service Description
Language), UDDI, SOAP, XML, HTTP
For the caller or sender, a service is a black box that may require input and delivers a
result. Web Service cover the provision of services for integration within an
enterprise, as well as cross-enterprises services on top of any communication
technology stack, whether synchronous or asynchronous
Web Services are a new feature of SAP Web AS 6.40
Scenarios and Features
Following Features are released as web services and can be accessed via open
standards
XML for Analysis: Connection of 3rd party front-end vendors to BW OLAP Engine
XML Query Result Set
XML Data Load
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 24
Agenda
Pre-calculated Template
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 25
WAS Architecture: Overview
Internet Communication
Framework
BW 3.0B
SAP Web
DIAG AS 620
Dispatcher
Workprocess
HTTP Workprocess
Workprocess
HTTP(S) Workprocess
ICMan
SMTP
SMTP
CGI
intern
File I/O
DB
An extension to
Internet
the basis system! Communication
Manager
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 26
ICF: Internet Communication Manager (ICM)
Multithreaded architecture
thread pool and dynamic number of threads
Platform independent
Available on all R/3 platforms (NT, Unix, AS/400, etc)
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 27
ICF: Internet Communication Framework Server
HTTP Request
Call method
handle_request HTTP Ext Object
ICF
Response
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 28
ICF: Communication Processes Interacting With
Basis
MSG_Server
Memory Pipes Retain
User Statefulness Data
Dispatcher
Dispatcher
Queue
Basis
System
ABAP
ICF
TSKH
ABAP
RR
ICF
TSKH
ABAP
RR ICF
ICMAN*
ICF
TSKH
ABAP RR
…
ICF* TSKH
TSKH
ABAP RR
Memory Pipes
Intranet/Internet
Shared Memory
HTTP
SMTP
Intranet/Internet
Px
ICM W
Work processes
Plugin
HTTP
HTTPPlugin
HTTP Plugin
Plugin
SMTP
SMTPPlugin
SMTP Plugin
Handler
Plugin
NNTP
NNTPPlugin
Memory Pipes
NNTP Plugin
I/OHandler
I/O
En-/Decryption
Plugin
I/O Handler
To Basis
En-/Decryption
????
????Plugin
En-/Decryption
Control
Request Queue
????
Worker
Plugin
Thread System
Worker Thread
Internet
Worker Thread
HTTP
SMTP
Communication
Thread pool
Thread Control
Manager
Thread
Queue
Dispatcher
When Cycle
Watchdog
Watchdogthread
thread
is finished
Signal
Signalhandler
handler
Data flow Control flow
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 30
ICF: ICM Admin and Monitoring
Administration Tools:
via Transaction SMICM
Command line monitor:
icmon{.exe}
Profile parameters
see Reference guide
for details.
Also see online help
(help.sap.com)
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 31
ICF: ICF Services
Transaction SICF
services defines
URL for HTTP
handlers
Default user
settings for public
sites
Default client,
language
definition of Aliases
Individual ICF
Services for BSP and HTTP
Applications
BW services delivered as standard
The BEx Service is utilized
for BW Web reporting
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 32
ICF BEX Service: Load Balancing and Security
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 33
ICF: ICM and Load Balancing
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 34
Performance: Web Applications VS. BEx Analyzer
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 35
MIME Repository
contains arbitrary
Files that are used
by BW web reports
or BSP Apps.
Images
Backgrounds
Static HTMLs
Style Sheets
...
is part of the
infrastructure
translation
transport
is accessible via
HTTP
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 36
Agenda
Pre-calculated Template
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 37
The ICF, the ICM and Web Applications Performance
For Response pages which are intended for heavy re-use, objects in
MIME repository are cached on the WAS by default. Server caching is
implemented as follows:
based on URL prefix.
Pages are saved in cache before they are sent to the client
For subsequent requests, pages are sent directly by ICM to client
Administration: profile parameters
icm/HTTP/server_cache<xx>/max_entries
icm/HTTP/server_cache<xx>/expiration
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 38
Data Compression and MIME Compression
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 39
ICF BEX Service: Enable Compression (trans SICF)
sap->bw->BEx
sap->bw->Mime
sap->bw->doc->browser
sap->bw->doc->hier
sap->bw->doc->mast
sap->bw->doc->meta
sap->bw->doc->metadata
sap->bw->doc->tmpl
sap->bw->doc->tran
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 40
Browser Cache of MIME objects
MIME objects are cached in the browser, see OSS note 561792
Performance Gain: Static images (i.e. company logo, etc) are not
reloaded (from the server MIME cache) every time a query result
set is rendered in the browser – less data to send!
Note:
The ICM will attempt to force a new version of the image into the
browser’s cache periodically
based on an instance profile parameter setting.
A performance gain can be achieved by extending the time MIMEs will
sit in the browser cache before the ICM reloads them from the MIME
server cache.
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 41
Browser Settings for Client Caching of MIMEs
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 42
Agenda
Pre-calculated Template
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 43
Reporting Agent: Precalculated Template
Response-time performance is
greatly improved to the end user
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 44
Pre-Calculating Web Templates – Business Scenario
Scope of Application
Goal
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 45
Pre-Calculating Web Templates – Setup
Access
Realization
Access modes
NEW = Default
STORED
Settings HYBRID
STATIC
Output formats STATIC_HYBRID
Data
HTML for Web Browser
HTML for Pocket IE
Excel
Parameterization
specify filter values
pre-assign variables
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 46
Pre-Calculating Web Templates – Example
Example Scenario
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 47
Pre-Calculating Web Templates Prerequisites I
Prerequisites
Define a query containing
the relevant characteristics.
(Data Provider Query)
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 48
Pre-Calculating Web Templates Prerequisites II
Prerequisites
Define a query containing
the relevant characteristics.
( Data Provider Query )
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 49
Pre-Calculating Web Templates Prerequisites III
Prerequisites
Define a query containing
the relevant characteristics.
( Data Provider Query )
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 50
Pre-Calculation: Step-By-Step 1
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 51
Pre-Calculation: Step-By-Step 2
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 52
Pre-Calculation: Step-By-Step 3
Parametrise Template
Language
Control Query
Decide which languages are to be calculated.
Query result serves as parametrisation.
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 53
Pre-Calculation: Step-By-Step 4
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 54
Pre-Calculation: Step-By-Step 5
immediate execution
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 55
Pre-Calculation: Step-By-Step 6
Document Overview
The calculated documents are
organized in a hierarchy with
levels:
Packet
Job
Device
( Setting )
Additional objects
Icons
Charts
JavaScript
Stylesheet
Index
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 56
Access Modes for Web Templates
http://myserver:myport/sap/bw/BEx?cmd=ldoc&template_id=myTemplate&data_mode=new
NEW
WebDAV
HYBRID BW Server
Handler
Reporting Agent
Web Framework
STATIC Content
Management
OLAP Log Framework
STATIC_HYBRID
Engine
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 57
Access Modes for Web Templates
http://myserver:myport/sap/bw/BEx?cmd=ldoc&template_id=myTemplate&data_mode=stored
NEW
WebDAV
HYBRID BW Server Reporting Agent Handler
Web Framework
STATIC Content
Management
OLAP Framework
STATIC_HYBRID Log
Engine
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 58
Access Modes for Web Templates
http://myserver:myport/sap/bw/doc/tmpl/fldtmpl/“cmfpath/report.htm“
NEW
WebDAV
HYBRID BW Server Reporting Agent Handler
Web Framework
STATIC
Content
Management
STATIC_HYBRID OLAP Framework
Log
Engine
Web Application Server
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 59
Further Information
Public Web:
http://www.sap.com > Solutions >
Business Intelligence
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 60
Questions?
Q&A
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 61
Copyright 2003 SAP AG. All Rights Reserved
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express
permission of SAP AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other
software vendors.
Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered trademarks of
Microsoft Corporation.
IBM®, DB2®, DB2 Universal Database, OS/2®, Parallel Sysplex®, MVS/ESA, AIX®, S/390®, AS/400®, OS/390®,
OS/400®, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere®, Netfinity®, Tivoli®,
Informix and Informix® Dynamic ServerTM are trademarks of IBM Corporation in USA and/or other countries.
ORACLE® is a registered trademark of ORACLE Corporation.
UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.
Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® and
other Citrix product names referenced herein are trademarks of Citrix Systems, Inc.
HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide Web Consortium,
Massachusetts Institute of Technology.
JAVA® is a registered trademark of Sun Microsystems, Inc.
JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for technology invented
and implemented by Netscape.
MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One.
SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are trademarks of their respective
companies.
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 62
Copyright 2003 SAP AG. Alle Rechte vorbehalten
Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher
Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser
Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert werden.
Die von SAP AG oder deren Vertriebsfirmen angebotenen Softwareprodukte können Softwarekomponenten auch
anderer Softwarehersteller enthalten.
Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® und SQL Server® sind eingetragene Marken der
Microsoft Corporation.
IBM®, DB2®, DB2 Universal Database, OS/2®, Parallel Sysplex®, MVS/ESA, AIX®, S/390®, AS/400®, OS/390®,
OS/400®, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere®, Netfinity®, Tivoli®, Informix
und Informix® Dynamic ServerTM sind Marken der IBM Corporation in den USA und/oder anderen Ländern.
ORACLE® ist eine eingetragene Marke der ORACLE Corporation.
UNIX®, X/Open®, OSF/1® und Motif® sind eingetragene Marken der Open Group.
Citrix®, das Citrix-Logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® und
andere hier erwähnte Namen von Citrix-Produkten sind Marken von Citrix Systems, Inc.
HTML, DHTML, XML, XHTML sind Marken oder eingetragene Marken des W3C®, World Wide Web Consortium,
Massachusetts Institute of Technology.
JAVA® ist eine eingetragene Marke der Sun Microsystems, Inc.
JAVASCRIPT® ist eine eingetragene Marke der Sun Microsystems, Inc., verwendet unter der Lizenz der von
Netscape entwickelten und implementierten Technologie.
MarketSet und Enterprise Buyer sind gemeinsame Marken von SAP AG und Commerce One.
SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com und weitere im Text erwähnte SAP-Produkte und -Dienst-leistungen
sowie die entsprechenden Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und anderen
Ländern weltweit. Alle anderen Namen von Produkten und Dienstleistungen sind Marken der jeweiligen Firmen.
2003 SAP Labs, LLC, ASUG BITI BW and Web AS, Ron Silberstein / Bryan Katis 63