Powered By

Free XML Skins for Blogger

Powered by Blogger

Showing posts with label SAP Data Warehouse. Show all posts
Showing posts with label SAP Data Warehouse. Show all posts

Friday, January 16, 2009

SAP Using a Data Warehouse BI

The reporting, analysis, and interpretation of business data is of central importance to a company in guaranteeing its competitive edge, optimizing processes, and enabling it to react quickly and in line with the market.

Company data is usually spread across several applications that are used for entering data. Analyzing this data is not only difficult because it is spread across several systems but because the data is saved in a form that is optimized for processing, not analysis. Data analysis represents additional system load which affects operative data processing. Furthermore, the data has come from heterogeneous applications and is therefore only available in heterogeneous formats which must first be standardized. The applications also only save historic data to a limited extent. This historic data can be important in analysis.

Therefore separate systems are required for storing data and supporting data analysis requirements. This type of system is called a data warehouse.

A data warehouse serves to integrate data from heterogeneous sources, transform, consolidate, clean up and store this data, and stage it efficiently for analysis and interpretation purposes.

SAP Architecture of a Data Warehouse BI

There are many different definitions of a data warehouse. However, they all favor a layer-based architecture.

Data warehousing has developed into an advanced and complex technology. For some time it was assumed that it was sufficient to store data in a star schema optimized for reporting. However this does not adequately meet the needs for consistency and flexibility in the long run. Therefore data warehouses are now structured using a layer architecture. The different layers contain data in differing levels of granularity. We differentiate between the following layers:

● Persistent staging area

● Data warehouse

● Architected data marts

● Operational data store

This graphic is explained in the accompanying text

Persistent Staging Area

After it is extracted from source systems, data is transferred to the entry layer of the data warehouse, the persistent staging area (PSA). In this layer, data is stored in the same form as in the source system. The way in which data is transferred from here to the next layer incorporates quality-assuring measures and the transformations and clean up required for a uniform, integrated view of the data.

Data warehouse

The result of the first transformations and clean up is saved in the next layer, the data warehouse. This data warehouse layer offers integrated, granular, historic, stable data that has not yet been modified for a concrete usage and can therefore be seen as neutral. It acts as the basis for building consistent reporting structures and allows you to react to new requirements with flexibility.

Architected Data Marts

The data warehouse layer provides the most multidimensional analysis structures. These are also called architected data marts. This layer satisfies data analysis requirements. Data marts are not necessarily to be equated with the terms summarized or aggregated; here too you find highly granular structures but they are focused on data analysis requirements alone, unlike the granular data in the data warehouse layer which is application neutral so as to ensure reusability.

The term “architected“ refers to data marts that are not isolated applications but are based on a universally consistent data model. This means that master data can be reused in the form of Shared or Conformed Dimensions.

Operational Data Store

As well as strategic data analysis, a data warehouse also supports operative data analysis by means of the operational data store. Data can be updated to an operational data store on a continual basis or at short intervals and be read for operative analysis. You can also forward the data from the operational data store layer to the data warehouse layer at set times. This means that the data is stored in different levels of granularity: while the operational data store layer contains all the changes to the data, only the days-end status, for example, is stored in the data warehouse layer.

The layer architecture of the data warehouse is largely conceptual. In reality the boundaries between these layers are often fluid; individual data memory can play a role in two different layers. The technical implementation is always specific to the organization.

SAP Enterprise Data Warehouse EDW BI

The type of information that a data warehouse should deliver is largely determined by individual business needs. In practice this often results in a number of isolated applications which are referred to as

SAP Enterprise Data Warehouse EDW BI

The type of information that a data warehouse should deliver is largely determined by individual business needs. In practice this often results in a number of isolated applications which are referred to as

SAP Building and Running a Data Warehouse BI

