Professional Documents
Culture Documents
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
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.
SAP BI Archiving
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
SAP BI Archiving
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.
SAP BI Archiving
SAP BI Archiving
Step 3: Select the WINDOWS NT and display. This will show the physical path where archive files store.
SAP BI Archiving
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 belowLogical 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.
SAP BI Archiving
SAP BI Archiving
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.
SAP BI Archiving
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.
SAP BI Archiving
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.
SAP BI Archiving
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:
SAP BI Archiving
Step 15: In the tab Further Restrictions, give the details if we want to archive the data on certain selection condition.
to go back from transaction, system will pop-up a window, click on Yes to save.
SAP BI Archiving
SAP BI Archiving
Step 21: Enter the Output Device and press Enter button.
SAP BI Archiving
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.
SAP BI Archiving
SAP BI Archiving
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.
SAP BI Archiving
Step 30: To see the archive data, go to AL11 and double click on the name of directory.
SAP BI Archiving
S A P A r
SAP BI Data Print Lists
c h i v 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 systems 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.
SAP BI Archiving
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.
SAP BI Archiving
Step 3: Create Transformation from the original DSO to the copied DSO.
SAP BI Archiving
SAP BI Archiving
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.
SAP BI Archiving
Step 8: Save and activate the DTP and then click on Execute.
SAP BI Archiving
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.
SAP BI Archiving
SAP BI Archiving
SAP BI Archiving
SAP BI Archiving
SAP BI Archiving
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.
SAP BI Archiving