Data Source Enhancement Using User Exit



Similar documents
SAP Master Data Governance- Hiding fields in the change request User Interface

Integrating Easy Document Management System in SAP DMS

Business One in Action - How can we post bank fees and charges while posting Incoming or Outgoing Payment transactions?

Maintaining Different Addresses and Ids for a Business Partner via CRM Web UI

TM111. ERP Integration for Order Management (Shipper Specific) COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Alert Notification in SAP Supply Network Collaboration. SNC Extension Guide

Using User Exit for Variables in BEx Reporting

Data Archiving in CRM: a Brief Overview

Table of Contents. How to Find Database Index usage per ABAP Report and Creating an Index

Variable Exit in Sap BI How to Start

NetWeaver Business Client (NWBC) for Incentives and Commissions Management (ICM)

Enterprise Software - Applications, Technologies and Programming

Understanding HR Schema and PCR with an Example

SAPFIN. Overview of SAP ERP Financials COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Business Requirements... 3 Analytics... 3 Typical Use Cases... 8 Related Content... 9 Copyright... 10

Consume an External Web Service in a Nutshell with good old ABAP

HR400 SAP ERP HCM Payroll Configuration

Sending Additional Files from SAP Netweaver PI to third Party System

UI Framework Logo exchange without skin copy. SAP Enhancement Package 1 for SAP CRM 7.0

Budget Control by Cost Center

Process Archiving using NetWeaver Business Process Management

R/3 and J2EE Setup for Digital Signature on Form 16 in HR Systems

Third Party Digital Asset Management Integration

Log Analysis Tool for SAP NetWeaver AS Java

AC200. Basics of Customizing for Financial Accounting: General Ledger, Accounts Receivable, Accounts Payable COURSE OUTLINE

How to Create a Support Message in SAP Service Marketplace

Integration of SAP Netweaver User Management with LDAP

How to Add an Attribute to a Case, Record and a Document in NW Folder Management (ex-records Management)

Sample Universe on Microsoft OLAP Cube

Portfolio and Project Management 5.0: Excel Integration for Financial and Capacity Planning

User Experience in Custom Apps

UI Framework Simple Search in CRM WebClient based on NetWeaver Enterprise Search (ABAP) SAP Enhancement Package 1 for SAP CRM 7.0

K in Identify the differences between the universe design tool and the information design tool

USDL XG WP3 SAP use case. Kay Kadner

Download and Install Crystal Reports for Eclipse via the Eclipse Software Update Manager

BW Workspaces Use Cases

UI Framework Task Based User Interface. SAP Enhancement Package 1 for SAP CRM 7.0

LO Extraction Part 1: SD Application Short Overview

Single Sign-On between SAP Portal and SuccessFactors

SAP NetWeaver BRM 7.3

How-to-Guide: Middleware Settings for Download of IPC Configuration (KB) Data from R/3 to CRM System

Duet Enterprise Add SAP ERP Reports and SAP BI Queries/Workbooks to Duet Enterprise Configuration

Compliant, Business-Driven Identity Management using. SAP NetWeaver Identity Management and SBOP Access Control. February 2010

How To Use the BPC Mass User Management Tool in BPC 10.0 NW

SAP DSM/BRFPlus System Architecture Considerations

Mass Maintenance of Procurement Data in SAP

SAP Sustainability Solutions: Achieving Customer Strategies

Integration of Universal Worklist into Microsoft Office SharePoint

Quick Guide EDI/IDoc Interfacing to SAP ECC from External System

Secure MobiLink Synchronization using Microsoft IIS and the MobiLink Redirector

ERP Quotation and Sales Order in CRM WebClient UI Detailed View. SAP Enhancement Package 1 for SAP CRM 7.0 CRM Sales - SFA

Xcelsius Dashboards on SAP NetWaver BW Implementation Best Practices

Application Lifecycle Management

Configuring Single Sign-on for SAP HANA

How to Schedule Report Execution and Mailing

Business Process Change Analyzer in SAP Solution Manager 7.1

How To Use the ESR Eclipse Tool with the Enterprise Service Repository

Supporting SAP POS Best Practices Setting Log File Sizes and Retention

SAP Business ByDesign Reference Systems. Scenario Outline. SAP ERP Integration Scenarios

SAP Service Tools for Performance Analysis

Accounts Receivable. SAP Best Practices

Intelligent Business Operations Chapter 1: Overview & Strategy

Sales Planning Detailed View. SAP Enhancement Package 1 for SAP CRM 7.0 CRM Sales - SFA

SAP Central Process Scheduling (CPS) 8.0 by Redwood

How to Set Up an Authorization for a Business Partner in Customer Relationship Management (CRM) Internet Sales: Sample Case

BW362. SAP BW powered by SAP HANA COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Project Governance The Role Of The Business Process Owner

Query, Read, Create and Update CLOUD FOR CUSTOMER ODATA SERVICE QUERY, READ, CREATE AND UPDATE

LO Extraction Part 2 Database Update Logic

SAP Cloud Strategy - Timeless Software. Frank Stienhans on behalf of Kaj van de Loo SAP

SAP Portfolio and Project Management

Unified Service Description Language Enabling the Internet of Services

