DB Connect with Delta Mechanism

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

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

Step by Step Procedure for DSO Creation

Using Radio Buttons in Web Template

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

Generate Export Data Source

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

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

Database Statistics During ODS Activation

BW Reconciliation. Applies to: Summary. Author Bio

Cut Over Activities Specific for LIS* Data Sources

Process Chain Log Deletion

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

Step by Step Method for File Archival in BW

Linking Documents with Web Templates

Data Flow During Different Update Mode in LO Cockpit

Replacement Path: Explained with an Illustrated Example

Standalone BW System Refresh

Easy Lookup in Process Integration 7.1

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

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

Server Connectivity and Data Load from Non SAP System to BW

SAP BW Copy Existing DTP for Data Targets

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

How to Broadcast BEx Workbooks using BW Pre-calculation Server and through Process Chains

Load Info Cube in SCM 5.0 (BI 7.0)

Open Hub Destination Basics

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

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

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

Information Broadcasting Part 3 Scheduling the First Report

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

Developing Crystal Reports on SAP BW

Data Mining: Scoring (Linear Regression)

POWL: Infoset Generation with Web Dynpro ABAP

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

Step-By-Step guide to Virtual InfoCube Implementation

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

Open Hub Destination - Make use of Navigational Attributes

MDM Syndicator: Custom Items Tab

Validity Table in SAP BW/BI

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

Data Extraction & DS Enhancement in SAP BI Step by Step

How to Create and Schedule Publications from Crystal Reports

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

Graphical Mapping Technique in SAP NetWeaver Process Integration

Xcelsius Tricks Part 5 Create a Loading Bar in SAP Crystal Dashboard and Presentation Design (Xcelsius 2008)

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

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

Steps to Activate ALE Delta for Custom Master Datasource Created on ZTable

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

Creation of Key Figures with Higher Decimal Place Precision

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

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

Performance Management in Data Loading: an Overview

List of Values in BusinessObjects Web Intelligence Prompts

Reporting Duplicate Entries

Triggering the Process Chains at Particular Date using Events

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

Recreating BIA Indexes to Address the Growth of Fact Index Table

Displaying SAP Transaction as Internet Application in Portal

Analysis Process Designer (APD) Step by Step Business Intelligence

Limitation in BAPI Scheduling Agreement (SA) Create or Change

Data Source Replication and Activation of Transfer Structures

All about Compression

Table Row Popup in Web Dynpro Component

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

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

Using Nested Exception Aggregation in BEx Reports- Scenario

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

Data Mining: Decision Trees

Material Listing and Exclusion

Reading Enhanced DataSource fields for the Remote Cube

ABAP Code - Recipients (Specific Format) SAP BW Process Chain

How to Configure User Status in mysap SRM

SDN Community Contribution

Material Master Archiving in Simple Method

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

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

Step By Step Procedure to Implement Soap to JDBC Scenario

Freely Programmed Help- Web Dynpro

Customized Transaction to Trigger Process Chain from Failed Step

Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose

SAP BI Analysis Authorization (Customer Exit Variables)

Web Dynpro: Coloring Table Conditionally

Web Dynpro ABAP: Dynamic Table

Transfer Material Attributes (Material Type) from R/3 to SAP GRC Global Trade Services (GTS)

Download SAP Query Output to Local/ Network Folders in Background

Custom Process types Remote Trigger and End Time

How to Work with F4 Input Help Effectively in BEX

Internationalization in WebDynpro ABAP Applications

Step by Step Guide for PI Server Start and Stop Procedure

Financial Statement Version into PDF Reader

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

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

Procedure to Trigger Events in Remote System Using an ABAP Program

SMT (Service Mapping Tool)

Role and Scope of ABAP in SAP BI

BI Inventory Management- Data Loading

Methods of Selecting BOM Variant Parts in Variant Configuration

Transcription:

Applies to: SAP BI/BW. For more information, visit the EDW homepage Summary This Article demonstrates the steps for handling Delta mechanism with Relational Database Management System (RDBMS) like SQL, ORACLE, etc. Author: Obaidullah Shaikh Company: AG Technologies Created on: 02 September 2011 Author Bio Obaidullah shaikh is a SAP BI Consultant with AG Technologies. He has good skill in technical areas (ABAP) and he has experience of multiple custome reports development and has experience of Migration/upgradation/Audit projects as wel. 2011 SAP AG 1

Table of Contents Delta Mechanism in DB Connect... 3 SQL Table... 3 SQL Delta Table... 4 Trigger... 5 Database Connection with SAP BI... 6 Data source... 6 Info Package... 6 Data Transfer Process (DTP)... 7 Records in BI... 7 Update Records in SQL... 8 Extract Delta to BW... 8 Clear Delta from SQL... 10 Related Content... 11 Disclaimer and Liability Notice... 12 2011 SAP AG 2

Delta Mechanism in DB Connect SQL Table Create Table Named (MAT_DESC) as a Base Table Inserted some Records in that. 2011 SAP AG 3

SQL Delta Table Create another Table (Like Delta Queue in SAP R/3) that will be filled with only delta Records, This table has same columns except the DDate, which will be used to provide Delta functionality Initially, MAT_DESC_DELTA will be blank 2011 SAP AG 4

Trigger Create Trigger on MAT_DESC table (whenever any new record will be inserted, this trigger will execute and will fill the Delta table (MAT_DESC_DELTA)) Example: one record is inserted in MAT_DESC That Record is updated in MAT_DESC_DELTA by Trigger Similarly create another trigger for Update/Delete Command 2011 SAP AG 5

Database Connection with SAP BI Refer the following Link http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/503c4394-cfb6-2e10-349e-85052e8e957d Data source In BI, Create Data source that will be based on base table (MAT_DESC) Info Package Create Info Package and load it to PSA 2011 SAP AG 6

Data Transfer Process (DTP) Create Transformation / DTP and Trigger it Records in BI Finally Records in Targets 2011 SAP AG 7

Update Records in SQL Enter some New records in MAT_DESC It will be reflected in MAT_DESC_DELTA Extract Delta to BW Go to BW, Change the table of Data source, ( MAT_DESC changed with MAT_DESC_DELTA) 2011 SAP AG 8

Create other Info Package of that Data source Will extract only Three new records Then move it to target via DTP 2011 SAP AG 9

Clear Delta from SQL Create another trigger that will clear the previous day records from MAT_DESC_DELTA at every Log on that already has been fetched in BI Here we can create user specific trigger The Remaining part of Duplication of records can be handled easily in BI, either by ABAP code or passing records through DSO in overwrite mode. 2011 SAP AG 10

Related Content http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/503c4394-cfb6-2e10-349e-85052e8e957d http://help.sap.com/saphelp_nw04/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/content.htm http://www.saptechnical.com/tutorials/bi/dbconnect/index.htm For more information, visit the EDW homepage 2011 SAP AG 11

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. 2011 SAP AG 12