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

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

Step by Step Procedure for DSO Creation

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

DB Connect with Delta Mechanism

Process Chain Log Deletion

Using Radio Buttons in Web Template

Currency Translation in SAP BI Step by step Guide

Step by Step Method for File Archival in BW

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

Step-By-Step guide to Virtual InfoCube Implementation

How to Work with F4 Input Help Effectively in BEX

Linking Documents with Web Templates

Replacement Path: Explained with an Illustrated Example

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

DB Partitioning & Compression

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

Information Broadcasting Part 3 Scheduling the First Report

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

Open Hub Destination - Make use of Navigational Attributes

Generate Export Data Source

Using Nested Exception Aggregation in BEx Reports- Scenario

Recreating BIA Indexes to Address the Growth of Fact Index Table

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

Standalone BW System Refresh

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

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

Developing Crystal Reports on SAP BW

BW Reconciliation. Applies to: Summary. Author Bio

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

POWL: Infoset Generation with Web Dynpro ABAP

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

MDM Syndicator: Custom Items Tab

Creation of Key Figures with Higher Decimal Place Precision

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

Analysis Process Designer (APD) Step by Step Business Intelligence

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

Material Master Archiving in Simple Method

Database Statistics During ODS Activation

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

All about Compression

Load Info Cube in SCM 5.0 (BI 7.0)

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

Managing Transports in SAP BW 3.5 and BI 7.0

Data Extraction & DS Enhancement in SAP BI Step by Step

Download SAP Query Output to Local/ Network Folders in Background

Data Mining: Scoring (Linear Regression)

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

SAP BI Analysis Authorization (Customer Exit Variables)

Data Inconsistency in the Cube and Aggregate

Validity Table in SAP BW/BI

Easy Lookup in Process Integration 7.1

Server Connectivity and Data Load from Non SAP System to BW

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

Performance Tuning in SAP BI 7.0

How to Check BW system Before Go-Live

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

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

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

SDN Community Contribution

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

How to Configure User Status in mysap SRM

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

Displaying SAP Transaction as Internet Application in Portal

SAP BW Copy Existing DTP for Data Targets

Comparison Terms and SPL Check Logic

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

Data Flow During Different Update Mode in LO Cockpit

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

Using Rule Group in SAP-BI. Part - 1

Data Mining: Decision Trees

Reporting Duplicate Entries

Deploying BusinessObjects Explorer on Top of a SAP BI Query

Role and Scope of ABAP in SAP BI

SDN Community Contribution

Financial Statement Version into PDF Reader

Data Source Replication and Activation of Transfer Structures

Loading the Data for Time Dependent Hierarchy in SAP BI

Step By Step Procedure to Implement Soap to JDBC Scenario

Material Listing and Exclusion

Performance Management in Data Loading: an Overview

How to Create and Schedule Publications from Crystal Reports

Customized Transaction to Trigger Process Chain from Failed Step

Positioning of CML of SAP s LSA with NLS SAND as Archiving Technology

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

Reading Enhanced DataSource fields for the Remote Cube

Message Prioritization in Advanced Adapter Engine

Routines in SAP BI 7.0 Transformations

ecatt Part 6 System Data Container

Cut Over Activities Specific for LIS* Data Sources

Table Row Popup in Web Dynpro Component

List of Values in BusinessObjects Web Intelligence Prompts

Roadblocks During SAP BI 7.0 Upgrade and Their Resolutions

ios Ad Hoc Provisioning Quick Guide

Config Tool Activities

Open Hub Destination Basics

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

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

Information Broadcasting Part 1 System Parameter Setting

Performance Optimization of Long Running Queries Using OLAP Cache

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

Transcription:

Applies to: SAP Net Weaver 400s BI 7.0For more information, visit the Business Intelligence homepage. Summary This paper provides the step by step procedure on how to archive data in ODS/InfoCube using ADK method. The purpose is to explain detailed technical procedure of ADK archiving, deleting and reloading archived data in the InfoProvider. For archiving, we need to create the logical file and physical file for each InfoCube/DSO based on some parameters using Archiving Object. Persons who want to understand stepwise implementation of SAP BI ADK archiving and reloading of archived data will be benefited from this paper. Author: Manoranjan Pandey Company: Tata Consultancy Services Ltd. Created on: 13 July 2009 Author Bio The author has been associated with Tata Consultancy Services Ltd. for 1.5 year with 5 years experience in SAP BIW and has been working in the Utilities domain since then. He has been involved in an end-to-end implementation of SAP BI 7.0 for a renowned client in this domain. In this time of association with this project, he was able to gain knowledge in couple of issues related to BI Archiving such as design, implementation etc. 2009 SAP AG 1

