Extract Archived data from R3

Similar documents
Install TREX for CAF Version 1.00 March 2006

Do Exception Broadcasting

configure an anonymous access to KM

How To Extend User Details

link SAP BPC Excel from an enterprise portal Version th of March 2009

MDM Syndicator Create Flat Syndication File

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

Visual Composer - Task Management Application

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

Integrate a Forum into a Collaboration Room

Create Monitor Entries from an update routine

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

How To Configure IDoc Adapters

How to Use Function Keys in Mobile Applications for Handhelds

What s New / Release Notes SAP Strategy Management 10.1

Create Monitor Entries from a Transformation routine

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

How To... Promote Reports and Input Schedules Through Your System Landscape

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

SAP NetWeaver How-To Guide

Consuming Web Dynpro components in Visual Composer.

How To Troubleshoot SSL with BPC Version 1.01 May 2009

Configure SSO in an SAP NetWeaver 2004s Dual Stack

How To... Reuse Business Objects and Override Operations of a Business Object

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

How to Set Up and Use the SAP OEE Custom UI Feature

Cache Settings in Web Page Composer

How To...Configure Integration of CUP with SPM

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

Process Control 2.5 Implementation Checklist

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

How To... Configure Integrated Configurations in the Advanced Adapter Engine

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

Web Page Composer anonymous user access

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

How-To... Add Sensitive Content into an Area

How to Create a New SAPUI5 Development Component

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

Simplified Configuration of Single System Update in Maintenance Optimizer

How To... Master Data Governance for Material: File Down- and Upload

Handle. How-to Guide SAP NetWeaver 2004s. Version 1.00 Sept 2006

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

The test has been performed using a 64 Bit SAP NetWeaver Application Server Java 7.1 Enhancement Package 1 SP4 or greater system.

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

Enterprise Portal Logon Page Branding

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

Building a Tax Calculation Application

SAP Composite Application Framework. Creating a Content Package Object

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006

Send Multiple IDocs Within One XI Message

Line Items in BI Integrated Planning

SAP NetWeaver How-To Guide

Configure Peripheral Drivers with Mobile Infrastructure

Visual Composer Build Process

View Time Security for crystalreports.com

How to Browse an Enterprise Services Registry in Visual Composer

How to Translate a Visual Composer Model Part I

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

Use the BI Java SDK in a Web Dynpro Application Version 1.01 July 2005

Setup an NWDI Track for Composition Environment Developments

Installation Guide Business Explorer

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1

Setting Up an Environment for Testing Applications in a Federated Portal Network

SAP NetWeaver 04. Unification Terminology

Optimize the RFC performance for mysap CRM Mobile Sales Version 1.00 April Applicable Releases: SAP CRM Mobile Sales and Service 4.0 and 5.

How to receive and convert PDF-documents with SAP XI

Sample IDoc-XI Scenarios

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

How To Use Surveys with Mobile Sales for handheld Version 1.00 January 2007

SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option)

Best Practices Using KMC Capabilities in an External Facing Portal Version 1.00 October 2006

Extracting Product Attributes in XML using Web Service

How To Generate XSD Schemas from Existing MDM Repositories

Backup & Restore with SAP BPC (MS SQL 2000)

How To Build the Carry Forward and Account Transformation Business Rules

Introducing SAP Enterprise Services Explorer for Microsoft.NET

Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to:

How To Customize the SAP User Interface Using Theme Editor

Modeling Considerations for BPC Time Dimensions

How-to Guide SAP EPM. How To Use Comments. Version 1.00 March Applicable Releases: EPM BPC 5.1 Microsoft & EPM BPC 7 Microsoft

How To... Configure Drill Through Functionality

How To... Use the BPC_NW Mass User Management Tool

Hardware Requirements

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures

Integrating a Web Service in a Composite Application. SAP Composite Application Framework

SAP NetWeaver How-To Guide. SAP NetWeaver Gateway Virtualization Guide

Use the J2EE SOAP Adapter

Value Help in Web Dynpro ABAP - Tutorial.

Monitoring System Landscapes Using the DBA Cockpit

Consuming Directory API in ABAP

Authentication of a WS Client Using a SAP Logon Ticket

Transcription:

How-to Guide SAP NetWeaver 04 How To Extract Archived data from R3 Version 1.00 November 2004 Applicable Releases: SAP NetWeaver 04 (Business Warehouse)

Copyright 2004 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, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, and Informix are trademarks or registered trademarks of IBM Corporation 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. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, 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 in several other countries all over the world. 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. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. SAP NetWeaver How-to Guides are intended to simplify the product implementation. While specific product features and procedures typically are explained in a practical business context, it is not implied that those features and procedures are the only approach in solving a specific business problem using SAP NetWeaver. Should you wish to receive additional information, clarification or support, please refer to SAP Consulting. Any software coding and/or code lines / strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent.