The structure and running of a data warehouse in general, and an enterprise data warehouse in particular, is highly complex and cannot be tackled without the support of adequate tools. Business Intelligence in SAP NetWeaver offers an integrated solution that represents the entire data warehouse process from extraction, to the data warehouse architecture, to analysis and reporting.

Data Warehousing as an Element of Business Intelligence in SAP NetWeaver Provides:

● Data staging:

○ Extraction, transformation, loading (ETL) of data: All data sources can be accessed by means of extraction in the background (via JDBC, file, XMLA, ODBO, ..). Extractors are delivered for SAP applications or can be generated. The standard applications of other providers can be accessed by integrating the ETL tools of non-SAP providers.

○ Real-time data warehousing: Event-near availability of data in the operational data store can be realized using real-time data acquisition technology.

○ Remote data access: Data can be accessed without being saved in the BI system using VirtualProviders (see below).

● Modeling a layer architecture: InfoCubes support the modeling of star schemas (with one large fact table in the center and several surrounding dimension tables) in the architected data mart layer. VirtualProviders allow you to access source data directly. InfoCubes can be combined in virtual star schemas (MultiProvider) using Shared or Conformed Dimensions (master data tables).

The persistent staging area, data warehouse layer and operational data store are built from flat stores, the DataStore objects.

InfoObjects (characteristics and key figures) form the basis of the InfoCube or DataStore object description. You ensure vertical consistency by using the same InfoObjects in the various layers and thus avoid the interface problems that can arise if you use heterogeneous tools to build the layers.

● Transformation: Transformation rules serve to clean up and consolidate data.

● Modeling the data flow: Data transfer processes serve to transfer the data to the different stores. You use process chains to schedule the data processing and observe it using a monitor.

● Staging data for analysis: You can define queries based on any InfoProvider using the Business Explorer. BEx queries form the basis of the applications that are available to users in the portal or based on Microsoft Excel.

This graphic is explained in the accompanying text

SAP Data Warehousing: Step by Step BI

Purpose

To build a data warehouse, you have to execute certain process steps.

Process Flow

1. Data modeling

○ Creating InfoObjects: Characteristics

○ Creating InfoObjects: Key Figures

○ Creating DataStore objects

○ And/or creating InfoCubes

○ And/or creating InfoSets

○ And/or creating MultiProviders

○ Or creating VirtualProviders

2. Metadata and Document Management

○ Installing BI Content

○ Creating documents

3. Setting up the source system:

○ Creating SAP source systems

○ And/or creating external systems

○ And/or creating file systems

4. Defining extraction:

○ For SAP source systems: Maintaining DataSources

○ Or for a SOAP-based transfer of data: Creating XML DataSources

○ Or for transferring data with UD Connect: Creating a DataSource for UD Connect

○ Or for transferring data with DB Connect: Creating a DataSource for DB Connect

○ Or for files: Creating DataSources for File Source Systems

○ Or for transferring data from non-SAP systems

○ Creating InfoPackages

5. Defining transformations:

○ Creating transformations

6. Defining data distribution:

○ Using the data mart interface

○ Creating open hub destinations

7. Defining the data flow:

○ Creating data transfer processes

○ Creating process chains

8. Scheduling and monitoring:

○ Checking process chain runs

○ Monitor for extraction processes and data transfer processes

SAP Data Warehousing Workbench BI

Purpose

The Data Warehousing Workbench (DWB) is the central tool for performing tasks in the data warehousing process. It provides data modeling functions as well as functions for controlling, monitoring, and maintaining all the processes in SAP NetWeaver BI that are related to the procurement, retention, and processing of data.

Structure of the Data Warehousing Workbench

The following figure shows the structure of the Data Warehousing Workbench:

This graphic is explained in the accompanying text

Navigation Pane Showing Functional Areas of Data Warehousing Workbench

When you call the Data Warehousing Workbench, a navigation pane appears on the left-hand side of the screen. You open the individual functional areas of the Data Warehousing Workbench by choosing the pushbuttons in the navigation pane. The applications that are available in these areas are displayed in the navigation pane; in the modeling functional area, you see the possible views of the object trees.

