SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for...

84
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI NW 7.0 Summary This paper provides the step by step procedure on how to archive data by ADK method and then reload it for reporting needs or any other business scenarios. It discusses how the data is deleted from the archive files and then from the database. Finally once data is on the application server it is reloaded into a separate/same data target. Author: Reenu Lodha, Satyam SAP-BI Solutions Labs Company: Satyam Computers Services Ltd. (www satyam.com) Created on: 12 January 2009 Author Bio Reenu Lodha is a SAP BW Consultant at Satyam Computers Services Limited, Pune-India. She is working in BI space for past 2.6 years and has rich SAP BW 3.5 and SAP BI NW 7.0 implementation experience in Enterprise Data Warehousing, Enterprise Reporting for solutions to Logistic and Finance industry. She has worked on AGS and FI applications. ([email protected])

Transcript of SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for...

Page 1: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Applies to: SAP BW 3.5 and SAP BI NW 7.0

Summary This paper provides the step by step procedure on how to archive data by ADK method and then reload it for reporting needs or any other business scenarios. It discusses how the data is deleted from the archive files and then from the database. Finally once data is on the application server it is reloaded into a separate/same data target.

Author: Reenu Lodha, Satyam SAP-BI Solutions Labs

Company: Satyam Computers Services Ltd. (www satyam.com)

Created on: 12 January 2009

Author Bio Reenu Lodha is a SAP BW Consultant at Satyam Computers Services Limited, Pune-India. She is working in BI space for past 2.6 years and has rich SAP BW 3.5 and SAP BI NW 7.0 implementation experience in Enterprise Data Warehousing, Enterprise Reporting for solutions to Logistic and Finance industry. She has worked on AGS and FI applications. ([email protected])

Page 2: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Table of Contents Abstract...............................................................................................................................................................4 Business Scenario ..............................................................................................................................................4 Solution Benefits .................................................................................................................................................4 Demonstration with Screenshots: .......................................................................................................................5

Steps 1 to 5: How to create “Logical File” .......................................................................................................9 Step-1:......................................................................................................................................................................... 9 Step-2:....................................................................................................................................................................... 10 Step-3:....................................................................................................................................................................... 11 Step-4:....................................................................................................................................................................... 12 Step-5:....................................................................................................................................................................... 13

Steps 6 to 12: How to create data archiving process....................................................................................14 Step-6:....................................................................................................................................................................... 14 Step-7:....................................................................................................................................................................... 15 Step-8:....................................................................................................................................................................... 16 Step-9:....................................................................................................................................................................... 17 Step-10:..................................................................................................................................................................... 18 Step-11:..................................................................................................................................................................... 19 Step-12:..................................................................................................................................................................... 20

Steps 13 to 26: How to create & execute “Archive Administration”. ..............................................................21 Step-13:..................................................................................................................................................................... 21 Step-14:..................................................................................................................................................................... 22 Step-15:..................................................................................................................................................................... 22 Step-16...................................................................................................................................................................... 23 Step-17:..................................................................................................................................................................... 24 Step-18:..................................................................................................................................................................... 25 Step-19:..................................................................................................................................................................... 26 Step-20:..................................................................................................................................................................... 27 Step-21:..................................................................................................................................................................... 28 Step-22:..................................................................................................................................................................... 29 Step-23:..................................................................................................................................................................... 30 Step-24:..................................................................................................................................................................... 31 Step -25..................................................................................................................................................................... 32 Step 26:..................................................................................................................................................................... 33

Steps 27 to 29: How to see graphical display to spool request ....................................................................34 Step 27:..................................................................................................................................................................... 34 Step 28...................................................................................................................................................................... 34 Step 29:..................................................................................................................................................................... 35

