Professional Documents
Culture Documents
SAParchivingprocessSimplesteps 2
KrishnenduDas201312305:53KrishnenduDas20141212:09
Share Tweet
Application:
ArchivingcanbedoneindifferentobjectsofPP/MM/FI/CO/PMetc.
TheexampleiswithaMMobject,butitcanbeapplicableequallytoanyPPobject(PR_ORDER
Processorder)
Thisdocumentdemonstratestheprocessofarchivingindifferentobjects.Thoughthisisaarchiving
process,thisisageneralwayofarchiving.Archivingisrequiredtohaveafasterandcleansystem.It
isalsopossibletogetthedataoncethesearearchived.
Thearchivingprocesshavegenerallyfoursteps.
Thereare4MainstepsinSAPArchivingare:
Step1Preprocessing
Deletionindicatorswillbesetinthisstep
Applicableforsomeobjects
Step2Write
RecordschosenforArchivingwillbewritteninArchivingfilesysteminUnixserver(Path:
/Volumes/Archiving/<Objectname>/)
Applicableforallobjects
Step3Delete
Writtenrecordswillbedeleted
Applicableforallobjects
ToensurethattheArchivingfilesystembackupistakenforwrittenrecords,atleast2daysgap
tobemaintainedbeforeperformingDeletestep.
Step4Postprocessing
FordeletingsecondaryindexesinFI_DOCUMNTandmovementdatainQM_CONTROL.
UsefulTransactioncodes:
SARAArchiveAdministration
SARIArchiveInformationSystem
SAREExplorer
ALO1Searchfordocumentswithrelationships(Incl.Archive)
Thearchivingprocess:
Object:MM_EKKO(Purchaseorder)
1. PreprocessingStep:CreateVariant(KT2NDLINE):
EntertheNewVariantnameandclickonMaintainbutton.MaintainPurchasingDocumentsinformationand
Restrictionsasrequired.
SaveVariant.
Executethevariant.Checkthejobs.
Openthespool.
Preprocessingstepsuccessfulfortheselection.
2.WRITEStep:VariantKT2NDLINEWR
Createandsavevariantfortheselection(shouldbesameasmaintainedinPreprocessingstep).
Executethevariant.ChecktheJobs.
OpentheSpool.
Writestepsuccessfullycompleted.
3.DELETEStep:
ClickonArchiveSelection.Selectthefilestobedeleted.
Executetheselection.
OpentheSpool
Fileissuccessfullydeleted.
4.CheckingInformationsystemInfostructureupdation.
WecanseeaGreensignallightforthelastarchivingsession.ThismeansthattheInfostructureisupdated
successfully.
IfthesignalisYelloworRed,PleaseClickin .Itwillfilltheinfostructureonceagain.
Aftereveryarchivingrunthisshouldbechecked.Otherwise,readingdatafromarchivedfileswillnotworkfor
theusers,whichleadstoraisingaticket.
5.STATISTICS:
Thisoptionshowsthedetailsofarchivingsessions.Thedetailsinclude,
Numberofobjects(headerrecords)Written,Deleted
NumberofDeletejobs
WriteandDeleteJobdurations
Etc.
6.LOGS:
IfJoblogisclickedfortheWritestepjob,thefollowinglogisdisplayed.
WecanseetheProgramname,variantused,Userid,Archivingsessionnumber,Howmanynumberof
documentsprocessed,
Pathofthesystemwherethewrittenfileisstored .
NameoftheArchivefilecreatedinthefilesystem,etc.,canbeseeninthelog.
7.READ:
Execute
Execute
WecanseethearchivedPurchasingdocuments.Forfurtherdocuments,refertoUserdocumentforthis
object.
(SPEED_MM_Display_archived_Purchase_Order_v1.pdf)
8.MANAGEMENT:
Itshowsthestatusofarchivingsession.(CompleteorIncomplete).
Doubleclickingonthesessionwillleadtothefollowingscreenwherethearchivedfilerelateddetailscanbe
seen.
13836
(6)
Share Tweet
28
AdityaS201312318:52
HelloKrishnedu,
Thanksforsharingthis.Butcanyoupleaseconfirmwhetherweneedtowaitfor2daysreallybefore
performingStep3mentionedintheArchiveprocess.
WehaveusedSARAformyclientbutweneverwaitedfor2daystoperformtheStep3afterStep2
mentionedabove.Pleaseclarifyandletmeknowwhethermyunderstandingiscorrectorwrong.
Thanks.
(0)
KrishnenduDas2013123110:19(AdityaS)
HiAditya,
Notnecessary.Actuallywearehavingasettingfordatabackup.Sowehaveconsidereda
cushiontime.ThejobofWriteandDeleteisdependentjob.Hence2dayswaittimeisjustto
confirmthedatabackup.
Notrequiredinnormalprocessalways .
Krishnendu.
(0)
AdityaS2013123111:19(KrishnenduDas)
HiKrishnendu,
Thanksforclarification.
(0)
SeshaSB2014116:28
HelloKrishnedu,
Veryusefullinfo...
Regards
Sesha...
(0)
KrishnenduDas2014116:35(SeshaSB)
ThanksSesha.
Regards,
Krish.
(0)
JrgenL20141210:34
Keepingarchivesinthefilesystemisactuallynotasafeplace,asdataarenotunchangeableinfile
system.
Henceyouoftenhaveanotherstepcalledstoringtomovethearchivesfromthefilesystemtoa
contentserver.
Whatmakesmealwaysakindofangryisthatallthosearchivingdocumentscompletelyignoretodo
atleastthetestrunswithadetailedlog.Nobodyistalkingaboutcheckingjoblogsanddetailedlists.
Thatthisisactually95%ofthewholearchivingactivity,andprobablyaswell95%ofthequestions
askedintheforumsarebecausethepeopledonotknowaboutlogs.
IfIcommentthatadocumentisjustbasic,thenIoftengettheanswer,itisforbeginners.
Butespeciallybeginnersshouldthenbeeducatedwiththedifficultiesandthemostimportant
settings.ThisistheadvantageofdocumentingandblogginginSCN,tobedifferentfromthestandard
helpdocumentation.Thisisjustanillustratedbestcasewalkthrough.
Ifyouhavearchived,thenyoucouldexplainthehundreddifferenterrorcasesthatyouhaveseen.
(5)
KrishnenduDas2014136:31(JrgenL)
ThanksalotJurgen.Iwilltrytoaddsomemore .
Actuallywearetakingthebackupinmemorytapeeverydayinaspecifictime.That'sthe
reasonIhavementionedagapof2daysbetweenWriteandDeleteprocess.
Regards,
Krish.
(0)
ManjunathRavi2014135:40
helpfuldocumentforbeginners,keepupthegoodwork..!!!
(0)
VamshiKrishnaMenaka2014343:31
HelloEverybody..
IhavejustgonethroughthedocumentaswegotarequirementforSAParchiving..ihopeitsquite
clearforbegginners....
Thanksalot..:)
NareshGollapelly
(0)
KrishnenduDas20143104:45(VamshiKrishnaMenaka)
HiVamshi,
Thanksalot.
Regards,
Krishnendu.
(0)
hwd20143147:24
DearKrishnendu,
ReallyaGoodDocument, ...
ImhavingadoubthereAbout"Postprocessing".PleaseletmeknowwhatexactlythePost
processingstandsfor?
Doubtingbecause,in"SARA"thereisnoPostprocessingTabin"MM_EKKO"likein
"FI_DOCUMENT".
(0)
RobyVivs20143141:15(hwd)
Hi,
PostprocessingprocessinFI_DOCUMNTisusedtodelete(nottoarchive)thedataentries
fromthesecondaryindextableslikeBSAS,BSIS,BSAD,BSAKetc...
ThesetablesentriesarejusttheduplicateentriesofBKPFandBSEGtableentrieswhich
arestoredinthesesecondaryindextablesforfastretrievalpurpose.Sopostprocessingis
usedtodeletetheseentriesonceafterarchivingWRITE,STOREandDELETEjobsare
completedforFI_DOCUMNTobject.
(1)
KrishnenduDas20143177:22(hwd)
HiBhagya,
Thanks.GoodreplybyRoby.Itmeanssystemsync.
Regards,
Krishnendu.
(1)
DibyenduPatra20143186:29
Goodinformation..
Soclearandinformative...
(0)
KrishnenduDas20143195:59(DibyenduPatra)
HiDev,
Thanks.
Regards,
Krishnendu.
(0)
GajendraNKoka201442911:33
HiKrish,
Thankyouforasimple,conciseandcomprehensivedocument.Veryhelpfulforfirsttimers.
ThankYou,
Gajendra.
(0)
KrishnenduDas20144292:41(GajendraNKoka)
ThanksGajendra.
Regards,
Krishnendu.
(0)
SamuelFriedman201472310:22
HelloKrish,
Indeedaniceconcisedocumentwhichexplainsalltheimportantstepsinarchiving.
Werunallofourarchivingautomaticallyusinganexternaljobcontroller.Thatway,immediately
followingthecompletionofthewritephase,weperformabackuponthefilesontheunixserver
followedbythesapprogramfordeleting"RSARCHD"tocontrolthedeletionphase.
Followingthatwealsorunareorgoftheindexesofthetablesthatwerearchived.
Regards,
Sam
(0)
rajreddy20148811:31
Hieverybody,
ineedsmallhelpfromexperts,likeinarchivingobjectifwedonthaveanyreloadprograminSARA,
thenhowwereloadthearchiveddatafromothersystemtoECCsystem(back),pleasehelpme...
theobjectisBC_SBAL...itscontainonlywriteanddeletejobsonly,itdoesn'thaveanyreload
program..pleasehelponthis
(0)
KarinTillotson2014883:15(rajreddy)
HiRaj,
Ifthereloadprogramisnotavailableforanarchiveobject,thatmeansitisnotsupportedfor
reloading.WhywouldyouneedtoreloadBC_SBAL?Thearchiveddataisaccessiblevia
SLG1.
BestRegards,
KarinTillotson
(0)
rajreddy20148127:45
HiKarin,
1)thepurposeofreloadforthisis,weranthewrite,deleteprogramtothisobjectis2014date
insteadof2013(needtoreadbefore2013dataonly).soineedtorevertbackthe2014dataintoECC
.howicanreloadthedeleteddata.
2)canyouhelpmetoknowwhatconfigrationrequiredtostorethedeleteddataintotableasfile.(if
wewanttoreadarchiveddatathenwereaddatafromthatstoredtableright).
pleasehelpmeonabovepoints,itcouldbemorehelpfultome
Thanks
Rajashekar
(0)
KarinTillotson20148139:47(rajreddy)
HiRaj,
LikeIstatedbefore,youcannotreloadthearchivedBC_SBALdata,but,youcanreaditif
youactivatefieldcatalogSAP_SBAL_002andInfostructureSAP_BC_SBAL01inSARIand
fillthearchiveinformationstructurewiththerelevantBC_SBALarchivefiles.Youcanthen
readthisdataviatransactionSLG1byselectingtheFormatCompletelyfromArchiveradio
button.
Hopethishelps.
BestRegards,
KarinTillotson
(0)
DouglasDomenicideLara201482810:34
Verygoodarticle!Congrats!
(0)
KrishnenduDas20149111:20(DouglasDomenicideLara)
ThanksDouglas.
Regards,
Krishnendu.
(0)
CarlosTrujillo20149249:21
HiKrishnendu
TheCustomerwantstodeletedeCentralIntancefromtheLogonGroupoftheArchiving.Didyou
knowhowtodoit?
ThanksinAdvance
BestRegards.
(0)
KrishnenduDas20149268:35(CarlosTrujillo)
No
Regards,
Krishnendu.
(0)
SanthanakrishnanArumugam20141286:16
Hi,
Verygoodarticle!Congrats Keepgoing
Tnx
Krishnan
(0)
SantoshV201412107:57
Verydetailedblog...
SAPhasFioriapplicationswhichcouldbeinterestingifyouareinvolvedinarchiving
UnderstandingSAPILMArchivingFioriapplicationsin5questions.Theapplicationsprovide
optionstomonitorjobs,logsandalsotakecorrectiveaction(notcoveredinthisblog)
(0)