This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
SAP BW 7.0 - Archiving Data Guide By DAP
Applies to: SAP BW NW 7.0. For more information, visit the Business Intelligence homepage.
Summary 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. Since keeping a large volume of data in the system affects performance and increases administration efforts, we recommend BI administrator to apply data archiving task if needed.
This guide gives a step-by-step demo to show how to use data archive process (DAP) feature in BI7.0.Firstly, introduce how to create DAP and how to use it to archive data. Secondly, show how to apply cycled jobs to do automatically. Lastly, show how to enable/disable archived data in query.
Author: Wang Jin
Company: Lenovo (Beijing) Ltd.
Created on: 27 March 2009
Author Bio Wang Jin is BW/BI engineer of Global Application Development of Lenovo. He is working in BI and Portal area for past 3 years and has rich implementation experience in Enterprise Data Warehousing, Enterprise Reporting for solutions to CRM and ECC Logistic functions. He also has over 3 years’ technical experience with JAVA/.NET platform.
Table of Contents Preface................................................................................................................................................................4 Part I – Creating Archiving Process....................................................................................................................4
1.1 Using content menu ..................................................................................................................................4 Step 1: Enter Data warehousing Workbench ...............................................................................................................4 Step 2: General Settings tab ........................................................................................................................................5 Step 3: Selection profile ...............................................................................................................................................5 Step 4: Semantic group ...............................................................................................................................................6 Step 5: ADK settings....................................................................................................................................................6 Step 6: Archiving tab....................................................................................................................................................7
1.2 Using separate T-code..............................................................................................................................7 Step 1 : EDIT Data Archiving Process – RSDAP ....................................................................................................7 Step 2 – 6: the same with section 1.1 ..........................................................................................................................8
Part II – DAP Management.................................................................................................................................8 2.1 Using administration function to archive ...................................................................................................8
2.2 Using ADK T-CODE to archive ...............................................................................................................11 Step 1 : Enter archive administration - SARA........................................................................................................11 Step 2 : Writing Archiving files...............................................................................................................................11 Step 3 : Enter selections........................................................................................................................................12 Step 4 : Enter description and save variants. ........................................................................................................13 Step 5 : Maintain start date and print parameters for archive. ...............................................................................13 Step 6 : Execute the archive background job and monitor the process.................................................................14 Step 7 : Delete records with exist archive files ......................................................................................................14 Step 8 : Maintain start date and print parameters for delete..................................................................................15 Step 9 : Execute the delete background job and monitor the process...................................................................15
2.3 Using ADK to reload data .......................................................................................................................16 Step 1 : Go to reload screen..................................................................................................................................16 Step 2 : Go to reload screen, maintain variant and save it ....................................................................................16 Step 3 : Maintain start date and print parameters for reload..................................................................................16 Step 4 : Execute the reload background job and monitor the process...................................................................17
Part III – Scheduling DAP.................................................................................................................................17 3.1 Using process chain to schedule archiving.............................................................................................17
Step 1 : Create new process chain in T-CODE (RSPC) ........................................................................................17 Step 2 : Create archiving process variant..............................................................................................................18 Step 3 : Maintain archiving process variant ...........................................................................................................18 Step 4 : Create delete archiving variant.................................................................................................................19 Step 5 : Maintain delete archiving variant..............................................................................................................19 Step 6 : Activate process chain .............................................................................................................................20 Step 7 : Execute process chain and monitor the process......................................................................................20
3.2 Using ADK variant to schedule archiving................................................................................................20 Part IV – Displaying Stored Data in Queries ....................................................................................................21
4.1 Settings of query access.........................................................................................................................21 4.2 Comparing queries with or w/o archive files ...........................................................................................22 Related Content ............................................................................................................................................23
Disclaimer and Liability Notice..........................................................................................................................24
Preface Using the data archiving process, you can archive and store transaction data from InfoCubes and DataStore objects. This function is not available for write-optimized DataStore objects. The data archiving process consists of three main steps: ...
1. Creating the archive file/near-line object 2. Storing the archive file in an archiving object (ADK-based) or near-line storage 3. Deleting the archived data from the database
Notes: If you use BW 7.0 system, reloading of data into infoProvider is not required as query can access to the archived data.
Part I – Creating Archiving Process
1.1 Using content menu
Step 1: Enter Data warehousing Workbench
Data warehousing Workbench (RSA1) -> content menu of DSO or InfoCube
Click execute button with background or dialog mode.
Then check the status of the process.
Notes: In InfoCube Archiving Process, system requires infoCube is compressed. So maybe you will meet the error below. The solution is: go to Collapse tab and execute compression job for it.
Step 3 : Delete archiving data
Double click the request before, and choose delete action to execute. Then confirm the status.
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.