Steps 30 to 40: ..............................................................................................................................................36 Step 30:..................................................................................................................................................................... 36 Step 31...................................................................................................................................................................... 37 Step 32:..................................................................................................................................................................... 38 Step 33:..................................................................................................................................................................... 39 Step-34:..................................................................................................................................................................... 40 Step-35:..................................................................................................................................................................... 41 Step-36:..................................................................................................................................................................... 42 Step-37:..................................................................................................................................................................... 43 Step-38:..................................................................................................................................................................... 45 Step 39:..................................................................................................................................................................... 46 Step 40:..................................................................................................................................................................... 47

Page 3: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Steps 41 to 42: ..............................................................................................................................................48 Step 41:..................................................................................................................................................................... 48 Step 42:..................................................................................................................................................................... 49

Reloading the archived data .........................................................................................................................50 Steps 1 to 6: ..................................................................................................................................................50

Step-1:....................................................................................................................................................................... 50 Step-2:....................................................................................................................................................................... 51 Step-3:....................................................................................................................................................................... 52 Step-4:....................................................................................................................................................................... 53 Step 5........................................................................................................................................................................ 54 Step 6........................................................................................................................................................................ 55

Steps 7 to 13: How to create DTP.................................................................................................................56 Step-7:....................................................................................................................................................................... 56 Step -8....................................................................................................................................................................... 58 Step -9:...................................................................................................................................................................... 59 Step -10..................................................................................................................................................................... 60 Step-11:..................................................................................................................................................................... 61 Step-12:..................................................................................................................................................................... 62 Step-13:..................................................................................................................................................................... 63

Reload data into the same infoprovider ........................................................................................................65 Step-1:....................................................................................................................................................................... 65 Step-2:....................................................................................................................................................................... 66 Step-3:....................................................................................................................................................................... 67 Step-4........................................................................................................................................................................ 68 Step-5:....................................................................................................................................................................... 71 Step-6:....................................................................................................................................................................... 72 Step-7:....................................................................................................................................................................... 73 Step-8:....................................................................................................................................................................... 75 Step 10:..................................................................................................................................................................... 79 Step 11:..................................................................................................................................................................... 80 Step 12:..................................................................................................................................................................... 80

Related Content ................................................................................................................................................82 Disclaimer and Liability Notice..........................................................................................................................83

Page 4: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Abstract

This document provides the step by step procedure on how to archive data in ODS 0FIAP_O03 corresponding to the Fiscal Year/Period 009.2007 using ADK method. The purpose is to explain detailed technical procedure of ADK archiving, deleting and reloading archived data in the infoprovider. For archiving firstly create the logical file ZARCHIVE_TEST and physical file FIAP_<MONTH>_<DAY>.txt. Archive the data corresponding to the Fiscal Year/Period 009.2007 in the ODS 0FIAP_O03 using archiving object BWOFIA~O03 and archive administration. Delete this data from the ODS and again reload it from the archive back to the SAP BW system either in the copy of infoprovider or same infoprovider. Latter is performed only when wrong data was archived due to errors in customizing or during document selection. Readers who want to understand stepwise implementation of SAP BI ADK archiving and reloading of archived data will be benefited from this paper.

Business Scenario

The database in our system stores huge amount of historical data which is hardly required for any purpose presently. But for some reasons we want to keep it as we may need to retrieve this data in future. This leads to increase in BI database which makes the maintenance and administration efforts grow. In effect, the cost for process, personnel and technology grow. 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:

1. 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, 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 InfoStructures 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.

Page 5: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Demonstration with Screenshots: Data Display of ODS before Archiving

a) Click context menu of ODS 0FIAP_O03

Page 6: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

b) Select the below field selection for output.

Page 7: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

c) Select the Fiscal Year as 009.2007 and click

Page 8: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

d) Below is the data display.

We will now archive this data record. Same steps have to be followed when the number of data records is more.

Page 9: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Steps 1 to 5: How to create “Logical File”

Step-1: Go to T.code ‘FILE’, click on ‘Logical File Path Definition’ and select ‘Archive_Global_Path’ which is

as shown below and click on ‘Assignment of Physical path’.

Page 10: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-2: You can see different syntax groups which are shown below, select and double click on ‘Windows

