Open Hub Destination Basics

Similar documents
Open Hub Destination - Make use of Navigational Attributes

DB Connect with Delta Mechanism

Explore to the Update Tab of Data Transfer Process in SAP BI 7.0

Generate Export Data Source

Step by Step Procedure for DSO Creation

Step By Step: the Process of Selective Deletion from a DSO

Step-By-Step guide to Virtual InfoCube Implementation

Using Radio Buttons in Web Template

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

Extraction of Hierarchy into Flat File from R/3 and Loading in BW System

How to use Boolean Operations in the Formula as Subsidiary for IF Condition

Using Query Extract to Export Data from Business warehouse, With Pros and Cons Analyzed

Easy Lookup in Process Integration 7.1

Recreating BIA Indexes to Address the Growth of Fact Index Table

Real Time Data Acquisition (RDA) Overview and Step-by-Step Guide (SAPI and Web Services)

How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP

Analysis Process Designer (APD) Step by Step Business Intelligence

Steps for Implementation of Standard Data Store Object (DSO) for Purchase Cube in SAP BI 7.0

Step by Step Method for File Archival in BW

MDM Syndicator: Custom Items Tab

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3

How to Display Result Row in One Line While Reporting On Multiproviderer

Validity Table in SAP BW/BI

SAP QM-IDI Interface. SDN Contribution. Applies to: Summary. Author Bio. SAP QM Interfaces

SDN Community Contribution

POWL: Infoset Generation with Web Dynpro ABAP

How to Create and Schedule Publications from Crystal Reports

Replacement Path: Explained with an Illustrated Example

Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure

List of Values in BusinessObjects Web Intelligence Prompts

Developing Crystal Reports on SAP BW

Linking Documents with Web Templates

How to Create View on Different Tables and Load Data through Generic Datasource based on that View

Performance Tuning in SAP BI 7.0

Step by Step Guide on How to Use Cell Definition in BEx Query

Setting up Connection between BW and R/3 for Data Load

ecatt Part 6 System Data Container

Database Statistics During ODS Activation

Load Info Cube in SCM 5.0 (BI 7.0)

Printer Landscape Made Easy!!

Changing the Source System Assignments in SAP BW Objects without Affecting the Data Modeling

SDN Community Contribution

DB Partitioning & Compression

Purpose of Goods Receipt Message indicator in Purchase Orders

Graphical Mapping Technique in SAP NetWeaver Process Integration

SAP Net Weaver 400s BI 7.0For more information, visit the Business Intelligence homepage.

SAP BW Copy Existing DTP for Data Targets

Process Chain Log Deletion

Server Connectivity and Data Load from Non SAP System to BW

Open Text DocuLink Configuration - To Access Documents which are Archived using SAP

Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal

Implying Security on Business Object XI 3.1 Universe having SAP BW as Source

Data Flow During Different Update Mode in LO Cockpit

Loading the Data for Time Dependent Hierarchy in SAP BI

Step by Step Guide How to Use BI Queries in Visual Composer

Step By Step Procedure to Implement Soap to JDBC Scenario

This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts.

Step by Step Guide for PI Server Start and Stop Procedure

A Step-by-Step Guide on IDoc-ALE between Two SAP Servers

BW Reconciliation. Applies to: Summary. Author Bio

How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3

How to Default Variant Created for Report Developed In Report Painter/Writer

Material Listing and Exclusion

Standalone BW System Refresh

Displaying SAP Transaction as Internet Application in Portal

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

How to Configure User Status in mysap SRM

SAP BI BO Unit/Currency Logic for Unknown Units Case Study

Material Master Archiving in Simple Method

MDM Syndication and Importing Configurations and Automation

Cut Over Activities Specific for LIS* Data Sources

Add /Remove Links on ESS Home Page in Business Package 1.5

Methods of Selecting BOM Variant Parts in Variant Configuration

Managing Transports in SAP BW 3.5 and BI 7.0

Creating, Configuring and Testing a Web Service Based on a Function Module

Limitation in BAPI Scheduling Agreement (SA) Create or Change

Config Tool Activities

How to Work with F4 Input Help Effectively in BEX

Creation of Key Figures with Higher Decimal Place Precision

Table Row Popup in Web Dynpro Component

Using ABAP-OO in BI- Transformations through Custom Class

Performance Management in Data Loading: an Overview

Creation of Sets in SAP-ABAP, How to Read them INI SAP-ABAP Reports

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

