Showing posts with label SAP BI Architecture. Show all posts
Showing posts with label SAP BI Architecture. Show all posts

Tuesday, 28 April 2015

InfoProviders

Definition

Generic term for BI objects into which data is loaded or that display views of data. You analyze this data in BEx queries.

Use

InfoProviders are different metaobjects in the data basis that can be seen within query definition as uniform data providers. Their data can be analyzed in a uniform way. The type of data staging and the degree of detail or "proximity" to the source system in the data flow diagram differs from InfoProvider to InfoProvider. However, in the BEx Query Designer, they are seen as uniform objects.
The following graphic shows how InfoProviders are integrated in the dataflow:
This graphic is explained in the accompanying text

Structure

The term InfoProvider encompasses objects that physically contain data:




Staging is used to load data into these InfoProviders.
InfoProviders can also be objects that do not physically store data but which display logical views of data, such as:



 

The following figure gives an overview of the BI objects that can be used in analysis and reporting. They are divided into InfoProviders that contain data and InfoProviders that only display logical views and do not contain any data. In BEx, the system accesses an InfoProvider; it is not important how the data is modeled.
This graphic is explained in the accompanying text



InfoCubes :

InfoCubes are data targets. They describe (from a reporting point of view) a self-contained business-orientated dataset. They can also be seen as InfoProviders if reports and analyses in BW are executed using them.
Only BasicCubes physically contain data in the database. Virtual InfoCubes simply display logical views of a dataset. The type of InfoCube is not important as far as reporting is concerned, as the user cannot distinguish between the two.
Transactional InfoCubes are used only in conjunction with SEM. The data from this kind of InfoCube can be accessed on a read/write basis, allowing users to perform transactions to update the data within the infocube as they wish. Standard InfoCubes differ in that they only allow the user to read-only access.
A RemoteCube is an InfoCube whose transaction data is managed externally outside SAP BW. Only the structure of the RemoteCube is defined in BW. The data is read for reporting using a BAPI from an external system.
An SAP RemoteCube is a RemoteCube that allows the definition of queries with direct access to transaction data in other SAP systems (R/3 for example). The Master data and hierarchies associated with these SAP RemoteCubes are replicated between the other SAP system and BW enabling faster execution of the users queries
A virtual InfoCube with services is an InfoCube that does not have its own physical data storage in BW. A user-defined function module is used as the DataSource. This type of InfoProvider is used primarily in the SAP SEM application.

InfoSets :

An Infoset is a specific kind of InfoProvider that does not contain data itself, but describes two or more data targets that are joined using rules. The data targets can be of type ODS Objects and/or InfoObjects (characteristics with master data).
If one of the InfoObjects contained in the join is a time-dependent characteristic, the join itself becomes time-dependent or a temporal join.
  • You can include every ODS object and every InfoObject of the type Characteristic with Master Data in a join.
  • A join can contain either the same type of object or different types of objects.
  • You can include individual objects in a join, as many times as you want.
  • Objects in the join are linked using join conditions (equal join conditions).
  • A join condition determines the combination of individual object records included in the result set.
ODS (Operational Data Store) Objects :

An ODS Object stores consolidated datasets and cleansed transactional data from one or more InfoSources on a document (atomic) level. You can analyse this dataset in a BEx query or an InfoSet query.
An ODS object contains key fields (for example, Employee number) and data fields that can also contain character fields (for example, Absence Type, Days Absence) as key figures. An ODS object can act as a Data Mart and be used as an Infosource to update InfoCubes and/or other ODS Objects in the same system or across different systems.
Data is stored in an ODS object in transparent tables (flat database tables) which differs from Infocubes that use a multi-dimensional model. Fact tables and dimension tables are not created.
As with Infocubes, ODS support cumulative updates of key figures, but with ODS objects it is also possible to overwrite data. This is particularly important with document-related structures, since changes made to documents in the source system do not apply solely to numeric fields such as Days Absence, but also to non-numeric fields such as Sickness Reason.

MultiCubes / MultiProviders :

A MultiProvider is a type of InfoProvider that combines data from a number of InfoProviders and makes them available as a whole to reporting. The MultiProvider does not itself contain any data. Its data comes exclusively from the InfoProviders on which it is based. These are combined using a union operation.

