Data Extraction & DS Enhancement in SAP BI Step by Step

Similar documents
Role and Scope of ABAP in SAP BI

Reading Enhanced DataSource fields for the Remote Cube

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

Deploying BusinessObjects Explorer on Top of a SAP BI Query

Step by Step Guide to Enhance a Data Source

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

Using Radio Buttons in Web Template

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

Material Master Archiving in Simple Method

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

Standalone BW System Refresh

Loading the Data for Time Dependent Hierarchy in SAP BI

DB Connect with Delta Mechanism

Recreating BIA Indexes to Address the Growth of Fact Index Table

Linking Documents with Web Templates

Generate Export Data Source

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

Material Listing and Exclusion

Step-By-Step guide to Virtual InfoCube Implementation

Step by Step Procedure for DSO Creation

Easy Lookup in Process Integration 7.1

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

Reporting Duplicate Entries

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

Graphical Mapping Technique in SAP NetWeaver Process Integration

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

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

SAP BI Analysis Authorization (Customer Exit Variables)

Triggering the Process Chains at Particular Date using Events

Step by Step Method for File Archival in BW

Data Source Replication and Activation of Transfer Structures

Replacement Path: Explained with an Illustrated Example

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

ecatt Part 6 System Data Container

POWL: Infoset Generation with Web Dynpro ABAP

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

Web Dynpro: Coloring Table Conditionally

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

MDM Syndicator: Custom Items Tab

Download SAP Query Output to Local/ Network Folders in Background

SMT (Service Mapping Tool)

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

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

Cut Over Activities Specific for LIS* Data Sources

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

SDN Community Contribution

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

Routines in SAP BI 7.0 Transformations

Solution to the Challenges in Pivoting

Validity Table in SAP BW/BI

Open Hub Destination - Make use of Navigational Attributes

Using Rule Group in SAP-BI. Part - 1

Displaying SAP Transaction as Internet Application in Portal

How to Work with F4 Input Help Effectively in BEX

Limitation in BAPI Scheduling Agreement (SA) Create or Change

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

Universal Worklist - Delta Pull Configuration

Database Statistics During ODS Activation

Process Chain Log Deletion

Web Dynpro ABAP: Dynamic Table

Data Flow During Different Update Mode in LO Cockpit

How to Configure User Status in mysap SRM

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

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

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

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

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

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

Creation of Key Figures with Higher Decimal Place Precision

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

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

Analysis Process Designer (APD) Step by Step Business Intelligence

Planning Functions and Characteristic Relationship in Integrated Planning

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

Purpose of Goods Receipt Message indicator in Purchase Orders

Using Customer Exit Variables in BW/BI Reports: Part - 14

List of Values in BusinessObjects Web Intelligence Prompts

Data Mining: Scoring (Linear Regression)

Load Info Cube in SCM 5.0 (BI 7.0)

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

ABAP HR: Standard Info Type Enhancement

Table Properties and Table Popin

SAP BW Copy Existing DTP for Data Targets

Server Connectivity and Data Load from Non SAP System to BW

Totals in Adobe forms

Information Broadcasting Part 3 Scheduling the First Report

Table Row Popup in Web Dynpro Component

Using Customer Exit Variables in BW/BI Reports Part - 1

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

Financial Statement Version into PDF Reader

Web Dynpro ABAP: Changing ALV Contents and Saving in Database

BAPI Execution in offline Adobe Form

How to Create and Schedule Publications from Crystal Reports

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

Step by Step Guide for PI Server Start and Stop Procedure

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

Developing Crystal Reports on SAP BW

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

Methods of Selecting BOM Variant Parts in Variant Configuration

Performance Management in Data Loading: an Overview

Transcription:

Data Extraction & DS Enhancement in SAP BI Step by Step Applies to: SAP BI 7.0, SAP ABAP, For more information, visit the Business Intelligence homepage. Summary The objective of the article is to outline & explain the steps to enhance or create a data source in context to SAP BI in its source system ( SAP R/3, ECC, etc ). Authors: Seema John and Tapan Kumar Jain Company: Accenture Created on: 11 th March 2010 Author Bio Seema John is working as SAP BI Consultant in Accenture Services Private Ltd and having extensive experience in implementation of BI projects specializing in HR areas. Tapan Kumar Jain is working as SAP BI Consultant in Accenture Services Private Ltd and having extensive experience in implementation of BI projects across various SCM areas. 2009 SAP AG 1

Table of Contents Pre-Requisites... 3 Enhancing a Datasource in ECC/SRM using Tcode RSA6... 3 Related Content... 10 Disclaimer and Liability Notice... 11 2009 SAP AG 2

Pre-Requisites - Basic understanding of SAP ABAP programming language - Basic understanding of dataflow in SAP BI 7.0. As part of this article, we will have a detailed look at the enhancement process of a existing datasource. Enhancing a Datasource in ECC/SRM using Tcode RSA6 The first step involves logging onto Tcode RSA6 and finding the relevant datasource which will then be enhanced as per the additional requirements. Search for the required Datasource in the datasource list:` Click on enhance extraction structure: 2009 SAP AG 3

An append structure needs to be created which will contain all the enhanced fields alongwith their metadata definition. Give a name to the append structure starting with Z : 2009 SAP AG 4

Define the structure with the fields: Activate the append structure and save the datasource: 2009 SAP AG 5

Click on change datasource and unhide the new fields if required: Post activation, one needs to write the exit code in the source system to populate the source fields. The same is done through Tcode CMOD wherein you can then refer to the associated project and log onto enhancement RSAP0001. The following four exits exists and will be enhanced depending on the requirements: EXIT_SAPLRSAP_001 Transaction data EXIT_SAPLRSAP_002 Master Data Attributes EXIT_SAPLRSAP_003 Master Data Text EXIT_SAPLRSAP_004 Master Data Hierarchy Refer to screenshots below: Tcode: CMOD: 2009 SAP AG 6

Enhancement for writing code for enhanced fields of datasource: Different User Exits: 2009 SAP AG 7

Sample Code follows: The include as shown below will contain all the relevant code controls which define the field population. This is a generic include and the code piece needs to be controlled through datasource name as shown below in the sample code (screenshot). The existing fields alongwith their values are stored in the internal table C_T_Data which is to be further modified to also include and populate values for the newly enhanced and added fields. Further modularization can be done by creating datasource specific includes. The technique also helps in better readability of the code. 2009 SAP AG 8

Once the changes are done & new fields are fetched, internal table C_T_Data needs to be modified accordingly. The modifications and the new fields population is then automatically transferred to the fields of the datasource. The same can then be validated by executing the datasource through Tcode RSA3. 2009 SAP AG 9

Related Content Help.sap.com Book - > ABAP Development for SAP BW by Dirk Herzog For more information, visit the Business Intelligence homepage. 2009 SAP AG 10

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. 2009 SAP AG 11