ArchivingStrategy
Overview TheoverallobjectiveofanSAPERParchivingistomanagethegrowthoftheSAPERP databasetherebyensuringlong-termsystemstabilityandperformanceaswellas implementadocumentarchivingsolutiontoensurethatlegalandbusinessrequirements aresatisfied. Archivingremovesobsolete,expired,orrarelyaccesseddatafromthedatabase.Regular archivingensurestheaccesstimeforon-lineinformationiskepttoaminimum,allows jobstobeprocessedfaster,andmakesmoreefficientuseofmemoryresources,storage andbackupfacilities. SAPERPallowstheclienttoarchivedatafromtheapplicationwhileretainingitonthe systemforinterrogationorreloading.Datainthearchivefilescanbedisplayedusing eithertheapplicationorreports.Datatobearchivediscopiedtoanewlocationandthen deletedfromtheSAPERPdatabase.Thistwo-stepprocessprovidesdatasecurity.The archiveddatacanstillbedisplayedon-linebutcannolongerbemodified. Archivingisnottheonlysolutiontomanagingdatabasegrowthandimproving performanceandshouldnotbeseeninanisolatedmanner.AnoverallDataManagement Strategyevaluate StrategyevaluatesDataPreven sDataPrevention,DataAgg tion,DataAggregation,a regation,andDataDele ndDataDeletionaswellas tionaswellasData Data Archiving.
ArchivingProjectImplementationRoadmap Thefollowingdiagramdepictstherecommendedphasesforplanningandexecutingan SAPDataArchivingproject.
ThefollowingtablesetsoutthetasksrequiredtodesignandimplementanSAP Archivingproject. ProjectTasks No. Task 1. EstablishArchivingTeam Theprojectteammustbeestablishedandthearchivingplandocumented andcommunicatedtotheteamwithactivities,timelines,deadlinesand roles&responsibilities.Anarchivingkick-offmeetingshouldbe conductedwithallparticipants. Archivingprojecttechnicallead(consultant) Archivingadministrator(customer) BusinessProcessTeamrepresentatives(customer) Legal/auditrepresentatives(customer) ITrepresentatives(customer) 2. ArchivingWorkshops Archivingworkshopsshouldbeconductedtodefinetheobjectsoneshould archiveandtheresidencyrequirementsforeachobjectidentified.The • • • • •
ProjectTasks No. Task requirementforarchivingisbothtechnicalandbusinessdriven.The businessrequirementsforarchiveddatawillbecapturedinthisprocess. Theprimaryinformationtobegatheredisdatathatcanbearchivedand theidentificationofresidenceperiodsforthisdata. 3. DesignArchivingManagementStrategy Inthistaskthebusinessprocessownersfurtherdefinethearchivingcycles fortheapplicationsascapturedintheArchivingWorkshop.Thefollowing affectthestrategyforarchivingapplication(business)data: Technical-Identifydatavolumesthatensuresoptimumthroughput fromthetechnicalimplementationperspective.Thiscanbeidentified basedonhistoricalSAP4.5bvolumesandonSAPrecommendations forfastgrowingtables. Business–Identifybusinessdatathatmustbestoredinthelive ERP2005Systemforinternalanalysis,tomeetcommercialandlegal requirements,ortomeetgrouprequirements.Identifyresidenceand retentionperiods. Inaddition,variousmigrationapproachesforcurrentlyarchivedSAPR/2 datawillbeevaluated.Thiswillbeperformedinconjunctionwiththedata conversionteam. 4. IdentifyBusinessObjectTypes Basedondatatobearchivedasidentifiedintheprevioustask,relatedSAP BusinessObjects(BOs)areidentified. ThistaskdefinesallSAPstandardBOtypesinuse(transactionormaster data)forwhichthearchivingmanagementwillberequired. TheoutcomefromthistaskisalistofBOtypesinthevariousmodules. 5. DefineResidencePeriodforBusinessObject(BO)Types TheaimofthistaskistodefineresidenceperiodsforallSAPstandardBO typesinuse(transactionormasterdata).Thiswillbebasedoncurrent residenceperiodsinSAPR/2andtherequirementscapturedintheBPDs. 6. EvaluateandSelectArchiving/StorageSolutionforArchiveFiles Thistaskdeterminesasolutionforboththestorageandretrievalof archiveddata.TheevaluationincludestheSAPstandardsolution(ie.no externalstoragesolutionandnothirdpartyquerysoftware). 7. CreatePreliminaryArchivingManagementConcept Theaimofthistaskistocreatethedefinitionofthepreliminaryarchiving managementconceptforselectedBusinessObjecttypes. ForeveryselectedBOtype,anarchivingmethodhastobeidentified.In mostcases,therewillbeanArchivingObject(AO)available. Basedonthegatheredinformation,apreliminaryconceptisdefinedand documentedasabasisfortheprototype. 8. CreateArchivingManagement Theprocessofarchivingbusinessdataisdefinedbytheexternal applicationifused.Thepurposeofthisactivityistodeterminethe archivingstrategyforthecorebusinessprocessesintheR/3Systeminthe •
•
ProjectTasks No. Task contextofthetechnicalimplementationprocess. Thistaskestablishesanarchivingmanual,basedontheinformation gathered,torecordstandardproceduresandschedules,andwhattodoin exceptionalcircumstances. 9. PrototypeArchiveManagementConcept Thistaskprototypesthepreliminaryarchivingmanagementconceptwith allbusinesscases/scenariosontheclientwheretheconsideredBOtypes willbeused,coveringbotharchivingandretrievalfunctionality. Duringtheprototyping,initiallydefinedSAPresidenceperiodscanbe challenged.Thetimetokeepdataonlinemightbereducediftheavailable retrievalfunctionalityisdemonstratedtousers. 10. ConstructArchivingManagement Theaimofthistaskistoset-uparchivingmanagementintheSAPsystem byperformingtherequiredapplication,technicalandbasiscustomisingfor eachArchivingObject 11. TestArchivingProcedures Thistasktestsarchivingforeachbusinessprocedureandarchivingobject. Thestepstotakewillbeagreedwiththeapplicationteammembers responsible. 12. ReviewArchiving Reviewofthearchivingsessionsdefinedinthearchivingmanual,and releaseofthestandardprocedureforarchivingbasedonthetestsinthe previousstep.Theownersoftheapplicationsmustbeinvolvedin reviewingarchiving. 13.. FinalizeArchivingManagementConceptandSignoff Finalizethearchivingmanagementconceptandobtainproject managementapproval/signoff.
Post-ProjectTasks No. Task 14. InitialArchiveinProduction Inthistask,theinitialperiodicarchivingrunwillbeperformed.This includesareviewofthearchiverunsbybusinessrepresentativesandthe productiondeletionrun. 15. EvaluateEffectivenessofArchiving AspartofthePost-implementationreview,itisimportanttoreviewthe adequacyoftheimplementedArchivingprocedures.Thisshouldincludea reviewofdatabaseandtablegrowthratestoidentifyanyadditionalobjects thatshouldbearchived.Thisshouldalsoincludeareviewofbusiness processprocedurestoensurethattransactiondataisprocessed appropriatelytoallowforarchiving,ie.transactionsareclosedcorrectly.
Thefollowingtablesgiveanoverviewoftheobjectsthatareavailablewithineach businessprocessarea.
FI-FinancialAccounting ObjectsinFinancialAccounting
ArchivingObject
Assetdata
AM_ASSET
Bankdatastorage
FI_ELBANK
Bankmasterdata
FI_BANKS
Accountingdocuments
FI_DOCUMNT
Budgethierarchydocuments(FundsManagement)
FM_BUDHIE
COpostingdocuments(FundsManagement)
FM_DOC_CO
Customermasterdata
FI_ACCRECV
Lineitems(consolidation)
FI_LC_ITEM
FIaccountingdocument(FundsManagement)
FM_DOC_FI
Cashjournaldocuments
FI_TCJ_DOC
Vendormasterdata
FI_ACCPAYB
Earmarkedfundsdocuments(FundsManagement)
FM_FUNRES
Commitmentandfundstransferdocuments(Funds Management)
FM_DOC_OI
G/Laccountmasterdata
FI_ACCOUNT
Checkdata
FI_SCHECK
Totalsrecords(Consolidation)
FI_LC_SUM
Totalsrecordsandlineitems(consolidation) (Reload,delete,andreadonly)
FLC_OBJECT
Totalsrecordsandlineitems(SpecialPurpose Ledger)
FI_SL_DATA
Transactionfigures
FI_MONTHLY, FI_TF_CRE, FI_TF_DEB, FI_TF_GLC, FI_TF_GLF
Paymentrequests
FI_PAYRQ
SD-SalesandDistribution ObjectsinSD
Archivingobject
Salesdocuments
SD_VBAK
BillingDocuments
SD_VBRK
Salesactivities
SD_VBKA
Conditions
SD_COND
Customermasterdata
FI_ACCRECV
Controlling Objects in Controlling
Archiving Object
COlineitems
CO_ITEM
Lineitems/Totalsrecordsfromreconciliation ledger
CO_CEL_RCL
Lineitems(costcenter)
CO_ITEM
Totalsrecords(costcenter)
CO_TOTAL
Masterdata(costcenter)
CO_CCMAST
Fullyreverseddocuments(costcenter)
CO_ALLO_ST
Orderswithtransactiondata
CO_ORDER
Businessprocesses
CO_PROCESS
Settlementdocuments
CO_KABR
Materialcostestimatedata
CO_COPC
Baseplanningobjectdata
CO_BASEOBJ
Costobjectdata
CO_KSTRG
Materialledgerdata
CO_ML_DAT
Materialledgerdocuments
CO_ML_BEL
Materialledgerindexes
CO_ML_IDX
Transactiondataforcosting-basedprofitability analysis
COPAA_xxxs, COPAB_xxxx, COPA1_xxxx (obsolete)
Transactiondataforaccount-basedprofitability analysis
COPA2_xxxx
Profitabilitysegmentsforcosting-based/accountbasedprofitabilityanalysis
COPAC_xxxx
FundsManagement ObjectsinFundsManagement
ArchivingObject
Earmarkedfunds
FM_FUNRES
Budgethierarchydocuments
FM_BUDHIE
Budgetentrydocuments
FM_BUDENT
FIpostings
FM_DOC_FI
COpostings
FM_DOC_CO
Commitmentsandfundstransfers
FM_DOC_OI
Commitments/actualstotalsrecords
FM_ACTSUM
Budgettotalsrecords
FM_BUDSUM
LO–LogisticsGeneral Objects in Logistics
Archiving Object
Materials
MM_MATNR
SpecialStocks
MM_SPSTOCK
StatisticalData
MC_Snnn
SelectionVersions
MC_SELVS
GeneralSiteData
WS_ACSITE
PricingDocuments
W_KALK
Singlesettlementrequests
WZR
Settlementrequestlists
WREG
VendorBillingDocuments
WLF
Postinglists
WBU
Remunerationlists
WRECH
Customersettlements
WCI
Expensesettlementdocuments
WSI
AdditionalsDocument
WTADDI
ChangeMasterRecords
LO_CHANGEM
Handlingunits
LE_HU
PackingInstructionsforHandlingUnits
VHU_PI
LE-LogisticsExecution ObjectsinLE
ArchivingObjects
WarehouseManagementRecords
RL_*
Deliveries
RV_LIKP
ShipmentDocuments
SD_VTTK
ShipmentCostDocuments
SD_VFKK
MM-MaterialsManagement ObjectsinMaterialsManagement
ArchivingObject
Purchaserequisitions
MM_EBAN
Externalpurchasingdocuments
MM_EKKO
Purchasinginforecords
MM_EINA
Servicemasterrecords
MM_ASMD
Materialdocuments
MM_MATBEL
Physicalinventorydocuments
MM_INVBEL
Historyrecordsforthestockvaluetables
MM_HDEL
Invoicedocuments
MM_REBEL
PlantMaintenance ObjectsinPlantMaintenance
ArchivingObject
Piecesofequipment
PM_EQUI
Functionallocations
PM_IFLOT
Serialnumberhistory
PM_OBJLIST
Measurementdocuments
PM_IMRG
Maintenancenotifications
PM_QMEL
Servicenotifications
SM_QMEL
Maintenanceandserviceorders
PM_ORDER
Tasklists
PM_PLAN
Maintenanceplans
PM_MPLAN
Object links
PM_NET
Installations
PM_IBASE
Workapprovals(WCM)
WCM_WAP
Applications(WCM)
WCM_WAPI
Workclearancedocuments(WCM)
WCM_WCD
PP-ProductionPlanningandControl ObjectsinPP BillsofMaterial ProcessOrders MasterRecipe ProductionOrders XSteps Routings WorkCentersand Capacities BackflushDocuments
ArchivingObject CS_BOM PR_ORDER PI_PLAN PP_ORDER CMX_XSTEPS PP_PLAN PP_WKC PP_BKFLUSH
PS-ProjectSystem ObjectsintheProjectSystem
Archivingobject
Operativeprojectstructures
PS_PROJECT
Standardnetworks
PS_PLAN
Documentsfortransferpriceagreementsand transferpriceallocations
CO_FIXEDPR
HR-HumanResources Objects in HR
Archiving Object
PAlong-termdocuments
PA_LDOC
Payrollresults
PA_CALC
Timeevaluationresults
PA_TIME
Tripdata
PA_TRAVEL
Payrolldocumentsforpostingdatato Accounting
PA_PDOC
IndexfilesforpostingdatatoAccounting
PA_PIDX
Accountdataforpensionfund
PA_PFUND
HRobject
BC_HROBJ
Cross-Application Time Sheet
CATS_DATA
ReasonsforArchiving Therearebothtechnicalandlegalreasonsforarchivingapplicationdata.DataArchiving: •
•
•
Resolvesmemoryspaceandperformanceproblemscausedbylargevolumesof transactiondata Ensuresthatdatagrowthremainsmoderatesothatthedatabaseremainsmanageable inthelongterm Ensuresthatcompaniescanmeetthelegalrequirementsfordatastorageinacostefficientmanner
PurposeofDataArchiving ThegoalofdataarchivingistoreduceorlimitdatagrowthinyourSAPsystemwhich allowsyoutolivewithinyourcurrentsystemresources.Theresultofnothavingadata managementstrategythatinvolvesprevention,aggregation,deletion,andarchivingmay leadtotheneedtoupgradeyourhardware,additionofdiskspace,expandedmain memoryorCPUimprovements.Thisresultsinagreatercostofmanagingyoursolution environment.
DataManagement:Prevention,Aggregation,Deletionand Archiving Dataarchivingisaveryeffectivetoolforreducinglargedatavolumes.Howeverit shouldnotbetheonlyconsiderationinaDataManagementstrategy.Applyingthe followingfour-stepmethodisrecommendedtoreduceyourdatavolumesbeforeyou startarchiving.
1) DataPrevention Forcertaindataitistechnicallypossibletoswitchoffupdating.Thisisusuallyfordata thatisnotnecessaryfromabusinesspointofview.Anexampleisspooldatabeing immediatelydeletedaftertheiroutput. 2) DataAggregation Insomecasesitispossibletoaggregatedata,forexamplethroughformingsums.An exampleofhowtoapplythismethodwouldbeinlineitemaggregationinCO. 3) Deletion Somedatathatisnotrequiredcanbedeletedratherthanarchived.Anexampleofthis typeofdataisabatchinputfolder.Generallythesefoldersarecreatedduringabatch
transferandarenolongerneededafterthetransfer.Theseprocessedfolderscanbe deletedbyusingadeleteprogram. 4) Archiving
Archivingshouldbeusedfordatathatcannotbepreventednordeleted.Determinehow longyourdataneedstoremaininthesystemfromabusinesspointofview.Onlyarchive thedatathatisnolongerneededforprocessingintheproductionsystem.
Thefollowingfigurecanhelpyoudecidewhentousedataarchiving:
BasisDataArchivingFunctions Tobetterunderstanddataarchivingitisimportanttounderstandthetechnicalbasisofthe functionsandgetanoverviewoftherelevantprocessesandscopeofthefunctions
BasicTermsUsedinDataArchiving ThefollowingarethemostcommontermsinSAPdataarchiving.
ArchiveDevelopmentKit TheArchiveDevelopmentKit(ADK)isthetechnologyatthecoreofdataarchiving.Itis responsibleforcontrollingandmanagingthearchivingsessionsandmakessurethatthe dataremainsinterpretableinthelongterm.ADKisalsoaprogramminginterfacefor applicationprogramsanditisresponsibleforhandlingthearchivefiles.ADKisusedto create,open,write,readandclosethearchivefiles. ThefollowingfigureshowsADKintegrationfunctions.
ArchivingObjects Anothercentralcomponentofdataarchivingisthearchivingobject.Itdetermineswhich tablesareaccessedduringarchivingtomakesurethatabusinessobject,suchasan invoiceorafinancialaccountingdocument,canbecompletelyremovedfromthe database.Inaddition,anarchivingobjectalsocontainsthearchivingprogramsand Customizingsettings,necessaryforarchivingitscorrespondingbusinessobjecttype.
Anarchivingobjecthasthefollowingcomponents:
Datadeclaration Isusedtodefinewhichdatafromthedatabasemakesupabusinessobject.
Archivingprograms o o
o
o o
Writeprogram:Writesthebusinessobjectssequentiallytothearchivefiles. Deleteprogram:Deletesthebusinessobjectsfromthedatabaseafterithasread andconfirmedtheminthearchivefile. Preprocessingprogram(optional):Preparesthedataforarchiving.Thisincludes, forexample,thesettingofanarchivabilityindicator(alsocalledadeletion indicator). Readprogram:Isusedtodisplayanarchivedbusinessobject. Postprocessingprogram(optional):Isusedtoprocessdataafterarchiving;for exampletoupdatestatisticdataorindexes.
Reloadprogram(optional):Reloadsthearchivedbusinessobjectsintothedatabase.
CustomizingSettings Customizingsettingsareusedtodefinethearchiving-object-specificparametersfora specificarchivingsession.Thesesettingsdependonthearchivingobjectsandcan vary. Thefollowingfigureshowsthedifferentcomponentsofanarchivingobject.
Archivingclasses Anothercommontermusedindataarchivingis"ArchivingClasses”.Itreferstodata objectsthatarenotindependentlydefinedfromabusinessprocesspointofview,but whichbelongtogetherfromatechnicalpointofview;theseincludeSAPscripttexts, changedocuments,andclassificationdata.Thesedataobjectsarecreatedwhena businessobjectiscreatedormodifiedandtheyareusuallyarchivedtogether