Object Trees or Applications in the Individual Functional Areas

If object trees or applications are assigned to a functional area in the navigation pane, you call them by clicking them once in the right-hand side of the screen.

Application Toolbar

In all functional areas, the Data Warehousing Workbench toolbar contains a pushbutton for showing or hiding the navigation pane. It also contains pushbuttons that are relevant in the context of the individual functional areas and applications.

Menu Bar

The functions that you can call from the menu bar of the Data Warehousing Workbench depend on the functional areas.

Status Bar

The system displays information, warnings, and error messages in the status bar.

Features

Functional Areas of the Data Warehousing Workbench

Functional Area

Documentation

Modeling

Modeling

Administration

Administration guide: Enterprise Data Warehousing

Transport Connection

Transporting BI Objects and Copying BI Content

Documents

Documents

BI Content

Transporting BI Objects and Copying BI Content

Translation

Translating Text for BI Objects

BI Metadata Repository

Metadata Repository

SAP Data Warehousing Workbench - Modeling BI

Purpose

In the Modeling functional area of the Data Warehousing Workbench, you can display BI objects and the corresponding dataflow in a structured way in object trees. You can create new objects, call applications and functions for objects and define the dataflow for the objects.

Structure of Data Warehousing Workbench: Modeling

The following graphic illustrates the structure of the Data Warehousing Workbench: Modeling:

This graphic is explained in the accompanying text

The Modeling functional area consists of various screen areas. As well as the menu, title and status bars, the modeling screen contains the following four screen areas:

· Modeling pushbutton bar

· Navigation pane in the left-hand area of the screen

· View of selected object tree in right-hand area of screen and, with open applications, the middle area of the screen

· Open application in the right-hand area of the screen

Basic Navigation Options

From the navigation pane, you can click on an entry in the object tree list to open the view of this object tree.

In the object tree, you can expand the nodes to navigate in the objects. You can jump to the corresponding application, usually the object maintenance display, by double clicking on the object name in the tree. The application is called in the right-hand area of the screen.

The modeling pushbutton bar contains the following pushbuttons and provides the following navigation options:

This graphic is explained in the accompanying text

· This graphic is explained in the accompanying text Previous object: Jumps to the application that was called before the present application.

The navigation pane and tree display do not change, since these are displayed independently of the forwards/backwards navigation in the applications.

Similarly, the open application is still displayed if you call another tree.

· This graphic is explained in the accompanying text Next object: Jumps to the application that was called after the present application.

The navigation pane and tree display do not change, since these are displayed independently of the forwards/backwards navigation in the applications.

Similarly, the open application is still displayed if you call another tree.

· This graphic is explained in the accompanying text Show/hide navigator: Hides the navigation pane and tree display if both are currently displayed.

Shows the navigation pane if the tree display is shown.

Shows the tree display if the navigation pane is shown.

This function is only possible if an application has been called.

· This graphic is explained in the accompanying text Tree display full screen/half screen: Hides or shows the tree display.

This is only possible if an application has been called.

You can remove the navigation pane and object tree from the display by choosing This graphic is explained in the accompanying text (hide navigation pane or hide tree).

You can display information on additional navigation functions in the navigation pane and information on the structure and functions of the object tree in the legends (This graphic is explained in the accompanying text) for the object trees.

SAP Data Flow in the Data Warehouse BI

The data flow in the Data Warehouse describes which objects are needed at design time and which objects are needed at runtime to transfer data from a source to BI and cleanse, consolidate and integrate the data so that it can be used for analysis, reporting and possibly for planning. The individual requirements of your company processes are supported by numerous ways to design the data flow. You can use any data sources that transfer the data to BI or access the source data directly, apply simple or complex cleansing and consolidating methods, and define data repositories that correspond to the requirements of your layer architecture.

