Sie sind auf Seite 1von 83

SAP BW WORKSHOPS

DATA MANAGEMENT AND BUSINESS INTELLIGENCE JANUARY 2009

AGENDA
SESSION 1 ACTIVITY SCHEDULE SAP Business Information Warehouse Navigation Part 1: Crash course reporting Part 2: Query definition Exception reporting Creating SAP InfoObjects

Introduction
W1= 60 min W2P1= 40 min W2P2= 60 min W3= 90 min W4= 90 min

2
3 4

5
6 7 8

W5= 60 min
W6= 90 min W7= 90 min W8P1= 60 min W8P2 = 30 min

Creating SAP InfoCubes


Flexible Master Data Staging Loading Transaction Data Part 1: Visualising Data Part 2: Analysing Data

SAP INTRODUCTION

Overview
BW: an end-to-end data warehousing solution which can: Gather information Merge and transform information Manage that information Present, analyse and exploit information Lead to better business decisions

Introduction

Who uses SAP BI? Why do they want it?

Use of Data

Reporting from many sources The devolution of decision making

Reporting Availability

Ability to create their own reports NOW in a self service environment Removing the ABAP backlog for R/3 reporting Author Reducing reliance on IT
10% Analyst 20 % Consumer 70%

One version of the truth


Common business definitions Common results reconciliation

Introduction

Business Intelligence

SAP Netweaver BI SAP NetWeaver BI is a web-based, open integration and application platform that serves as the foundation for enterprise service-oriented architecture (enterprise SOA) Allows the integration and alignment of people, information, and business processes across business and technology boundaries. Utilizes open standards to enable integration with information and applications from almost any source or technology.
Introduction

Data Warehouses
1. A data warehouse is a central repository for all or significant parts of the data that an enterprise's various business systems collect. 2. A data warehouse is a copy of transaction data specifically structured for querying and reporting. 3. A collection of data designed to support management decision making. Data warehouses contain a wide variety of data that present a coherent picture of business conditions at a single point in time. 4. A data warehouse is a subject-oriented, integrated, nonvolatile, time-variant collection of data in support of managements decision. (Bill Inmon definition)

Introduction

Data Warehouse / Business Intelligence

Introduction

mySAP ERP SOLUTION MAP (1)


Analytic s
Analytics
Financial Supply Chain Mgmt

END-USER SERVICE DELIVERY


Strategic Enterprise Management
Financial Supply Chain Management

Financial Analytics
Financial Accounting

Operations Analytics
Management Accounting

Workforce Analytics
Corporate Governance

Manager & Employee Self Services

Financials
Human Capital Management
Procurement and Logistics Execution Product Development and Manufacturing Sales and Services

Talent Management

Workforce Process Management


Inventory and Warehouse Managemen t Enterprise Asset Managemen t

Workforce Deployment

Procurement

Supplier Collaboratio n

Inbound and Outbound Logistics Product Developmen t

Transportation Management

Production Planning

Manufacturin g Execution

Interne t Sales

Life-Cycle Data Managemen t Incentive and Commission Managemen t

Sales Order Managemen t Real State Managemen t

Aftermarket Sales and Services


Project Portfolio Managemen t

Professional Service Delivery Travel Managemen t

Global Trade Services

Corporate Services

Environment al, Health and Safety

Quality Managemen t

Collaborative Project Management

SAP NetWeaver

People Integration

Information Integration

Process Integration

Application Platform

Business Warehouse

Introduction

Subareas of SAP NETWEAVER


Provides core functions for the infrastructure of the business in 4 subcomponents Not all SAP solutions are based on Netweaver (e.g.
SAP Business One)

SAP NETWEAVER 04
PEOPLE INTEGRATION

Multichannel Access Portal Collaboration

INFORMATION INTEGRATION
Master Data Management Knowledge Business Intelligence Management

Microsoft .NET

PROCESS INTEGRATION
Integration Broker Business Process Management

J2EE

APPLICATION PLATFORM J2EE DB & OS ABAP Abstraction DB & OS abstraction

Introduction

Life Cycle Management

IBM Web Sphere

Composite Application Framework

SAP Netweaver Integration


SAP Customer Service Network SAP xApps Industry Solutions
mySAP Business Suite

mySAP PLM
Purchase order requisitions Life-Cycle data, Project-Quality and Asset Management Sales orders Internet Sales

mySAP SRM

