You are on page 1of 49

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.

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.
Demonstration with Screenshots:
Data Display of DSO before Archiving
a) Click context menu of DSO 0FIAP_O03
b) Select the below field selection for output.
c) Select the Fiscal Year as 009.2007 and click
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.
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’.
Step-2: You can see different syntax groups which are shown below, select and double click on
‘Windows NT’.
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’.
Step-4: Select ‘Logical File Name Definition’ and click on ‘New Entry’ which is shown as below.
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).
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’
Step-7: In the first tab ‘General Settings’, select the check box ‘ADK- Based Archiving’. Here the Archiving
object name generates automatically.
Step-8: In the second tab ‘Selection Profile’, select the ‘Characteristic for Time Slice’ here we have
taken ‘0FISCPER’.
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.
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.
Step-11: In the below screen you can see that all infoobjects are move to left side.
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:AfterData archiving, as we don’t want to delete the data from the data target automatically we are
selecting ‘Delete Job’ as ‘Not Schedule’
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.
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.
Step-16: In the first tab ‘Primary Time Restriction’, fill all the details as shown below.
Step-17: In the second tab ‘Further Restrictions’ fill the details if you want to archive data based on
selection condition.
Step-18: Once you fill the necessary details in both the tabs, click it will pop up a screen which is
on shown below, click on save. as
Step-19: Enter the Variant Meaning, save and click on .
Step-20: Click on ‘Start Date’ as shown below.
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.
Step-22: Click on ‘Spool Params’ as shown below.
Step-23: Enter the output Device name ‘LP02’ as shown below and click on enter.
Step-24: Once you fill the ‘Start Date’ & ‘Spool Params’ you should see the lights are in green color. Now
click on button.
Step -25: To see the statistics of the archiving session and monitor the progress of the jobs press the ‘Job’

button
Step 26: When the job is finished it shows the details of the activities performed.
Steps 27 to 29: How to see graphical display to spool request
Step 27: Click on spool.

Step 28: Click on


Step 29: Below is the graphical display to spool request.
Steps 30 to 40: How to delete the data (which is archived) from the DSO 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.
Step 31: Click on Archive Selection.
Step 32: Select the archived file whose infoprovider data has to be deleted.
Step 33: Click on ‘Start Date’ as shown below and click on ‘Immediate’.
Step-34: Click on ‘Spool Params’ as shown below and enter the output Device name ‘LP02’ as shown
below and click on enter.
Step-35: Once you fill the ‘Start Date’ & ‘Spool Params’ you should see the lights are in green color. Now
click on button.
Step-36: Job Overview shows the DSO data corresponding to the Fiscal Yr -009.2007 is deleted.
Step-37: Below is the spool graphical display of spool
request. a)
b)
Step-38: Data Display of DSO after Archiving
Step 39: Press ‘Statistics’ button to view the database and status information.
Step 40: Below is the detailed display of statistics of data archiving.
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.
Step 42: Highlighted is the archived file.
Reloading the archived data
Thank you for using www.freepdfconvert.com service!

Only two pages are converted. Please Sign Up to convert all pages.

https://www.freepdfconvert.com/membership

You might also like