Internationalization in WebDynpro ABAP Applications

Errors while Sending Packages from OLTP to BI (One of Error at the Time of Data Loads through Process Chains)

SAP BI Analysis Authorization (Customer Exit Variables)

Exception Handling in Web Services exposed from an R/3 System

E-Sourcing System Copy [System refresh from Production to existing Development]

Information Broadcasting Part 3 Scheduling the First Report

Data Mining: Decision Trees

Using Rule Group in SAP-BI. Part - 1

Using Nested Exception Aggregation in BEx Reports- Scenario

Financial Statement Version into PDF Reader

Solution to the Challenges in Pivoting

How to Check BW system Before Go-Live

ABAP HR: Standard Info Type Enhancement

Information Broadcasting-Part 2 - System Settings

Extraction to Non-SAP Systems

Download SAP Query Output to Local/ Network Folders in Background

Transcription:

Applies to: SAP BI Consultants and for those who are dealing with OHD requirements of Customers. For more information, visit the Business Objects homepage. Summary The open hub destination is the object that allows you to distribute data from a BI system to non-sap data marts, analytical applications, and other applications. It ensures controlled distribution across multiple systems. The open hub destination defines the target to which the data is transferred. It is the central object and contains all the important information about a target system for the data to be extracted. Author: Naoman Daulatabad Company: TCS, Kolkata Created on: 21st September 2010 Author Bio Naoman Daulatabad is Senior SAP BI consultant with four years of IT experience and mostly involved in implementing Business Intelligent system in Utility Industries for European Clients. 2010 SAP AG 1

Table of Contents Summary... 1 Definition:... 3 Destination type:... 3 Open Hub Data Source:... 4 Transformations:... 4 Data Transfer Process:... 4 Step By Step Procedure:... 5 Third-Party Tools as Destinations:... 14 Related Content:... 15 Disclaimer and Liability Notice... 16 2010 SAP AG 2

Definition: The open hub destination is the object that allows you to distribute data from a BI system to non-sap data marts, analytical applications, and other applications. It ensures controlled distribution across multiple systems. The open hub destination defines the target to which the data is transferred. It is the central object and contains all the important information about a target system for the data to be extracted. Destination type: The destination type determines the target in which the extracted data is stored. You can choose between the following two targets: DB tables During the extraction, the data can be stored in a DB table (on the database that supports the SAP BI system). Many non-sap systems and applications use standard database management systems (such as DB2, Oracle and SQL Server). These platforms provide tools (that are also used by SAP in the DB Connect methodology) that you can use for direct access to the third-party DB tables generated by the open hub service. Likewise, you can use APIs from a third-party tool to extract data from the database to a non-sap system. CSV files When extracting data to flat files, the only format that is supported is.csv. You can store the csv files on the SAP BI application server or in a local directory. Note: If you save the file locally, its size 2010 SAP AG 3

must not exceed 0.5GB. You should therefore save the file to the application server when transferring mass data. Third-Party Tool You can extract data to non-sap systems using the open hub service. Different APIs enable you to connect a third-party tool to the BI system to distribute data to other non-sap systems. Name of the DB Table or CSV file, this aspect will be dealt with in more detail in the following section. Open Hub Data Source: Open hub data sources are the BI objects from which data can be extracted: Info Cubes Data Store objects Characteristic Info Objects (attributes/texts) Transformations: You can adapt or transform the data of the open hub data source in the data flow using the transformation components before you transfer it to the open hub destination. The transformation connects the fields of the data source with the fields of the destination. Data Transfer Process: Using the data transfer process, the data from an open hub data source is written to the target table or target file. Within such a process, the following parameters are available to you (among others). Extraction mode Use extraction mode to determine whether to extract data in full or delta mode. The delta is determined using the request ID for the relevant open hub data source. Delta extraction is possible only for open hub data sources of the InfoCube, DataStore or object type. Packaging You use this parameter to determine the number of rows for each data package, in other words, the size of the package for the data to be extracted. Selection options You can set filters (individual values, intervals and so on) to restrict the amount of data to be extracted. This means that data is requested in accordance with the selection conditions from the open hub data source. 2010 SAP AG 4

