ADK Process

Embed Size (px)

Citation preview

  • 8/14/2019 ADK Process

    1/81

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

    2008 SAP AG

    SAP-BI Step by Step Procedure forData Archiving by ADK andReloading 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_O03corresponding to the Fiscal Year/Period 009.2007 using ADK method. It discusses how the data is deletedfrom the archive files and then from the database. Finally once the data is on the application server it isreloaded into a separate/same data target. This paper is targeted at customers and SAP consultants who areinterested 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 workingin BI space for past 2 years and has rich SAP BW 3.5 and SAP BI NW 7.0 implementation experience inEnterprise Data Warehousing, Enterprise Reporting for solutions to Logistic and Finance industry. She hasworked on AGS and FI applications. ([email protected])

    Satyam SAP-BI Solutions Labs is a body of experienced and qualified SAP-BI consultants. Its mainobjective is to create cutting-edge technological solutions in the area of SAP-BI and create multiple ServiceOfferings for Satyams Customer base. The consultants of this group also offer functional and technicalconsulting services to its customers.

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/14/2019 ADK Process

    2/81

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

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

    2008 SAP AG

    Table of Contents

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

  • 8/14/2019 ADK Process

    3/81

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

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

    2008 SAP AG

    Abstract

    The purpose of this paper is to explain detailed technical procedure of ADK archiving, deleting and reloadingarchived data in the infoprovider. For archiving firstly create the logical file ZARCHIVE_TEST and physicalfile FIAP__.txt. Archive the data corresponding to the Fiscal Year/Period 009.2007 in theODS 0FIAP_O03 using archiving object BWOFIA~O03 and archive administration. Delete this data from theODS and again reload it from the archive back to the SAP BW system either in the copy of infoprovider orsame infoprovider. Latter is performed only when wrong data was archived due to errors in customizing orduring 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 purposepresently. But for some reasons we want to keep it as we may need to retrieve this data in future. This leadsto increase in BI database which makes the maintenance and administration efforts grow. In effect, the costfor process, personnel and technology grow. So we can remove this data from our data targets store it intoother data storage and reload to the system whenever required. Thus we can increase memory space andthe retrieval performance of the data at query runtime.

    Solution BenefitsThe main advantage of ADK archiving is it is a SAP-standard BW solution which is a comprehensiveprocedure for writing, deleting, and storing BW data. Hence, the consistency of the archived data isguaranteed. It allows the use of a blend of cost-effective data storage media. It is platform independent andhandles structural changes in the definition of BW elements. It has easy-to-use front end. Moreover, it offersreduction in resource consumption. The hardware costs for hard drives on the BI side where the online datawill 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 dataitself, it is capable of retrieving the archived data even after structural changes have been made. Thisdata 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 ArchivingInformation System. In BW, the customer has to define the InfoStructures for the respective archivingobjects, and fill them manually within AS customizing.

    Administration via transaction SARA: The scheduling, monitoring and management of the archivingsession can be performed with the standard transaction SARA.

  • 8/14/2019 ADK Process

    4/81

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

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

    2008 SAP AG

    Demonstration with Screenshots:

    Data Display of ODS before Archiving

    a) Click context menu of ODS 0FIAP_O03

  • 8/14/2019 ADK Process

    5/81

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

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

    2008 SAP AG

    b) Select the below field selection for output.

  • 8/14/2019 ADK Process

    6/81

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

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

    2008 SAP AG

    c) Select the Fiscal Year as 009.2007 and click

  • 8/14/2019 ADK Process

    7/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    8/81

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

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

    2008 SAP AG

    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 isas shown below and click on Assignment of Physical path.

  • 8/14/2019 ADK Process

    9/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    10/81

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

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

    2008 SAP AG

    Step-3: This step is just to check the physical path, since physical is the directory where we can check thearchive file in T.code AL11.

  • 8/14/2019 ADK Process

    11/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    12/81

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

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

    2008 SAP AG

    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__.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).

  • 8/14/2019 ADK Process

    13/81

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

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

    2008 SAP AG

    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 dataand click on Create Data Archiving Process. Here we are selecting 0FIAP_O03

  • 8/14/2019 ADK Process

    14/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    15/81

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

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

    2008 SAP AG

    Step-8: In the second tab Selection Profile, select the Characteristic for Time Slice here we have taken0FISCPER.

  • 8/14/2019 ADK Process

    16/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    17/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    18/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    19/81

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

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

    2008 SAP AG

    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 dont want to delete the data from the data target automatically we areselecting Delete Job as Not Schedule

  • 8/14/2019 ADK Process

    20/81

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

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

    2008 SAP AG

    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 thewrite phase the data to be archived is written sequentially into newly created archive files.

  • 8/14/2019 ADK Process

    21/81

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

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

    2008 SAP AG

    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.

  • 8/14/2019 ADK Process

    22/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    23/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    24/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    25/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    26/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    27/81

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

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

    2008 SAP AG

    Step-21: If you want to run immediately, click on Immediate or else select others and fill the detailsrespectively, here we are executing the job immediately, so select Immediate and click on save button asshown below.

  • 8/14/2019 ADK Process

    28/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    29/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    30/81

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

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

    2008 SAP AG

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

    click on button.

  • 8/14/2019 ADK Process

    31/81

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

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

    2008 SAP AG

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

    button

  • 8/14/2019 ADK Process

    32/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    33/81

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

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

    2008 SAP AG

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

    Step 27: Click on spool.

    Step 28: Click on

  • 8/14/2019 ADK Process

    34/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    35/81

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

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

    2008 SAP AG

    Steps 30 to 40: How to delete the data (which is archived) from the ODS 0FIAP_O03The 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.

  • 8/14/2019 ADK Process

    36/81

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

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

    2008 SAP AG

    Step 31: Click on Archive Selection.

  • 8/14/2019 ADK Process

    37/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    38/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    39/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    40/81

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

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

    2008 SAP AG

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

    click on button.

  • 8/14/2019 ADK Process

    41/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    42/81

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

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

    2008 SAP AG

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

    a)

  • 8/14/2019 ADK Process

    43/81

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

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

    2008 SAP AG

    b)

  • 8/14/2019 ADK Process

    44/81

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

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

    2008 SAP AG

    Step-38: Data Display of ODS after Archiving

  • 8/14/2019 ADK Process

    45/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    46/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    47/81

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

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

    2008 SAP AG

    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.

  • 8/14/2019 ADK Process

    48/81

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

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

    2008 SAP AG

    Step 42: Highlighted is the archived file.

  • 8/14/2019 ADK Process

    49/81

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

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

    2008 SAP AG

    How to reload the archived data?

    Once the data has been archived on the application server it is stored externally by basis team on separatemagnetic tapes and other storage devices. Whenever such data is again required for reporting the basisteam can bring it back on application server easily. Once it is on the application server it can be reloadedinto 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 datatarget or reload into the same infoprovider. It is recommended that you reload the archived data into the copyof 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 ownInfoProvider. You also can combine reloaded data with current data via MultiProviders for better queryperformance 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 wasarchived due to errors in customizing or during document selection. Therefore, data should only be reloadedimmediately after the erroneous archiving session. If you reload the data later you may end up withinconsistencies 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.

  • 8/14/2019 ADK Process

    50/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    51/81

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

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

    2008 SAP AG

    Step-3: Save the ODS as Local Object.

  • 8/14/2019 ADK Process

    52/81

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

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

    2008 SAP AG

    Step-4: Activate the ODS.

  • 8/14/2019 ADK Process

    53/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    54/81

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

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

    2008 SAP AG

    Step 6: Activate the transformations.

  • 8/14/2019 ADK Process

    55/81

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

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

    2008 SAP AG

    Steps 7 to 12: How to create DTP

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

    a)

  • 8/14/2019 ADK Process

    56/81

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

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

    2008 SAP AG

    b)

  • 8/14/2019 ADK Process

    57/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    58/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    59/81

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

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

    2008 SAP AG

    Step -10: Below are the Update tab settings.

    a)

  • 8/14/2019 ADK Process

    60/81

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

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

    2008 SAP AG

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

    a)

  • 8/14/2019 ADK Process

    61/81

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

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

    2008 SAP AG

    Step-12: Data is updated into the ODS.

  • 8/14/2019 ADK Process

    62/81

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

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

    2008 SAP AG

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

    a)

  • 8/14/2019 ADK Process

    63/81

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

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

    2008 SAP AG

    b) Below is the reloaded data display.

  • 8/14/2019 ADK Process

    64/81

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

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

    2008 SAP AG

    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.

  • 8/14/2019 ADK Process

    65/81

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

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

    2008 SAP AG

    Step-2: Choose Goto and click Reload.

  • 8/14/2019 ADK Process

    66/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    67/81

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

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

    2008 SAP AG

    Step-4: Choose Archive Selection. Maintain Variant.

    a)

  • 8/14/2019 ADK Process

    68/81

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

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

    2008 SAP AG

    b)

  • 8/14/2019 ADK Process

    69/81

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

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

    2008 SAP AG

    c)

  • 8/14/2019 ADK Process

    70/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    71/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    72/81

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

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

    2008 SAP AG

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

    a)

  • 8/14/2019 ADK Process

    73/81

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

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

    2008 SAP AG

    b)

  • 8/14/2019 ADK Process

    74/81

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

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

    2008 SAP AG

    Step-8: Execute

  • 8/14/2019 ADK Process

    75/81

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

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

    2008 SAP AG

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

    a)

  • 8/14/2019 ADK Process

    76/81

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

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

    2008 SAP AG

    b)

  • 8/14/2019 ADK Process

    77/81

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

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

    2008 SAP AG

    c) Below screen shows data been reloaded.

  • 8/14/2019 ADK Process

    78/81

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

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

    2008 SAP AG

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

  • 8/14/2019 ADK Process

    79/81

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

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

    2008 SAP AG

    Step 11: Check the Display Statistics.

  • 8/14/2019 ADK Process

    80/81

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

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

    2008 SAP AG

    Step 12: The archived file has been reloaded.

  • 8/14/2019 ADK Process

    81/81

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

    Related Contenthttps://www.sdn.sap.com/irj/sdn/inf?rid=/webcontent/uuid/ef1b00f7-0a01-0010-74ab-e9260e80a441http://help.sap.com/saphelp_nw2004s/helpdata/en/ad/b594429d7c0631e10000000a1550b0/frameset.htmhttp://www.thespot4sap.com/Articles/SAP_Data_Archiving_ADK_ArchiveLink.asp

    Disclaimer and Liability NoticeSAP will not be held liable for any damages caused by using or misusing the information, code or methodssuggested 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 ofthis technical article or code sample, including any liability resulting from incompatibility between the contentwithin this document and the materials and services offered by SAP. You agree that you will not hold, orseek 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 expresspermission of Satyam. The information contained herein may be changed without prior notice.