NT’.

Page 11: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-3: This step is just to check the physical path, since physical is the directory where we can check the

archive file in T.code ‘AL11’.

Page 12: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-4: Select ‘Logical File Name Definition’ and click on ‘New Entry’ which is shown as below.

Page 13: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-5: Enter the details which are shown below.

Logical file : xxxxx (give your own name). Name : xxxxx (give your own name).

Physical file : Parameter_<MONTH>_<DAY>.txt

Data format : ‘ASC’.

Application Area: Respective Application area (here we are doing FI Data Archiving, so selected FI).

Logical Path : ‘ARCHIVE_GLOBAL_PATH’ (Which we have taken the existing one).

Page 14: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Steps 6 to 12: How to create data archiving process Step-6: Go to T.code ‘RSA1’, select and right click the infoprovider from which you want to Archive the data and click on ‘Create Data Archiving Process’. Here we are selecting ‘0FIAP_O03’

Page 15: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-7: In the first tab ‘General Settings’, select the check box ‘ADK- Based Archiving’. Here the Archiving object name generates automatically.

Page 16: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-8: In the second tab ‘Selection Profile’, select the ‘Characteristic for Time Slice’ here we have taken

‘0FISCPER’.

Page 17: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-9: Select and move the respective infoobjects (on which you want to archive data based upon selection criteria) from right to left which is as shown below.

Page 18: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-10: In the third tab ‘Semantic Group’ select and move the infoobjects from right to left for which you want to archive the data which is as shown below.

Page 19: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-11: In the below screen you can see that all infoobjects are move to left side.

Page 20: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-12: In the fourth tab ‘ADK’ enter the Logical file Name which you have already created (see in step-5).

Enter the other details which are as shown below.

Note:After Data archiving, as we don’t want to delete the data from the data target automatically we are

selecting ‘Delete Job’ as ‘Not Schedule’

Page 21: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Steps 13 to 26: How to create & execute “Archive Administration”.

Step-13: Go to T.code ‘SARA’, enter the Archiving Object name ‘BWOFIA~O03’ and click on ‘Write’. In the write phase the data to be archived is written sequentially into newly created archive files.

Page 22: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-14: Here we need to create Variant, so enter Variant name and click on ‘Maintain’ as shown below.

Step-15: Select the Radio button ‘For All Selection Screens’ as shown below.

Page 23: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-16: In the first tab ‘Primary Time Restriction’, fill all the details as shown below.

Page 24: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-17: In the second tab ‘Further Restrictions’ fill the details if you want to archive data based on selection condition.

Page 25: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-18: Once you fill the necessary details in both the tabs, click on it will pop up a screen which is as shown below, click on save.

Page 26: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-19: Enter the Variant Meaning, save and click on .

Page 27: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-20: Click on ‘Start Date’ as shown below.

Page 28: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-21: If you want to run immediately, click on ‘Immediate’ or else select others and fill the details respectively, here we are executing the job immediately, so select ‘Immediate’ and click on save button as shown below.

Page 29: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-22: Click on ‘Spool Params’ as shown below.

Page 30: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-23: Enter the output Device name ‘LP02’ as shown below and click on enter.

Page 31: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-24: Once you fill the ‘Start Date’ & ‘Spool Params’ you should see the lights are in green color. Now

click on button.

Page 32: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step -25: To see the statistics of the archiving session and monitor the progress of the jobs press the ‘Job’

button

Page 33: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 26: When the job is finished it shows the details of the activities performed.

Page 34: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Steps 27 to 29: How to see graphical display to spool request

Step 27: Click on spool.

Step 28: Click on

Page 35: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 29: Below is the graphical display to spool request.

Page 36: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Steps 30 to 40: How to delete the data (which is archived) from the ODS 0FIAP_O03 The delete program reads the data from the archive files and then deletes it from the database.

Step 30: Go to T Code SARA, enter the Archiving object name and click on delete.

Page 37: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 31: Click on Archive Selection.