Table of Contents Business Scenario... 3 Solution Benefits... 3 How and where to create logical file :... 4 How to create data archiving process... 7 Process for Reloading the Archived Data in SAP BI System... 19 Related Content... 30 Disclaimer and Liability Notice... 31 2009 SAP AG 2

Business Scenario In one BI system, the volume of data increases constantly. Constant changes to business and legal requirements mean that this data must be available for longer. In effect, the cost for process, personnel and technology grow. Since keeping a large volume of data in the system affects performance and increases administration efforts. So we can remove this data from our data targets store it into other data storage and reload to the system whenever required. Thus we can increase memory space and the retrieval performance of the data at query runtime. Solution Benefits The main advantage of ADK archiving is it is a SAP-standard BW solution which is a comprehensive procedure for writing, deleting, and storing BW data. Hence, consistency of the archived data is guaranteed. It allows the use of a blend of cost-effective data storage media. It is platform independent and handles structural changes in the definition of BW elements. It has easy-to-use front end. Moreover, it offers reduction in resource consumption. The hardware costs for hard drives on the BI side where the online data will be stored, is reduced if the archiving solution is in place. Below are BW relevant features of ADK: Handling structural changes: Since the ADK is storing metadata of the archived data as well as the data itself, it is capable of retrieving the archived data even after structural changes have been made. This data is not converted to the new structure, but simply displayed in the new structure. Platform independency: The ADK can handle different code pages (ASCII, EBCDIC, and UNICODE) and number formats. Data compression: The archived data can be compressed up to 5 times of the original data volume. Archiving Information System (SAP-AS).The archived data can be displayed with the Archiving Information System. In BW, the customer has to define the Info Structures for the respective archiving objects, and fill them manually within AS customizing. Administration via transaction SARA: The scheduling, monitoring and management of the archiving session can be performed with the standard transaction SARA. 2009 SAP AG 3

How and where to create logical file : Step 1: Go to transaction code FILE in BI, click on Logical File Path Definition and select Archive Global Path as shown below: Step 2: Click on Assignment of Physical Paths to Logical Path 2009 SAP AG 4

Step 3: Select the WINDOWS NT and display. This will show the physical path where archive files store. 2009 SAP AG 5

Step 4: To create our own/new Logical File, select Logical File Name Definition, Cross-Client and New Entries Step 5: Enter the following details as shown below- Logical File: ZXXXX Physical File: Parameter_<MONTH>_<DAY>.txt Data Format: ASC Application Area: Select the respective area (like SD, FI, MM, etc.) Logical Path: Select the existing path ARCHIVE_GLOBAL_PATH and the save finally. 2009 SAP AG 6

How to create data archiving process Step 6: To create Data Archiving Process, go to transaction code RSA1 in BI system, right click on the DSO/InfoCube, click on Create Data Archiving Process 2009 SAP AG 7

Step 7: System will assign the archiving object name for the DSO/InfoCube. In the General Settings tab, check the box ADK-Based Archiving. Step 8: In the Selection Profile tab, select the Characteristic for Time Slices as a Time Characteristic and select and move left respective InfoObjects on which we need to archive data based upon selection criteria. 2009 SAP AG 8

Step 9: In the Semantic Group tab, select and move the InfoObjects fro right to left for which we want to archive the data. Step 10: In the last tab ADK, enter the newly created logical file name, maintain the Archiving File Size, select Delete Job as Not Scheduled. This will not allow system to delete the data automatically from data target. 2009 SAP AG 9

Step 11: After creating and maintaining an Archiving Object for a DSO/InfoCube, next job is to archive the data. Go to transaction code SARA, give the Archiving Object name, and click on Write. Step 12: To create a variant, enter a variant name start with ZXXXX and click on Maintain. 2009 SAP AG 10