With SAP NetWeaver 7.0, the concepts and technologies for certain elements in the data flow were changed. The most important components of the new data flow are explained below, whereby mention is also made of the changes in comparison to the past data flow. To distinguish them from the new objects, the objects previously used are appended with 3.x.

Data Flow in SAP NetWeaver 7.0

The following graphic shows the data flow in the Data Warehouse:

This graphic is explained in the accompanying text

In BI, the metadata description of the source data is modeled with DataSources. A DataSource is a set of fields that are used to extract data of a business unit from a source system and transfer it to the entry layer of the BI system or provide it for direct access.

There is a new object concept available for DataSources in BI. In BI, the DataSource is edited or created independently of 3.x objects on a unified user interface. When the DataSource is activated, the system creates a PSA table in the Persistent Staging Area (PSA), the entry layer of BI. In this way the DataSource represents a persistent object within the data flow.

Before data can be processed in BI, it has to be loaded into the PSA using an InfoPackage. In the InfoPackage, you specify the selection parameters for transferring data into the PSA. In the new data flow, InfoPackages are only used to load data into the PSA.

Using the transformation, data is copied from a source format to a target format in BI. The transformation process thus allows you to consolidate, cleanse, and integrate data. In the data flow, the transformation replaces the update and transfer rules, including transfer structure maintenance. In the transformation, the fields of a DataSource are also assigned to the InfoObjects of the BI system.

InfoObjects are the smallest units of BI. You map the information in a structured form that is required for constructing InfoProviders.

InfoProviders are persistent data repositories that are used in the layer architecture of the Data Warehouse or in views on data. They can provide the data for analysis, reporting and planning.

Using an InfoSource, which is optional in the new data flow, you can connect multiple sequential transformations. You therefore only require an InfoSource for complex transformations (multistep procedures).

You use the data transfer process (DTP) to transfer the data within BI from one persistent object to another object, in accordance with certain transformations and filters. Possible sources for the data transfer include DataSources and InfoProviders; possible targets include InfoProviders and open hub destinations. To distribute data within BI and in downstream systems, the DTP replaces the InfoPackage, the Data Mart Interface (export DataSources) and the InfoSpoke.

You can also distribute data to other systems using an open hub destination.

In BI, process chains are used to schedule the processes associated with the data flow, including InfoPackages and data transfer processes.

Uses and Advantages of the Data Flow with SAP NetWeaver 7.0

Use of the new DataSource permits real-time data acquisition as well as direct access to source systems of type File and DB Connect.

The data transfer process (DTP) makes the transfer processes in the data warehousing layers more transparent. The performance of the transfer processes increases when you optimize parallelization. With the DTP, delta processes can be separated for different targets and filtering options can be used for the persistent objects on different levels. Error handling can also be defined for DataStore objects with the DTP. The ability to sort out incorrect records in an error stack and to write the data to a buffer after the processing steps of the DTP simplifies error handling. When you use a DTP, you can also directly access each DataSource in the SAP source system that supports the corresponding mode in the metadata (also master data and text DataSources).

The use of transformations simplifies the maintenance of rules for cleansing and consolidating data. Instead of two rules (transfer rules and update rules), as in the past, only the transformation rules are still needed. You edit the transformation rule on an intuitive graphic user interface. InfoSources are no longer mandatory; they are optional and are only required for certain functions. Transformations also provide additional functions such as quantity conversion and the option to create an end routine or expert routine.

Constraints

Hierarchy DataSources, DataSources with the transfer method IDoc as well as DataSources for BAPI source systems cannot be created in the new data flow. They also cannot be migrated. However, DataSources 3.x can be displayed with the interfaces of the new DataSource concept and be used in the new data flow to a limited extent. More information: Using Emulated 3.x DataSources.

Migration

More information about how to migrate an existing data flow with 3.x objects can be found under Migrating Existing Data Flows.

Archives