1 Business Scenario You are working on a BW system and want to extract archived data from a R/3 system. The business content extractor for your respective application does not support the extraction of archived data. This holds especially true for BW releases 3.0 and higher, where the BW system is capable of receiving archived data information from an extractor. Note: This paper describes only a workaround solution until the business content extractors provide the functionality to extract data also from archive files. The business content extractors are envisaged to provide a comprehensive solution to read application data from archives, including the derivation of data using application logic, from multiple tables, mapping of application dependant fields like Version and Value Type, etc. Such business rules cannot be realized with the described workaround. The standard functionality of extending existing DataSources and populating the respective fields within the SAP enhancements might be used to enhance the DataSources created based on the description in this paper (please refer to the BW documentation for further information on how to enhance DataSources). 2 Introduction Although no R/3 application extractor provides archived data, it is possible to extract some or all of the archived data via a generic DataSource based on the information structures of the Archiving Information System (SAP AS). The availability of the Archiving Information System in the R/3 system as well as the functionality of the generic extraction in the R/3 system are the sole prerequisites to use the method described in this paper. The SAP Archive Information System is a retrieval tool that is fully integrated into the archiving environment, and assists the user with information retrieval in R/3 data archives. It also offers functions for the display of data. From Release 4.5A, the AS is a part of R/3 s standard functions and can be installed on previous releases down to and including 3.0D. For more information, refer to OSS Note 99388. Data retrieval takes place using archive information structures. These are transparent database tables that contain data from the archive. As with other R/3 information systems, such as the Logistics Information Structures (LIS) or the Sales Information System (VIS), these tables are referred to as information structures. The Archive Information System is a generic tool, that is, the available functions can be used for all existing archiving objects. To retrieve archived data for an archiving object, there must be at least one archive information structure. The information structure should contain all the fields that are required for the retrieval. The user can, if necessary, change the contents of the information structure by removing or adding fields from an existing SAP field catalog. Before an information structure can be constructed, that is, filled with data from the archive, it must first be activated. This means that the system generates a transparent database table and the evaluation program in the background. There are two methods for filling an active information structure with archive contents: Automatically, when running the deletion program Manually by the user When the deletion program is started for an archiving object, all the active information structures that belong to this archiving object are filled. The Archive Development Kit (ADK) transfers all the datasets that it finds in the archive to the SAP AG interface. Based on the defined information structure, the SAP - 1 -

AG interface filters the data from the transferred data records and inserts them, together with an access key, in a transparent database table. In addition to this automatic option, the user also has the option of constructing information structures using a special structure construction program. This is primarily required if evaluating existing archives, or if a new structure has to be created due changes in the field selection. For more information on the SAP Archiving Information System, refer to the SAP Library under CA - Cross-Application Components CA - Application Data Archiving Introduction Archive Information System (SAP AS). Based on the underlying table of an information structure, a generic DataSource can be defined which uses a table/view as extraction mechanism. This DataSource can be replicated in a connected BW system and subsequently provide archived application data from a R/3 system. Note: It is important to keep the application data in the BW system from archive files and from the original database tables disjunctive, in order to avoid duplicate and / or inconsistent data sets in the BW system. It might be advisable to use the described method only for data that has been archived prior to the implementation of the BW system. New accumulated data sets should be retrieved via the standard application extractors. - 2 -

3 The Step By Step Solution The scenario is based on the archiving object BC_SBOOK, which is delivered by SAP starting with the R/3 release 4.6B. The method described can be transferred to any other archiving object. 1. Creation of an information structure 1. Call the transaction SARJ to create an information structure and specify a name for the information structure. Press the Create button ( ). 2. Specify a description for the information structure, archiving object and field catalog. Afterwards, press again the Create button. Field catalog: A set of fields that build the basis for the information structure. It is typically based on fields from tables that form the archiving object (we use standard field catalog SAP_BC_SBOOK01). 3. Pick the fields that you want to include in your information structures. All fields picked in this step will be available for extraction. The fields that are marked in the field catalog as key fields will be proposed by the system automatically. They cannot be removed from the information structure. - 3 -

4. In order to figure out the technical name of the transparent table that will be created for the information structure, press the Technical data push button. Write down the name of the structure table or copy it to the Clipboard for later use. You will need this name for the creation of the generic DataSource, which will retrieve its data from this transparent table. 5. Save your information structure and return to the entry screen of the transaction SARJ. In order to populate an information structure, you have to activate it first. You do so by pressing the Activate button on the entry screen of the transaction SARJ ( ). 2. Creation of the generic DataSource 1. Call the transaction RSO2, specify a name for the generic DataSource and press the Create push button. (Customizing for Extractors (SBIW) Generic DataSources Maintain Generic DataSources) - 4 -

2. Specify the application components, the transparent table to be used for extraction, and the descriptions for the DataSource. The name of the transparent table is the Structure Table of the information structure of the archiving object. (See step above for the description how to determine the structure table name). 3. Save your DataSource. On the next screen, you are able to pick which fields of the DataSource should be available for selection in the InfoPackage or hidden, respectively. The fields Archivekey and Archiveofs are technical fields of the structure table to locate the records selected in the archive files. Complete the definition of your DataSource by pressing the Save button again ( ). 4. Replicate the DataSources for the respective application component in the BW system and assign it to an InfoSource. Afterwards, you are able to schedule the extraction via an InfoPackage. - 5 -

3. Population of the information structure An active information structure can be filled by two methods: 1) Automatically, when running the deletion program (only applicable for archives filled by the applications in this case it is advisable to extract the data prior to archiving) 2) Manually by the user In this chapter we describe the manual process of populating information structures, since the automatic process is hidden to the end user, and does not require any user interaction (except the scheduling of the deletion job for the archive object). 1. Call the transaction SARJ. Enter your information structure, and choose the option Create structure from the Environment menu. 2. Select the sessions from which you want to include data in the information structure. Press Set up structure push button to schedule the population of the information structures. You can perform the population either in Dialog or Background mode. The Background mode is recommended by SAP. 3. The successful population of the information structure is indicated by the system by the Green traffic light for the respective archiving sessions. You can also check the content of the information structure by using the Archive Explorer (push button on the transaction SARI) or by using the Data Browser (SE16) for the structure table of the information structure. - 6 -

www.sdn.sap.com/irj/sdn/howtoguides