mySAP ERP
Inventory and Warehouse Management Manufacturing and Transportation

mySAP CRM
SAP Enterprise Portal

mySAP ERP

SAP BI

mySAP SCM

ECC

SAP NETWEAVER
PEOPLE INTEGRATION (SA EP) INFORMATION INTEGRATION (SAP BW) PROCESS INTEGRATION (SAP XI) APPLICATION PLATFORM (SAP Web AS)

Introduction

Structure of SAP BW

Introduction

SAP BW Front end options


Bex Report designer Visual Composer

BEx Web

Bex Mobile Intelligence

BEx Analyzer
Data Mining
Introduction

Workshop 1

SAP Business Information Warehouse Navigation

BW Access
SAP NETWEAVER 04

Client: System: USER: INITIAL PASSWORD:

800 BW Brunel (G90) XBUSER-1-XX init

XX is a number between 0-30. This number will be or has been assigned to each student. The system will ask for a new password once you login for first time.

Workshop 1

BW Access / Naming conventions


SAP NETWEAVER 04 Please remember to use the naming convention set up for this module, which is as follows:
The institutions unique code letter = XB The current courses unique number = Y Substitute Y with the number 1 assigned to NITH courses Each participants unique number = XX Substitute XX with the number assigned to you at the start of the session For example, if you see XBYXX and you are in training assigned number 10, you would type XB110. XB 1 10 = Institution = Course Number for NITH = Student No. 10 RM DC

The abbreviations for actions within the exercises are: Right mouse click = Double click =

Workshop 1

SAP Business Information Warehouse Navigation Start workshop 1 / 60 min

Workshop 2

Part1: Crash Course Reporting

Working area / Data source reporting

Workshop 2

SAP BW Tools
SAP NETWEAVER 04

Workshop 2

Multidimensionality

Workshop 2

TYPES OF NAVIGATION
Pivoting means turning the data cube Slicing means filters are set to create a sliceof data Dicing means creating a smallerdata cube by slicing an interval Drilldown generally means adding information to a report Roll up = opposite of drilldown Drill across is when the x-and y-axes are switched

Workshop 3

Query Areas

Workshop 2

TYPES OF NAVIGATION (Exercise)


1. Slicing: Display all results generated in the Munich, London and Berlin sales organizations. Return to the default state. 2. Dicing: Limit the report to the first half of the year 2003. 3. Pivoting: You now want to display the report according to material and time. Turn the data cube accordingly so that you swap sold-to party with material. 4. Roll Up: You are not concerned about time (calendar year/month) right now. Aggregate your report accordingly. 5. Drilldown: You now want to work with key figures according to material and distribution channels. Add the distribution channel as additional information to your report. Go back one display.
Workshop 2

Part1: Crash Course Reporting


Start Part 1 of workshop 2 / 40 min

Workshop 2

Part 2: Query Definition

Working area / Query definition

Workshop 2

Meta Data Model for Query Definition and Query


Workbook (xls file)
0,m embedded query 0,n

Query definition

1,1

supplie s data

0,n

InfoCube

Save as view

View

OLAP Engine

BEx Analyzer is used to generate queries (query definitions) that always refer to exactly one InfoProvider and that represent the InfoProviders data in a suitable form. The OLAP processor ensures that the queries are forwarded to BW. The query definition is stored on the BW server. Whereas the query definition to a certain extent can be interpreted as a class definition, a query is stored in an Excel Workbook as an instance of this class and saved with the workbook SAP is not always consistent in differentiating between query definitions and embedded queries.

Workshop 2

Data Source of reporting

Workshop 2

Query designer toolbar

Workshop 2

Using drag and drop for your query definition

Workshop 2

Part 2: Query Definition


Start Part 2 of workshop 3 / 60 min

Workshop 3

Exception Reporting

Working area / Query definition with exceptions

Workshop 3

Exception Reporting Scenario


You must be in a position to identify and remedy potential problems in a organization early on. Analyses that are carried out at regular intervals can help identify weak points. Exception reporting, which has been implemented in BW, enables you to recognize, select and highlight unusual deviations from predefined key figure values in the query result

Workshop 3

Exception Reporting steps

1.Define the exception 2.Output: highlighted in colour in the query worksheet 3.Define Reporting Agent settings 4.Schedule 5.Output: alert Monitor and messages
Workshop 3

Exception Reporting
Workshop 3 / 90 min

Workshop 4

