Step by Step Process To Clear Extract & Delta Queues During Patch - Upgrade in ECC System - SAP Blogs
Step by Step Process To Clear Extract & Delta Queues During Patch - Upgrade in ECC System - SAP Blogs
GetStarted
Solutions Support Training Community Developer Partner
About
Community / Blogs
Stepbystepprocesstoclear
extract&deltaqueuesduring
patch/upgradeinECCsystem
November25,2013 | 311Views |
PujaYerunkar
morebythisauthor
BW(SAPBusinessWarehouse)
share
0 share
0 tweet share
0
Follow
IamwritingthisblogtogiveyouthestepstobeperformedduringECC
systempatch/upgrade:
Process:InSAPECCsystemanytransactionpostedintodatabase
tablesitwillpostentriesinBWrelatedextractQueues(LBWQorSMQ1)
relatedtoLOcockpit.Thesequeuesneedtobeclearedbeforeapplying
anyPatchesorupgradeintoECCtominimizedatalossifanychanges
inextractstructures.
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 1/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
ThisdocumentshowstepbystepmethodtoclearLOqueuesbefore
applyingthepatches/upgradeintoSAPECCsystem.
Note:BelowgivenJOBS/INFOPACKAGESnamesmayvaryinyour
scenario.
ProcedureforV3jobsofR/3andInfopackagesschedulingbefore
takingthedowntime:
1)SchedulethebelowmentionedV3jobs45hrsbeforetakingthe
downtimecontinuouslyonhourlybasisinSAPECCsystem.
Ex.Jobs,
a.LISBWVB_APPLICATION_02_500
b.LISBWVB_APPLICATION_03_500
c.LISBWVB_APPLICATION_11_500
d.LISBWVB_APPLICATION_12_500
e.LISBWVBAPPLICATION_17_500
f.PSD:DLY2330:LISBWVB_APPLICATIO
2)2)Schedulethebelowmentionedinfopackages45hrsbeforetaking
thedowntimeinSAPBW/BIsystem.
BWclientXXX.
Ex.InfoPackageName:
a.MM_2LIS_03_BF_RegularDelta_1
b.MM_2LIS_03_UM_Regulardelta_1
c.2LIS_13_VDKON(DELTA)1
d.BillingDocumentItemData:2LIS_13_VDITM:Delta1
e.2LIS_12_VCHDR(Delta)1
f.2LIS_12_VCITM(delta)1
g.SalesDocumentHeaderData:2LIS_11_VAHDR:
h.OrderItemDeltaupdate:2LIS_11_VAITM:
i.OrderAlloctnItemDelta1updat:2LIS_11_V_ITM:
3)EnsurethatthereshouldbeminimumdatainQueues(i.e.in
SMQ1orLBWQandRSA7)ifdataisveryhighthenagainschedulethe
V3JobsinR/3&infopackages.
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 2/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
Steps1to3aretobefollowedbeforetakingdowntimeto
minimizedataextractiontimeduringdowntimeforpatch
application.
4)4)AftertakingtheDowntimeSAPBasisteamwillinformBWteamfor
clearingtheQueuesinECCsystem.
5)5)FollowthefollowingproceduretoclearExtractQueues(SMQ1or
LBWQ)anddeltaQueues(RSA7)(i.e.BeforeApplicationofPatchesor
upgrade)
a)RequestSAPbasisteamtoLockallusersinSAPECCsystem
(exceptpersonswhoclearingthequeues)andtakedowntimeof45
minutesordepending
uponyourdatavolumeorplan.
b)MakesurethatalljobsareterminatednothingshouldbeinActive
statusexceptV3&BWextractionJobsinSAPECCsystem.
c)TakescreenshotofTr.Code:SMQ1orLBWQbeforeschedulingthe
V3Jobs
d)ScreenshotofTrCode:RSA7beforeextractingthedatatoBW
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 3/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
e)ScreenshotofLBWEextractionstructure
6)6)CopyfollowingV3JobsinSAPECCsystemandscheduleit
immediatelyindowntimeforeveryfiveminutestomovedatafrom
ExtractQueues(SMQ1orLBWQ)toDeltaqueues(RSA7).
Ex.V3Jobs,
LISBWVB_APPLICATION_02_500
LISBWVB_APPLICATION_03_500
LISBWVB_APPLICATION_11_500
LISBWVB_APPLICATION_12_500
LISBWVBAPPLICATION_17_500
PSD:DLY2330:LISBWVB_APPLICATIO
6.1ToDeleteunwantedQueuesinSAPECCsystem.
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 4/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
ThesequeuesEx.MCEX04,MCEX17&MCEX17_1arenotbeingused
inyourprojecthenceyouneedtodeletethesequeuesinECCsystem.
Deletingprocedure:EntertheTr.CodeSMQ1andselecttheMCEX04
thenpressthedeletebutton,itwilltakefewminutestodeletethe
entries.
Followthesameproceduretodeleteothernotrequiredqueuesinyour
project.
7)ThenscheduletheinfopackagesinSAPBW(XXXclient)untilthe
RSA7entriesbecome0.
BWclientXXX.
Ex.InfoPackageName:
MM_2LIS_03_BF_RegularDelta_1
MM_2LIS_03_UM_Regulardelta_1
2LIS_13_VDKON(DELTA)1
BillingDocumentItemData:2LIS_13_VDITM:Delta1
2LIS_12_VCHDR(Delta)1
2LIS_12_VCITM(delta)1
SalesDocumentHeaderData:2LIS_11_VAHDR:
OrderItemDeltaupdate:2LIS_11_VAITM:
OrderAlloctnItemDelta1updat:2LIS_11_V_ITM:
8)IfstillExtractionqueue(SMQ1orLBWQ)hasentries,repeatthestep
6to7untilboththeextractQueuesanddeltaQueuesreadZERO
records.
9)Afterzerorecordsrepeatthestep6to7fordoubleconfirmationto
avoidanypossibledataentries.
10)ScreenshotofTrCode:SMQ1afterbecomeZERO.
11)ScreenshotofTr.Code:RSA7afterbecomeZERO.
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 5/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
12)AfterensuringthatSMQ1orLBWQandRSA7readZEROentries,
releasethesystemforBasisforanyupgradeorpatchapplication.
13)AfterpatchorupgradeisoverSAPBasisteamwillinformSAPBW
teamtochecktheextractQueuesanddeltaQueuesaregetting
populatedornot.
14)RequestSAPBasisteamRestoretheallV3jobsinECCsystemto
Originalpositionandunlockalltheusersorsystem/communication
users.
15)ChecktheTr.Code:SMQ1andRSA7whethertheentriesare
gettingpostedornotafterrestoringtheV3jobsinECCsystem.
Seethescreenshot
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 6/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
RSA7
16)ChecktheTr,codeLBWEwhetheralltheExtractstructureor
activeornotseethescreenshotafterpatchapplication.
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 7/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
17)ScheduletheanyoftheinfopackageinSAPBW(fromabovelist)
Seethescreenshot
ThisendstheQueuesclearingactivity.
Thanks&Regards
PujaYerunkar.
AlertModerator
22Comments
YoumustbeLoggedontocommentorreplytoapost.
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 8/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
MandeepKalyan
November25,2013at10:23am
Niceone!
SKS
November25,2013at11:41pm
Thanks,
1.CanyoupleasedetailhowtorunandclearV3jobsinECC
2.Canyoupleasedetailsuspendprocesschainswhicharescheduledfor
nightlyloadordelete/releasePCsdoweneedtochangetimingsintheir
variants?
3.postupgrade,howtorescheduletheprocesschains
PujaYerunkar Postauthor
November26,2013at5:27am
Hi,
1)ForschedulingV3Jobs:
EnterTcodeLBWE>
selectparticularApplicationAreasayPurchasing>
Drilldowntoextractstructures>
checkalltherequireddatasourcesareactiveornot>
selectJobControl>
newwindowwillopenasJobMaintenanceforcollectiveupdate
>
EnterJobparameterslike>
Startdate,time,Periodvaluesetc..>
andincontrolparameters>
clickonschedulejobtabtoscheduletheJOB.
itwillcreatebackgroundjobasperabovegivenparameterslike
LISBWVB_APPLICATION_02_500.
thiscompletesV3jobschedule.
2.AlltheSuspendedProcesschainswillstartimmediatlyafter
servergoesupbutloadonthesourcesystemwillincrease
drastically,itwillimpactontransactions.hencebestpractisewillbe
stopalltheprocesschainsatthetimeofupgradeorpatch
applicationandrescheduleallthejobsaspersuitabletimingsonce
theserversgoesup.
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 9/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
MannaDas
November26,2013at4:22am
thanksforthedetailedexplanationonhowtoclearthedeltaqueues.
KR,
MannaDas
VijayChandra.R
November26,2013at5:46am
Helpfuldocument
VeeramallaV
November27,2013at6:47am
valuableinputsforupgrade,wecankeeptheseincutoverchecklist.
AnshuLilhori
November27,2013at6:59am
Usefulinfo.Puja.Thanksforsharingthis.
DefinitelycomehandyforBASISteamaswell.Wecansimplysharethis
documentwiththemandtheywillalsobeawareofactivitiesneedtobecarried
outduringanysortofupgradations.
Regards,
AL
vinaisurepelli
November29,2013at11:23am
Veryinformativethanks
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 10/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
LalitPeswani
November29,2013at2:23pm
HiPuja,
Veryhelpfuldocument,daybydaymyknowledgeisincreasing
thanksforsharingit.
Regards,
Lalit
KrishnaChaitanya
December3,2013at7:16am
Veryhelpfuldocument.Goodjob.Thanksforsharing.
PujaYerunkar Postauthor
December4,2013at10:02am
Thanksforyourfeedback.
GiriPrasad
December4,2013at10:34am
Goodman.
VenuGopalBoddapati
December5,2013at12:45pm
ThankyouBig&Gudeffort
BestRegards,
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 11/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
VenuGopal
PujaYerunkar Postauthor
December6,2013at11:29am
Thanksforyourfeedback
Regards
Puja
Prashanthkonduru
December7,2013at4:09am
Gr8usefuldocumentandhandypointswhileupgrading
Thanksforsharing
Cheers
KP
PujaYerunkar Postauthor
December14,2013at10:58am
Thanksforyourfeedback
Regards
Puja
HariReddy
December9,2013at9:15am
UsefulInfo.
Thanks,
Hari
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 12/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
Debasishapanda
December11,2013at11:19am
Goodinfoindetails
Thanks.DP
abilashn
December16,2013at11:27am
ExcellentBlogPuja.Greatwork.
IfyouhaveanyideaonhowtodebugthedatacomingfromECCtoBI.please
sharethatinNewblog
SomeshDas
January17,2014at4:52pm
Veryusefuldocument..
Thanks.
PhaniKV
January17,2014at6:23pm
Thanksforsharingandveryuseful.
Thanks,
Phani.
DavidChavez
July4,2016at10:34pm
HelloPuja,excellentpaper
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 13/14
25/10/2016 Stepbystepprocesstoclearextract&deltaqueuesduringpatch/upgradeinECCsystemSAPBlogs
WhatifweareperforminganoracledatabaseupgradeonourSAPBWsystem?
Isthecleardeltaqueueprocessmandatory?
Whatshouldbetheprevious&afteractivitiesinsuchcase?
SAPECCisnotbeingupgradedyet.
BR
[email protected]
https://blogs.sap.com/2013/11/25/stepbystepprocesstoclearextractdeltaqueuesduringpatchupgradeineccsystem/ 14/14