The following objects can be combined to form a MultiProvider:
  • InfoCubes
  • ODS Objects
  • InfoObjects
  • InfoSets

Characteristics:
A characteristic can be an InfoProvider if it has master data and is assigned to an InfoArea. By default, Characteristics are not configured as InfoProviders. They must be explicitly defined as an InfoProvider in the InfoObject maintenance.


Monday, 27 April 2015

SAP BI Architecture

Conceptual Layers of Data Warehousing with BI

Persistent Staging Area
The data extracted from the Source Systems first enters into the Persistent Staging Area. The data at this layer is the raw data which is in unchanged form. The data is consolidated and cleansed only in the next layers.
Staging area is a temporary table that holds the data and connects to work area or fact tables.  In the absence of staging area the data load will have to go from the OLTP system to the OLAP system directly which hamper the performance of OLTP system.    
 
Data Warehouse Layer (DWH Layer)
Data from the Persistent Staging Area is loaded into the DataWareHouse Layer. It has Corporate information repository. Data in this layer is stored for a longer period.i.e,Entire History data (for example, last 5 years data) is stored here in this layer.No aggregation of reporting-relevant data;the granularity of the data stored in this layer is at line-item (detailed) level. 

Operational Data Store Layer

Data is loaded to an Operational Data Store Layer very frequently on a continuous basis from the source systems. Hence the data in this layer contains all the changes to the data that was done throughout the day. Data from Operational data store later can be loaded to the Datawarehouse layer at particular timings (say end of the day) to update the date in Datawarehouse Layer. This Operational Data Store Layer can also be used in case of any emergencies when the data in the datawarehouse and datamart layers are lost. In such situations data can be loaded from the Operational Data Store layer to the Data Warehouse Layer and Data Mart Layer. ODS is not based on star schema model but they are in a flat files format.
Architected Data Mart Layer

Architected Data Mart Layer also known as Infocube. It is designed to store summarized and aggregated Data for long period of time.  Data from the Data Warehouse Layer is loaded into the Architected Data Mart Layer. It is used in Analysis and reporting. The data is at a high level relevant for creating reports displaying these data. Data manipulation with business logic is done at this layer. It consists of a central fact table(Key Figures) surrounded by several dimension tables, it is used to support BI queries

Key Components of SAP  BI System:

Business Intelligence is a core component of SAP NetWeaver. The figure below shows the key components of a BI system.
  • Data warehousing – This is mainly to Extract, Transform and Load data from Source systems.
  • BI platform – The BI platform layer contains BI services to support complex analysis tasks and functions. It contains the Analytic Engine, which processes the data requested through BEx analysis navigations. Its interface allows entry and manipulation of data as part of BI Integrated Planning. It also has special analysis tools such as the Analysis Process Designer (APD) and the Data Mining which provide analysts at your company with the tools to merge, mine, pre-process, store, and analyse data.
  • BI Suite – These tools helps in creating reports for analysis purpose.It contains the Business Explorer (BEx) which provides flexible reporting and analysis tools.
            The following areas in the Business Explorer can be used for Data Analyses:
  1. BEx Analyser (Microsoft Excel-based analysis tool with pivot-table-like features)
  2. BEx Web Analyser (Web-based analysis tool with pivot-table-like features)
  3. BEx Web Application Designer (customer-defined and SAP BI Content provided)
  4. BEx Report Designer (highly formatted Web output)

SAP BI Architecture:

BI has three tier architecture: 

Database Server: Where data is physically stored.( ODS, PSA, Infocube and metadata repository).
Application Server: The application server is based on the OLAP processor. It is used to retrieve data stored in the database server.
Presentation Server: Manages reporting and data access.
  1. Data is extracted from the Source Systems.
  2. Data is staged at the Persistent Storage Area(PSA). This holds Source like data.
  3. Data is cleansed, loaded and stored in Data Store Object.
  4. Data is viewed at multiple dimensions in the Infocube.
  5. Data is available by the OLAP processor to the Business Explorer to display data as per Analysis requirements of the Business.
  6. Data can be made available to SAP/Non-SAP, Data Marts by the Open Hub Service.( InfoSpoke).