AP Integration with BRFplus VERSION V APRIL SAP AG

SOP through Long Term Planning Transfer to LIS/PIS/Capacity. SAP Best Practices

Configuring Distribution List in Compliant User Provisioning

How to Configure Access Control for Exchange using PowerShell Cmdlets A Step-by-Step guide

OData in a Nutshell. August 2011 INTERNAL

SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial

Fixed Asset in SAP Business One 9.0

Production Subcontracting (External Processing) SAP Best Practices

Run SAP like a Factory

SAP How-To Guide: Develop a Custom Master Data Object in SAP MDG (Master Data Governance)

Next Generation Digital Banking with SAP

Installation Guide Customized Installation of SQL Server 2008 for an SAP System with SQL4SAP.VBS

Supplier Master Data Governance

Delta Queue Demystification

RUN BETTER Become a Best-Run Business with Remote Support Platform for SAP Business One

Thread Dump Viewer for SAP NetWeaver AS Java

SAP HANA Cloud Integration Document Version: Template Guide for SAP Sales and Operations Planning

Ariba Network Integration to SAP ECC

Finding the Leak Access Logging for Sensitive Data. SAP Product Management Security

SAP GRC Access Control: Background jobs for risk analysis and remediation (formerly Virsa Compliance Calibrator)

SAP BusinessObjects Increasing Stability by Setting Limits on Max. Retrievable Cells from SAP BW into Web Intelligence using BICS

Analyzing Sales Data for Choosing Forecast Strategies

Learning Series: SAP NetWeaver Process Orchestration, secure connectivity add-on 1c SFTP Adapter

Matthias Steiner SAP. SAP HANA Cloud Platform A guided tour

How To Configure MDM to Work with Oracle ASM-Based Products

BICS Connectivity for Web Intelligence in SAP BI 4.0. John Mrozek / AGS December 01, 2011

Methodology to Implement SAP Process Integration

Transcription:

Data Source Enhancement Using User Exit Applies to: Any SAP system from which data needs to be pulled into SAP BI system. Summary This document describes how to enhance a data source in the source system so that the fields enhanced can be mapped to the info-objects in the BI system and the required data can be extracted & loaded to the data targets. Author: R. Prem Kumar Company: SAP Created on: 23 May 2009 Author Bio The author works for SAP. His expertise includes SAP BI and ABAP 2009 SAP AG 1

Table of Contents Introduction...3 Goal...3 Graphical view...3 Source System...3 Result...8 Copyright...9 2009 SAP AG 2

Introduction To describe the process followed to enhance a datasource using user-exits which involves a significant amount of ABAP coding Goal This document describes how to enhance a data source in the source system so that the fields enhanced can be mapped to the info-objects in the BI system and the required data can be extracted & loaded to the data targets. Graphical view Source System In this document we shall consider SAP CRM system as the source system Data Source The data source 0CRM_COMPLAINTS_I would be used as an example in this document This data source can be seen using the t-code rsa5 ( after activation it can be seen in rsa6 as well) This data source is used to fetch the complaints data (see transaction crmd_order) Extract Structure The associated extract structure is CRMT_BW_COMPLAINTS_I This structure can also be seen in the system using the transaction se11 2009 SAP AG 3

Using the button Append structure the custom fields can be appended to the structure Save and Activate the structure FUNCTION ENHANCEMENT In the transaction rsa6 highlight the required data source and click on Function Enhancement 2009 SAP AG 4

The above action would result in the execution of the CMOD transaction Create a project in order to make the enhancement assignment. In this example a project by the name ZCRWTY is created Assign the enhancement RSAP0001 & click on Components Choose the function exit EXIT_SAPLRSAP_001 2009 SAP AG 5

Activate the Project. Double click on the function exit EXIT_SAPLRSAP_001, this will open the function module Please note that, alternatively once the project is activated with the required function exit, this can also be displayed in the t-code for Function modules se37. Double click on the include ZXRSAU01, to open the editor where the required coding can be done. In the above function module (exit) the import parameter I_DATASOURCE holds the data source (i.e. name of the data source) The tables parameter C_T_DATA holds the values of the datasource whose structure is same as the data source structure Using the ABAP statements CASE, ENDCASE & WHEN the code for the desired datasource can be executed 2009 SAP AG 6

See below the example code : DATA: L_S_INFOSTRU LIKE CRMT_BW_COMPLAINTS_I. CASE I_DATASOURCE. WHEN '0CRM_COMPLAINTS_I'. LOOP AT C_T_DATA INTO L_S_INFOSTRU. IF L_S_INFOSTRU-ITEM_GUID = ''. CLEAR L_STAT. L_STAT = L_S_INFOSTRU-BWSTZCRZHED. ENDIF. L_TABIX = SY-TABIX. WHEN 'DATASOURCE1 WHEN 'DATASOURCE2 ENDCASE. 2009 SAP AG 7

Result When the data source is executed the user exit (enhancement) is triggered and the code written within the exit gets processed and this would fetch the desired data and would update the data source. This enhanced data source can be replicated in the BI system and further processing can be carried out 2009 SAP AG 8

Copyright Copyright 2009 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. 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. 2009 SAP AG 9