Page 38: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 32: Select the archived file whose infoprovider data has to be deleted.

Page 39: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 33: Click on ‘Start Date’ as shown below and click on ‘Immediate’.

Page 40: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-34: Click on ‘Spool Params’ as shown below and enter the output Device name ‘LP02’ as shown below

and click on enter.

Page 41: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-35: Once you fill the ‘Start Date’ & ‘Spool Params’ you should see the lights are in green color. Now

click on button.

Page 42: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-36: Job Overview shows the ODS data corresponding to the Fiscal Yr -009.2007 is deleted.

Page 43: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-37: Below is the spool graphical display of spool request.

a)

Page 44: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

b)

Page 45: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-38: Data Display of ODS after Archiving

Page 46: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 39: Press ‘Statistics’ button to view the database and status information.

Page 47: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 40: Below is the detailed display of statistics of data archiving.

Page 48: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Steps 41 to 42: How to see the archived file

Step 41: To see the archived file go to T Code AL11 and double click on the name of the directory.

Page 49: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 42: Highlighted is the archived file.

Page 50: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Reloading the archived data 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.

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 you 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. You also can combine reloaded data with current data via multiproviders 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 errors in customizing or during document selection. Therefore, data should only be reloaded immediately after the erroneous archiving session. If you reload the data later you may end up with inconsistencies in your database.

Reload data into different data target (Copy of original data target)

Steps 1 to 6: How to create copy of ODS 0FIAP_O03 and its transformations Step-1: Go to T Code RSA1. Choose context menu of the original ODS 0FIAP_O03 and click on Copy.

Page 51: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-2: Go to T Code RSA1. Mention the original ODS name in ‘Copy From’

Page 52: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-3: Save the ODS as Local Object.

Page 53: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-4: Activate the ODS.

Page 54: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 5: Create transformation from the original ODS to the copied ODS.

Page 55: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 6: Activate the transformations.

Page 56: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Steps 7 to 13: How to create DTP

Step-7: Create data transfer process for the copied DSO from context menu. a)

Page 57: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

b)

Page 58: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step -8 Select the settings as shown below and click on Filter to make the selection for which you want to

reload the archived data.

Page 59: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step -9: Click on Change Selection and enter the fiscal period 009.2007 for which we have to reload the

data. Click on continue.

Page 60: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step -10: Below are the Update tab settings. a)

Page 61: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-11: Activate the DTP and Click on execute. a)

Page 62: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-12: Data is updated into the ODS.

Page 63: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-13: Display data for the ODS making the required selections. a)

Page 64: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

b) Below is the reloaded data display.

Page 65: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Reload data into the same infoprovider Step-1: Go to T Code SARA and enter the name of the archiving object in the Object Name field.

Page 66: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-2: Choose Goto and click Reload.

Page 67: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-3: This takes you to the Archive Administration: Reload Archive screen, where you can schedule job.

Page 68: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-4: Choose Archive Selection. Maintain Variant. a)

Page 69: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

b)

Page 70: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

c)

Page 71: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-5: Mark the desired archiving session and choose Continue.

Page 72: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-6: This takes you back to the original screen.

Page 73: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-7: Maintain the Start Date and the Spool Parameters. a)

Page 74: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

b)

Page 75: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-8: Execute

Page 76: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step-9: Double click on to view list of spool requests.

a)

Page 77: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

b)

Page 78: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

c) Below screen shows data been reloaded.

Page 79: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

Step 10: Check the Data Display of the ODS. It shows data has reloaded successfully into the ODS.

Page 80: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 80

Step 11: Check the Display Statistics.

Step 12: The archived file has been reloaded.

Page 81: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 81

Page 82: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 82

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

http://www.thespot4sap.com/Articles/SAP_Data_Archiving_ADK_ArchiveLink.asp

Page 83: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 83

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.

Page 84: SAP-BI Step by Step Procedure for Data Archiving by ADK ... · SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data Applies to: SAP BW 3.5 and SAP BI

SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 84