Professional Documents
Culture Documents
Data Archiving Design Rev3
Data Archiving Design Rev3
No: Revision 2
Date: Wednesday, May 20, 2009
© 2008 Pt Devi Ratna
All rights are reserved. No part of this document may be photocopied, reproduced without prior consent of Pt Devi Ratna.
This document contains proprietary and confidential information. All data submitted to PT Golden Bird Metro is provided in reliance
upon its consent not to use or disclose any information contained herein except in the context of it business dealings with Pt Devi
Ratna.
Page 2 of 31
Content
1 Description of Project.......................................................................................................................5
2 Key Requirements.............................................................................................................................5
3 Functional Scope...............................................................................................................................6
3.2 Data Archiving of the 7 custom archiving objects for enhancement modules................................6
4 System Analysis.................................................................................................................................6
4.1 Overview...........................................................................................................................................6
5 Recommendations............................................................................................................................6
Page 3 of 31
Purpose of this documentation is the analysis of the TPC and PCS SAP database and to
recommend a data archiving and management strategy with the goals of compliance and
database reduction in mind. In addition the design of one document archiving scenario is
detailed in this document.
Page 4 of 31
1 Description of Project
PTDR will implement a SAP data and document archiving solution for Blue Bird. We understand
the challenges the Blue Bird is facing in terms of keeping the SAP production database at a
healthy size.
PTDR’ has carried out an detailed database analysis for Blue Bird and believes that data
archiving with 6 standard and 7 non-standard objects will significantly reduce the database size
and reduce its future growth to keep it under control.
Bleu Bird can also expect improved performance and reduced backup times. Document
archiving will reduce the process of manual filing paper documents and at the same time enable
users to locate and display an electronic copy in the shortest time possible.
PTDR will also introduce one document archiving scenario for billing documents from the billing
enhancement
2 Key Requirements
The following key requirements have been identified as part of the initial database and system
review:
d) Document archiving in general will be introduced at a later stage - however archiving of billing
documents from the billing enhancement will be implemented immediately.
e) Archiving in financial accounting, materials management and plant maintenance will initially
move the years 2004 to 2006 from the SAP database to the archive server. This
corresponds to a residence time were the actual financial year plus another two years
remain in the SAP database and older documents will be archived.
f) Blue Bird requested to archive data from the following enhancement modules:
Page 5 of 31
3 Functional Scope
Important Update: On Tuesday 19-May-2009 Bluebird requested to change the scope from 7
custom and 6 standard archiving objects to 6 custom and 7 standard archiving objects.
a) Archiving Process
Data archiving will be executed using SAP standard archiving functionality and archived
data will transferred via SAP ArchiveLink to the Opentext Archive Server for long term
storage. The scope includes the implementation of 7 standard data archiving objects.
Blue Bird users will be able to display standard archived documents with SAP standard
functionality such as
This is limited to the standard access functions offered by SAP for each archiving
object. Access to archived data via the above functions may be different for each
archiving object.
Opentext Doculink
Opentext offers standard scenarios which enable users to conveniently locate and
display archived and online documents in an explorer-like view together with all
related objects.
Example: Search and display of archived and online materials documents with related
financial documents, material ledger documents and controlling documents or
purchase orders. (Please note that these standard scenarios might need to be
purchased at extra costs from Opentext depending on the license agreement.)
PTDR will implement a maximum of one Opentext standard scenario for each
standard archiving object.
3.2 Data Archiving of the 6 custom archiving objects for enhancement modules
Custom archiving objects will be created for data archiving in enhancement modules which
includes creation of custom archiving objects and write and delete programs for the same.
The implementation of 6 custom objects should be sufficient to reduce the overall database size
and improve performance. Additional custom objects can be implemented at a later stage.
Page 6 of 31
a) Archiving Process
PTDR will implement custom archiving objects and data archiving will be executed using SAP
standard archiving functionality. Archived data will transferred via SAP ArchiveLink to the
Opentext Archive Server for long term storage.
Display of data archived with these custom archive objects will be realized via Opentext
Doculink and archive information system.
Implementation of 1 document archiving scenario for billing documents from the enhancement
module BILLING. Search and display for these documents will be realized via Opentext Doculink.
Page 7 of 31
4 System Analysis
This section outlines the result of the detailed database analysis of the production database and
recommends the data archiving objects to be implemented according to the project scope.
4.1 Overview
The current used and free space of the database is as show below:
The database analysis compromised tables with a size larger than 1024 KB which in total sum up
to 80% of the used database space. Tables with a smaller size are either system tables or from
not activated modules and functions.
Data archiving in SAP is defined by archiving objects. Archiving objects combine records from
several tables that belong together like a business object (e.g. financial document, sales order
and purchasing order). This ensures that records can be displayed from the archive in a
meaningful way.
Tables and their respective archiving object(s) can be determined using transaction DB15. One
table can belong to multiple archiving objects as some tables containing address or change log
data are shared by multiple business objects.
Some tables are not assigned to archiving objects because they are system tables or temporary
tables that may grow to a certain extend but the size be maintained with standard SAP
functionality (e.g. tables which belong to SAP spool).
Page 8 of 31
4.3 Biggest Tables and the related Archiving Objects
In order to achieve the goal to significantly reduce the database size the biggest archiving
objects should be prioritized for this project. Blue Bird may later introduce further archiving
objects if necessary.
*1
Archiving MM subsequent posting data (generate in background). Please note that this is
purely background data and no transaction exists to display those records.
*2
Please refer to 4.4 for information about custom archiving objects and sizes.
The above calculations show that with the selected (highlighted above in green)
standardarchiving objects plus 7 custom archiving objects Blue Bird will be in control of around
87 % of the tables with transactional data. How much can be initially archived depends on the
document distribution by year for each archiving object.
Page 9 of 31
4.4 Custom Archiving Objects
Custom archiving objects need to be created for the archiving of custom tables in SAP. Blue Bird
intends to archive the following 7 custom archiving objects and the related tables:
Archiving
No Description Size in KB %
Object
1 ZZ_BILL Billing for Voucher, Sales Order and Misc. Charges 7,141,376 16 %
2 ZZ_FLEH Fuel Consumption 12,751,872 29 %
3 ZZ_ARGO Meter Reader 9,394,176 21 %
5 ZZ_COPA COPA from Taxi Meter 6,098,944 14 %
6 ZZ_DMLOAN Driver Management: Loans 3,364,864 8%
7 ZZ_DMSAVE Driver Management: Savings 5,053,440 12 %
Total for all Objects 43,804,672 100%
Please note that the difference in the totals of this table (43,804,672) and the table in chapter
4.3 (37,007,360) derives from different approaches. While the table in chapter 4.3 only
considers 80% of the used space this table considers all tables related to the custom archiving
objects and is therefore more precise.
The following is a scanned sample of the document to be archived as outgoing document. The
relevant billing information is printed by SAPScript on a form in several copies. One copy will be
stored automatically on the archive server whenever a document is printed.
Page 10 of 31
5 Recommendations
This chapter proposes a data and document archiving solution according to the project scope:
Residence time is the time a certain document (record) is remaining in the SAP R/3 database
before it is archived.
As a recommendation Bluebird should leave documents from the current fincancial year plus
another two years on the database. Bluebird may also opt for a shorter residence time but
should in any case leave the current plus another complete year in the database. Residence
times need to be discussed between management, IT and functional departments.
It might be easier or users if a common residence time is decided throuout the company.
Page 11 of 31
5.1.2.2 Document Distribution
The following tables show the document distribution for the archiving objects. How much
records can be initially removed the database to the storage system depends on the document
distribution.
Number of records in % highlighted in green could be archived with a residence time of current
plus another 2 years.
Page 12 of 31
Archiving Object EC_PCA_ITM
Year Number of Documents in % Accumulated % of Total
2004 6% 6%
2005 21 % 27 %
2006 24 % 51 %
2007 21 % 72 %
2008 21 % 93 %
2009 7% 100 %
Archiving Object Billing for Voucher, Sales Order and Misc. Charges
Year Number of Documents in % Accumulated % of Total
2004 5% 5%
2005 13 % 18 %
2006 16 % 34 %
2007 25 % 59 %
2008 30 % 89 %
2009 11 % 100 %
Page 13 of 31
Year Number of Documents in % Accumulated % of Total
2004 9% 9%
2005 19 % 28 %
2006 18 % 46 %
2007 21 % 67 %
2008 24 % 91 %
2009 9% 100 %
Page 14 of 31
5.1.3 Access to Archived Data
The following gives an overview how users can access archived data. How access is realized is
different for each archiving object.
We are talking about single document access when the display of archived data is realized with
the same transaction as for online data or in a similar way. Example is transaction FB03 which
can display archived and online data. This access method is only available for a selected number
of archiving objects.
5.1.3.2 Reports
A selected number of reports, for example in financial accounting and controlling, can read from
online and archive or from either online or archive.
In case a certain report does not read from archive and the information is lost after archiving
then a sapshot of this report can be archived in form of a print list prior to archiving. This report
can be displayed in its original form at any time later.
Doculink gives users access to documents in an explorer like form. Doculink can display online
and offline records side by side. In addition archived (paper) documents can be displayed as
well. Below find an example to illustrate access with Doculink.
Page 15 of 31
5.1.4 Standard Archiving Objects
5.1.4.1 PM_ORDER
5.1.4.1.1 Description
Documents must meet the following criteria before they can be archived:
Note: If Blue Bird chooses to archived maintenance notifications with archiving object
PM_QMEL then historical maintenance orders cannot be created as a condition of PM_QMEL
archiving. Display functionality with transactions IW33. IW63, IW39 is not possible and display is
possible only with archive information system in similar form as IW33 but reduced functionality.
Note: The archiving program for plant maintenance orders also archives the related purchase
requisitions. These purchase requisitions are therefore not selected by the archiving program for
object MM_EBAN.
Note: Some of the conditions may not apply to Blue Bird if PR’s are not created directly from the
PM_ORDER.
Change Date
Planning Plant (if required)
Order Type: Exclude SO
Page 16 of 31
5.1.4.1.4 Access to Archived Documents
Page 17 of 31
5.1.4.2 COPA1_BB00
5.1.4.2.1 Description
There are no specific checks for the archiving of line items beside the residence time or specific
selections in the archiving program variant.
Reports:
Page 18 of 31
5.1.4.3 MM_ACCTIT
5.1.4.3.1 Description
The archiving object MM_ACCIT is used to archive Materials Management (MM) subsequent
posting data. Postings made in the Inventory Management (MM-IM) and Invoice Verification
(MM-IV) application components update Accounting-relevant information in tables ACCTHD,
ACCTIT, and ACCTCR. Records updated in these tables are only background interface data and
there is no transaction or report to display them.
There are no specific checks for the archiving of line items beside the residence time or specific
selections in the archiving program variant.
Reports:
Page 19 of 31
5.1.4.4 FI_DOCUMNT
5.1.4.4.1 Description
Documents must meet the following criteria before they can be archived:
The document must not contain any open items. The system can only archive documents
containing cleared items or those not managed on an open item basis.
Documents with withholding tax must meet country-specific retention requirements.
Sample, recurring and parked documents cannot be archived.
Reports:
Page 20 of 31
5.1.4.5 EC_PCA_ITM
5.1.4.5.1 Description
Archiving object EC_PCA_ITM archives line item records from profit center accounting. Totals
will not be archived.
When Profit Center Accounting is active, additional line items and totals records are created for
each profit-related transaction posted in the R/3 System. Consequently, Profit Center
Accounting is not complete for a period until all the profit-related transactions for the period
have been posted. SAP recommends that you wait until this is the case before archiving the
profit center transaction data for the period. However, there are no checks for this during
archiving.
Reports:
Page 21 of 31
S_ALR_87013345 Profit Centers: Customers Online & Archived
S_ALR_87013346 Profit Centers: Vendors Online & Archived
S_ALR_87013347 Profit Centers: Assets Online & Archived
S_ALR_87013348 Profit Centers: Materials Online & Archived
S_ALR_98013349 Profit Center: Average Balance Year to Date/Accounts Online & Archived
S_ALR_98013350 Profit Center: Average Balance Year to Date/Profit Center Online & Archived
S_ALR_98013351 Profit Center: Average Balance by Period/Account Online & Archived
S_ALR_98013352 Profit Center: Average Balance by Period/Profit Center Online & Archived
S_P99_41000117 PCA Actual Data: Transfer to SAP EIS Online & Archived
S_P99_41000118 PCA Plan Data: Transfer to SAP-EIS Online & Archived
Page 22 of 31
5.1.4.6 PM_QMEL
5.1.4.6.1 Description
Documents must meet the following criteria before they can be archived:
Note: If Blue Bird chooses to archived maintenance notifications with archiving object
PM_QMEL then historical maintenance orders cannot be created as a condition of PM_QMEL
archiving. Display functionality with transactions IW33. IW63, IW39 is not possible and display is
possible only with archive information system in similar form as IW33 but reduced functionality.
Notification number
Equipment number
Functional location
Please note that when the plant maintenance order is business completed the related
notification is also completed. The notification must be completed as a condition for archiving.
Therefore the above selection can be left empty so all archivable notification will be selected
automatically.
Page 23 of 31
5.1.4.7 PM_IMRG
5.1.4.7.1 Description
Documents must meet the following criteria before they can be archived:
You can only delete complete measurement document areas, this means, from the first
measurement document entered until a key date. You cannot archive and delete individual
measurement documents.
At least one measurement document is usually retained when archiving. This is the latest
non-canceled measurement document. However, in the following cases, more than one
measurement document is retained:
If there are several measurement documents with the same entry date and the same
(exact to the second) entry time, then all of the “latest” measurement documents
are retained. This can occur, for example, when you enter test data.
Measuring Point
Until Measuring Time
Page 24 of 31
5.1.5 Custom Archiving Objects
5.1.5.1.1 Description
Custom archiving for enhancement module/function “Billing for Voucher, Sales Order and Misc
Charges”.
Documents must meet the following criteria before they can be archived:
The record must have been posted to financial accounting. Check for flag ZTBILL.
Billing Date
Billing Number
Page 25 of 31
5.1.5.2 Fuel Consumption
5.1.5.2.1 Description
Documents must meet the following criteria before they can be archived:
Bluebird has not given any criteria yet, however this can be specified during the
implementation phase of this project.
Financial Year
Document Number
Page 26 of 31
5.1.5.3 Meter Reader
5.1.5.3.1 Description
Documents must meet the following criteria before they can be archived:
Bluebird has not given any criteria yet, however this can be specified during the
implementation phase of this project.
Date
Document Number
Page 27 of 31
5.1.5.4 Profitablility Analysis from Taxi Meter
5.1.5.4.1 Description
Documents must meet the following criteria before they can be archived:
Bluebird has not given any criteria yet, however this can be specified during the
implementation phase of this project.
Date
Document Number
Page 28 of 31
5.1.5.5 Driver Management: Loans
5.1.5.5.1 Description
Documents must meet the following criteria before they can be archived:
Bluebird has not given any criteria yet, however this can be specified during the
implementation phase of this project.
Document Year
Document Number
Page 29 of 31
5.1.5.6 Driver Management: Savings
5.1.5.6.1 Description
Documents must meet the following criteria before they can be archived:
Bluebird has not given any criteria yet, however this can be specified during the
implementation phase of this project.
Document Year
Document Number
Page 30 of 31
5.2 Document Archiving
The below illustration describes the document archiving solution in the “Billing” enhancement
module:
1. Initially the empty form without any data is archived with a form ID to the archive server.
2. Each time the document is printed a copy is archived to the archive server and the current
form ID is assigned to it.
3. When the user wants to display the archived document he searches for the document in
Opentext Doculink for SAP. When the document is found in SAP a simple doubleclick will
open the Opentext Viewer and the document is displayed. The viewer will overlay the
archived data and form automatically.
5. Whenever a new form revision is created it needs to be scanned and archived with
Opentext forms management for SAP. A new form ID will be assigned. New documents will
be assigned to this form while older documents will be displayed with the previous form.
Page 31 of 31