Creating SAP InfoObjects

Working area / InfoObjects

Workshop 4

Definitions

INFOOBJECT: are the basic stores of information of BW. They are used for the creation of data targets such as InfoCubes. KEY FIGURES: form the content of the cells of multidimensional data cubes and thus are the central element of each MDM DIMENSIONS: viewpoints of analysis for multidimensional data basis. Highest level of a data consolidation path.

For BW, dimensions are summarisation of contents of the characteristics that constitute them.

CHARACTERISTICS: components that are caused of analysis. E.G. time, value types, students, customer, etc.
Workshop 4

InfoObjects

Infoobject Characteristic

Infoobject: Key Figure


E.g. Customer, Product

E.g. Sales, Costs Numerical and additive if possible

Workshop 4

From Star schema to InfoObjects

Every field of a dimension becomes a characteristic

Customer

Customer Region Facts

Product

Product Division Sales Costs Quantity

Time

Each key figure of the fact table becomes a key figure


Workshop 4

Day Month

Important properties of a Characteristic


Name Data type Length Master data

Text

Short: 0TXTSH Medium: 0TXTMD Long: 0TXTLN It is a InfoObject itself (Characteristic or Key Figure)

Attributes

Hierarchies
Workshop 4

InfoCube Architecture

Workshop 4

ACTIVITIES FOR THIS WORKSHOP

Create an InfoObject. 2. Check: InfoObject is checked for correct syntax. 3. Save: Definition is saved. 4. Activate: Database tables are generated.
1.

Workshop 5

InfoCube Architecture for Workshop 5


Customer

Customer Region Facts

Product

Product Division Sales Costs Quantity

Time

Day Month

Workshop 4

Creating SAP InfoObjects


Workshop 4 / 90 min

Workshop 5

Creating SAP InfoCubes

Working area / InfoCubes

Workshop 2

DEFINITIONS

DATA CUBES: are the central stores for all analyses and reports (in SAP!) and are stored in Infoareas.

From the physical point of view the infocube and relevant dimension tables are connected each other relationally using dimension keys.

Formed from key figure and characteristic data types. Three dimensions are already defined with TIME, UNIT and INFOPACKAGE.

Workshop 6

LOGICAL VIEW OF AN INFOCUBE

Workshop 6

InfoCube Architecture

Workshop 6

ACTIVITIES FOR THIS WORKSHOP


1.

2.
3.

4.
5. 6.

Create InfoCube Add key figures Add characteristics Create dimensions Sort characteristics into dimensions Check, save, activate
Workshop 6

STAR SCHEME FOR INFOCUBE SALES


Customer

Customer (AYXX_CU) Region (AYXX_RE) Facts

Product

