Está en la página 1de 81

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 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. It discusses how the data is deleted
from the archive files and then from the database. Finally once the data is on the application server it is
reloaded into a separate/same data target. This paper is targeted at customers and SAP consultants who are
interested in implementing data archiving by ADK method and then reloading it for reporting needs or any
other business scenarios.
Author(s): Reenu Lodha, Satyam SAP-BI Solutions Labs
Company: Satyam Computers Services Ltd. (www satyam.com)
Created on: 01 Oct 2008

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 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. (Reenu_lodha@satyam.com )

Satyam SAP-BI Solutions Labs is a body of experienced and qualified SAP-BI consultants. Its main
objective is to create cutting-edge technological solutions in the area of SAP-BI and create multiple Service
Offerings for Satyam’s Customer base. The consultants of this group also offer functional and technical
consulting services to its customers.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 1
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Table of Contents

Abstract ............................................................................................................................................................... 3
Business Scenario .............................................................................................................................................. 3
Demonstration with Screenshots: ....................................................................................................................... 4
Related Content ................................................................................................................................................ 81
Disclaimer and Liability Notice .......................................................................................................................... 81
Copyright........................................................................................................................................................... 81

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 2
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Abstract
The purpose of this paper 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, the 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, 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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 3
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Demonstration with Screenshots:


Data Display of ODS before Archiving
a) Click context menu of ODS 0FIAP_O03

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 4
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

b) Select the below field selection for output.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 5
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

c) Select the Fiscal Year as 009.2007 and click

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 6
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 7
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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’.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 8
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 9
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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’.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 10
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 11
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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’.
Applicat 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).

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 12
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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’

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 13
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 14
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 15
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 16
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 17
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 18
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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’

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 19
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 20
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 21
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 22
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 23
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 24
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 25
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 26
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 27
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 28
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 29
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

click on button.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 30
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

button

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 31
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 32
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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


Step 27: Click on spool.

Step 28: Click on

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 33
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 34
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 35
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step 31: Click on Archive Selection.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 36
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 37
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 38
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 39
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

click on button.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 40
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 41
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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


a)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 42
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

b)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 43
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step-38: Data Display of ODS after Archiving

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 44
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 45
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 46
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 47
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step 42: Highlighted is the archived file.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 48
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

How to reload 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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 49
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 50
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step-3: Save the ODS as Local Object.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 51
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step-4: Activate the ODS.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 52
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 53
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step 6: Activate the transformations.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 54
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Steps 7 to 12: How to create DTP

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 55
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

b)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 56
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 57
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 58
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step -10: Below are the Update tab settings.


a)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 59
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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


a)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 60
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step-12: Data is updated into the ODS.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 61
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 62
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

b) Below is the reloaded data display.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 63
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 64
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step-2: Choose Goto and click Reload.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 65
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 66
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step-4: Choose Archive Selection. Maintain Variant.


a)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 67
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

b)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 68
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

c)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 69
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 70
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 71
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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


a)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 72
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

b)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 73
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step-8: Execute

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 74
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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


a)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 75
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

b)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 76
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

c) Below screen shows data been reloaded.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 77
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 78
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step 11: Check the Display Statistics.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 79
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

Step 12: The archived file has been reloaded.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 80
SAP-BI Step by Step Procedure for Data Archiving by ADK and Reloading Archived Data

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

Disclaimer and Liability Notice


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.

Copyright
© 2008 Satyam Computer Services Limited. 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 Satyam. The information contained herein may be changed without prior notice.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com


© 2008 SAP AG 81

También podría gustarte