Step 13: In the pop-up window, select For All Selection Screens. Step 14: in the tab Primary Time Restrictions, maintain the details as below: 2009 SAP AG 11

Step 15: In the tab Further Restrictions, give the details if we want to archive the data on certain selection condition. Step 16: Click on to go back from transaction, system will pop-up a window, click on Yes to save. Step 17: Enter the variant Meaning i.e., text. 2009 SAP AG 12

Step 18: Click on Start Date. 2009 SAP AG 13

Step 19: Click on Immediate and SAVE. Step 20: Click on Spool Params. Step 21: Enter the Output Device and press Enter button. Step 22: Click on Execute. 2009 SAP AG 14

Step 23: Press the Job button to see the job overview. Step 24: After archiving the data, we need to delete the data from respective DSO/InfoCube. The delete program first read the data from the archive files and then deletes it from data base. For doing this activity, go to transaction SARA. Enter the Archiving Object name and click on Delete. Step 25: Click on Archive Selection. 2009 SAP AG 15

Step 26: Select the archived file and press Enter. 2009 SAP AG 16

Step 27: Click on Start Date and click on Immediate and SAVE. Step 28: Click on Spool Parameters, enter the Output Device name and press Enter. 2009 SAP AG 17

Step 29: Click on Execute button. Data is deleted successfully. Step 30: To see the archive data, go to AL11 and double click on the name of directory. 2009 SAP AG 18

Process for Reloading the Archived Data in SAP BI System Once the data has been archived on the application server it is stored externally by basis team on separate magnetic tapes and other storage devices. Whenever such data is again required for reporting the basis team can bring it back on application server easily. Once it is on the application server it can be reloaded into a separate data target which is a copy of the original info-provider. S A P A SAP BI Data Print Lists r c h i v Meta data for external retrieval (PBS Indices, DocID) e L I n There are two different methods to reload the archived info provider data- reload data into different data target or reload into the same InfoProvider. It is recommended that we reload the archived data into the copy of the original InfoProvider. It allows the reloaded data to remain physically separate from any existing data. This allows for easier verification of the reloaded archive data because the data is isolated in its own InfoProvider. We also can combine reloaded data with current data via multi providers for better query performance because of the system s parallel query processing functionality. Data should be reloaded into the same info-provider only in emergency cases, in which wrong data was archived due to error in customizing or during document selection. Therefore, data should only be reloaded immediately after the erroneous archiving session. If we reload the data, later we may end up with inconsistencies in the database. 2009 SAP AG 19

Method 1: Reload Data into Different Data Target (copy of original data target with same Structure) Step 1: Go to transaction RSA1, right click on the original DSO and click Copy. 2009 SAP AG 20

Step 2: Save the DSO as Local Object and Activate it. Step 3: Create Transformation from the original DSO to the copied DSO. 2009 SAP AG 21

Step 4: Activate the transformation. Step 5: Now create DTP for the copied DSO. 2009 SAP AG 22

Step 6: Select the settings as below and click on Filter to make the selection for which we want to reload the archived data. Step 7: Click on Change Selection and enter the range of value and then press Enter. 2009 SAP AG 23

Step 8: Save and activate the DTP and then click on Execute. Step 9: See the status in Details tab (Green). We can check and display the data in the copied DSO. 2009 SAP AG 24

Method 2: Reload the data into the same InfoProvider. Step 1: Go to transaction SARA and select/enter the archiving object name as shown below. Step 2: In the menu, select Go To and click Reload. 2009 SAP AG 25

Step 3: Press Enter to continue. Step 4: Select Archive Selection and maintain Variant Attribute. 2009 SAP AG 26

Step 5: Check the box and press Enter. 2009 SAP AG 27

Step 6: Maintain the Start Date and Spool Parameters. 2009 SAP AG 28

Step 7: Click on Execute button to start the reload process. We can check and display the data in the original DSO. 2009 SAP AG 29

Related Content https://www.sdn.sap.com/irj/sdn/inf?rid=/webcontent/uuid/ef1b00f7-0a01-0010-74ab-e9260e80a441 http://help.sap.com/saphelp_nw2004s/helpdata/en/ad/b594429d7c0631e10000000a1550b0/frameset.htm For more information, visit the Business Intelligence homepage. 2009 SAP AG 30

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 31