Product (AY_PR) Division (AY_DV) Sales (AYXX_SA Costs (AYXX_CO) Quantity (AYXX_QU)

Time

Day (0CALDAY) Month (0CALMONTH)

Workshop 6

Creating SAP InfoCubes


Workshop 5 / 60 min

Workshop 6

FLEXIBLE MASTER DATA STAGING

Working area / Flexible master data staging

Workshop 6

Loading data in SAP BW

There are two types of application data in BW

Master data: are the segments, attributes, texts and hierarchies introduced in the analysis of the extended star schemas Transactional data: data records of an InfoCube fact table Data in BW
Application Data Metadata

TransactionData

Master Data

Specialist Metadata

Technical Metadata

Attributes

Texts

Hierarchies

Workshop 6

Staging scenarios

Staging scenarios with transient data store Data is always collected anew and only kept in the BW systems for the duration o a given transaction

Staging scenarios with persistent data store Data loaded from the source system into the SAP BW system is stored even after a transaction has been concluded

Workshop 6

Persistent Staging Scenario

For this workshop

Workshop 6

FlatFiles as source system

Source systems are all systems that stage data doe SAP BW, this includes:

Workshop 6

FLATFILEs in which the metadata is maintained manually and the data is transferred using a data interface to the SAP BW

Structure of flatfiles
Structure of Attributes FlatFiles

Structure of Text FlatFiles

Workshop 6

Update types
Flexible Updating

Direct Updating

Transaction data Master data

Master data only

= with update rules

= without update rules

Update rules specify how data (KF, Characteristics, time characteristics) are updated from an InfoSource communication structure to the data targets They connect an InfoSource with an InfoCube, Characteristic or ODS object

Workshop 6

InfoSource, Transfer rule & PSA definitions

Infosource describes the amount of all available data for a business process or a type of business process. It is a unit of logical associated information that is of InfoObjects and can refer data from one or more DataSources. The structure of an InfoSource is called the communciation structure. Transfer rules determine how and which field in the source system-dependet tranfer structure are transferred to which field in the source system-independent communication structure. PSA is the initial storage are of SAP BW for requested data from different source systems.
Workshop 6

Activities for this workshop (2)


1. 2. 3. 4.

5.
6.

Insert characteristic as a data target Define InfoSource for master data Assign source system and DataSource(s) Maintain transfer structure and transfer rules Create update rule Create and schedule InfoPackage
Workshop 6

Example of data flow for uploading Master data from flat files
Updated Rules

Buffer Source System DataSourc e


Persistent Staging Area

InfoSourc e

Customer Characteristic s

Workshop 6

FLEXIBLE MASTER DATA STAGING Workshop 6 / 90 min

Workshop 7

LOADING TRANSACTION DATA

Loading data in SAP BW

There are two types of application data in BW

Master data: are the segments, attributes, texts and hierarchies introduced in the analysis of the extended star schemas Transactional data: data records of an InfoCube fact table Data in BW
Application Data Metadata

TransactionData

Master Data

Specialist Metadata

Technical Metadata

Attributes

Texts

Hierarchies

Workshop 7

Persistent Staging Scenario

For this workshop

Workshop 6

Transaction vs Master data

Loading the master data and then the transaction data is more common since: Characteristic values are assigned to SIDs during loading processes, if the transaction data were loaded first, a temporary SID would need to be assigned that would be corrected later. Referential integrity with the master data can be ensured when loading the transaction data. This means that transaction data records that refer to non-existent characteristic values can be rejected.

Workshop 7

FlatFiles as source system

Source systems are all systems that stage data doe SAP BW, this includes:

Workshop 8

FLATFILEs in which the metadata is maintained manually and the data is transferred using a data interface to the SAP BW

Structure of Transaction Data flatfiles

Maintain consistent order Do not use titles if possible Give data in the YYYYMMDD format

Workshop 7

Activities for this workshop (1)

Data coming from Master data will uploaded into our InfoCube Sales. Master data is therefore not updated in the InfoCubes like transaction data. The master data tables of a characteristic are supplied by the master data InfoSource of the respective characteristic. For this example we are using Text files.

Workshop 8

Phases of the staging Process from Flat Files


l a m k r e M / l e i z n e t a D
Update Rules

Communication Structure
Transfer Rules Transfer Rules

Communication Structure
Transfer Rules

e c r u o S o f n I

PSA
No Modifications

PSA
No Modifications

PSA
No Modifications

A S P

Transfer Structure
Field Selection

Transfer Structure
Field Selection

Transfer Structure
Field Selection

e c r u o S a t a D

Extract Structure

Extract Structure

Extract Structure

Flat File with Transaction Data

Flat File with Master Data Transaction Data

Flat File with Stammdaten

m e t s y s l l e u Q

Workshop 7

Example of data flow for uploading Transaction data from flat files
Transfer Rule

Sale s Cub e

Source System

Buffer
DataSource Persistent Staging Area

InfoSourc e

Workshop 7

LOADING TRANSACTION DATA Workshop 7 / 90 min

Workshop 8

VISUALISING DATA

Diagrams vs Words

Workshop 8

GEO-Characteristics

Many of the BW characteristics, such as customer, sales region, state or country, also have geographical significance. You can evaluate geographic information together with the business-relevant key figures in BExMap. BExMap is the geographical information system (GIS) of BW that is integrated in Business Explorer (BEx).

Workshop 8

Activities for this workshop


Identify characteristic as geographically relevant Load geographic data into BW


This will load the maps available asshape filesinto the BW system and assign them to the respective characteristic Download geo-data: Downloads the master data of the characteristic. Important: SAPBWKey Open the DBF file of geo-data and enter the SAPBWKey Upload modified shape files

Insert BExMap into the query

Define a query with geo-characteristics and insert it into a workbook. After you attach a map, it displays query data of geographical relevance. You can navigate through the map to further evaluate geo-relevant data
Workshop 8

VISUALISING DATA

Workshop 8 part 1/ 60 min

ANALYSING DATA

Workshop 8 part 2/ 30 min

Das könnte Ihnen auch gefallen