The open hub service is implemented in three steps. The first step is to define the open hub destination. The second step is to determine the data flow from the source to the destination. This step mainly consists of defining the transformation. To execute the extraction, the third step is to schedule a data transfer process. It is also possible to schedule the extraction process using a process chain. These three steps are dealt with in the following sections. Following sections describes step by step procedure for open hub services for all three destination type discussed above. Step By Step Procedure: CSV File : Logon to SAP BI server and go to DWW (Data warehousing Workbench). Go to Modeling Open Hub Destination as shown in the following figure. 2010 SAP AG 5

Go to the respective Info Area and select Create Open Hub Destination from the right context menu. Give technical name and the description for the Open Hub Destination. Select DataStore Object as ObjectType and give the DSO object name. 2010 SAP AG 6

In Destination tab select File as Destination Type. We can select Application Server or Local Directory as a destination. Go to Destination Tab and give the destination path in Directory and ; as Separator. 2010 SAP AG 7

Go to Field Def. tab where all the available fileds of selected DSO is listed. We can select the required fields from the list by selecting respective check box. Check and activate the Open Hub Destination. For the Local Directory can not be used in process chains. 2010 SAP AG 8

Now the Open Hub Destination is created under respective InfoArea. Go to recently created Open Hub Destination and select Create Transformation from right context menu. Select Datastore Object as Object Type and type the DSO name. 2010 SAP AG 9

Required transformation can be done in the following screen. Check and activate the transformation. Go to Open Hub Destination and select Create Data Transfer Process from right context menu. 2010 SAP AG 10

Select Extraction Mode as Full. Data can be restricted using Filter. Check and activate the DTP and Execute. 2010 SAP AG 11

Monitor the data. Two.CSV files are created in the selected path. One for actual data (Open Hub Name) and another for header and meta data (S_ <Open Hub Name>) Observe the data in the following screens. Meta Data and Header File. 2010 SAP AG 12

Actual Data DataBase Table Features Generating Database Tables When you activate the open hub destination, the system generates a database table. The generated database table has the prefix /BIC/OHxxx (xxx is the technical name of the destination). Deleting Data from the Table With an extraction to a database table, you can either retain the history of the data or just store the new data in the table. Choose Delete Data from Table when defining your destination if you want to overwrite the fields. In this case, the table is completely deleted and regenerated before each extraction takes place. We recommend that you use this mode if you do not want to store the history of the data in the table. If you do not select this option, the system only generates the table once before the first extraction. We recommend that you use this mode if you want to retain the history of the extracted data. Note that if changes are made to the properties of the database table (for example, fields are added), the table is always deleted and regenerated. Table Key Fields You can choose whether you want to use a technical key or a semantic key. Technical key 2010 SAP AG 13

... Open Hub Destination Basics If you set the Technical Key indicator, a unique key is added that consists of the technical fields OHREQUID (open hub request SID), DATAPAKID (data package ID), and RECORD (sequential number of a data record to be added to the table within a data package). These fields display the individual key fields for the table. Using a technical key with a target table is particularly useful if you want to extract into a table that is not deleted before extraction. If an extracted record has the same key as a record that already exists, the duplicate records cause a short dump. Semantic key If you set the Semantic Key indicator, the system selects all the fields in the field list as semantic keys, if they are suitable. You can change this selection in the field list. However, note that duplicate records may result from using a semantic key Third-Party Tools as Destinations: Extraction to the third-party tool can be executed as follows: 1. You define an open hub destination with Third-Party Tool as the destination type. 2. You create an RFC destination for your third-party tool and enter it in the definition of the open hub destination. 3. You use API RSB_API_OHS_DEST_SETPARAMS to define the parameters for the third-party tool that are required for the extraction. 4. You either start extraction immediately or include it in a process chain. You can also start this process chain from the third-party tool using process chain API RSPC_API_CHAIN_START. The extraction process then writes the data to a database table in the BI system. 5. When the extraction process is finished, the system sends a notification to the third-party tool using API RSB_API_OHS_3RDPARTY_NOTIFY. 6. The extracted data is read by API RSB_API_OHS_DEST_READ_DATA. The status of the extraction is transferred to the monitor by API RSB_API_OHS_REQUEST_SETSTATUS 2010 SAP AG 14

Related Content: http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/5092a542-350f-2d10-50bd-fc8cb3902e2e http://wiki.sdn.sap.com/wiki/display/bobj/configuring+sap+bw+open+hub+destination http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/5092a542-350f-2d10-50bdfc8cb3902e2e?quicklink=index&overridelayout=true For more information, visit the Business Objects homepage. 2010 SAP AG 15

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. 2010 SAP AG 16