Sie sind auf Seite 1von 6

8/31/2016

BWPreandPostUpgradeandMigrationTasks|SCN

BWPreandPostUpgradeandMigrationTasks
PostedbyNarenderVaddepallyinSAPBWPoweredbySAPHANAonFeb19,20142:03:17PM
Share

Tweet

BWPreandPostUpgradeandMigrationTasks:

NormallywhenthereisBWsystemupgradeorMigrationtoHANAdatabasefromXDB,weneedtoperformsomepre
andpostupgradeandmigrationstepsmanually.Forthisneedtogotoeachofthetransactionsandexecutethem
providingtherequiredselectioninputs.
Insteadofexecutingthetasksmanuallyforupgradeandmigration,SAPhasdeliveredtasklistswhichautomatemostof
theBWtasksrequiredforsystemupgradeandmigration.
Thebelowstepscontainhowtoimplementandexecutetheupgradeandmigrationtasks.

Creationofthetasklists.

FirstcheckfortheUpgradeandmigrationtasklists(SAP_BW_BEFOREUPGRADE,SAP_BW_AFTERUPGRADE,
SAP_BW_BEFOREMIGRATION,SAP_BW_AFTERMIGRATION)inthetransactioncodeSTC01.Ifthesetasklistsdoesnotexist
thenproceedfurthertoimplementthetasklists.

PleasechecktheSAPnote1734333whichcontainsthenecessarycodingrequiredforthetasklistcreationtofacilitateaBW
systemUpgradeandMigration.AlsocheckforthevalidityandprerequisitesintheSAPnote.Haveattachedthetasklistcreation
codingfilesbelow.

Byimplementingthefollowingmanualsteps,fourtasklistswillbecreated:SAP_BW_BEFOREUPGRADE,SAP_BW_AFTER
UPGRADE,SAP_BW_BEFOREMIGRATION,SAP_BW_AFTERMIGRATION.Pleasebeawarethatthesetaskslistsareintended
toeasesomeofthemanualtasksrequiredbyusers.TheydonotfullyreplacetheexecutionofALLtasksrequiredduringthe
differentphasesofanUpgradeorMigration.Assuchtheyshouldbeusedincombinationwithavailableupgradeguides.

ManualstepsintheSAPnote(1734333)tocreatethetasklistscreation:

1)DownloadtheattachedfileZNOTE_1734333_POST_70X.txtorZNOTE_1734333_POST_73X.txtor
ZNOTE_1734333_POST_74X.txtbasedontheBWrelease.
2)Createareport'ZNOTE_1734333_POST'intransactionse38(ABAPEditor).IntheattributesPopupentersome
descriptionandchoosetypeas'Executableprogram'.Savetheprogramaslocaltemporaryobject.

3)CopyandpastethecodefromthefileintotheABAPeditor.Saveandactivatethereport.
http://scn.sap.com/community/bwhana/blog/2014/02/19/bwpreandpostupgradeandmigrationtasks

1/6

8/31/2016

BWPreandPostUpgradeandMigrationTasks|SCN

4)Executethereport.TheprogramwillautomaticallycreateseveralobjectslikePackage,FunctionGroup,Error
messages,Tasklistsandwillpromptyouforatransportrequest.Pleaseusethesametransportrequestasfortherest
ofthemanualactivitiesandthecorrectionsofthenote.Youdonotneedtotransportthereportyouhavecreated,butthe
objects,whichweregeneratedbythereport.
FirstexecutethereportinTESTRUNmode,tocheckforanymissingprerequisitesorerrors.Thenafterexecutein
UPDATEmode.ThisreportwillcreatethetasklistforUpgradeandMigration.

5)GotoSTC01andcheckforthetakslists.

ExecutionofTasklists

SAP_BW_BEFORE_UPGRADE

1)1)GotoSTC01transactioncodeandchoosethetaskanddisplay.

Documentationisavailableforeachtasklistedinatasklist.Clickonbutton
thetask.

fordetaileddocumentationon

http://scn.sap.com/community/bwhana/blog/2014/02/19/bwpreandpostupgradeandmigrationtasks

2/6

8/31/2016

BWPreandPostUpgradeandMigrationTasks|SCN

2)Clickoneditbuttontoaddordeletetasksandalsocanchangetheorderofexecutionofthetasks.Butbeforechangingthe
orderofthetaskspleasecheckforthedependenciesofthetasksinthedocumentationofeachtask.

3)Clickonexecutebutton.Thenweneedtofilltheparametersrequired.

Filltheparameters

http://scn.sap.com/community/bwhana/blog/2014/02/19/bwpreandpostupgradeandmigrationtasks

3/6

8/31/2016

BWPreandPostUpgradeandMigrationTasks|SCN

4)Haveoptionstoexecutethetasksinforegroundorinbackground.

5)Whenweuncheckthemandatorytaskstoskip,informationwillbeshownbelow.

SAP_BW_BEFOREUPGRADEshouldbeexecutedaswhentheASUtoolboxpromptstheusertoactionfromwithin
SoftwareUpdateManager.
ThecompleteexecutionoftheSAP_BW_BEFOREUPGRADEtasklistissplitintotwophases.Whenthetasklistis
initiallytriggered,alltaskslistedpriortothe'Confirmallendusersarecurrentlylocked'taskareexecuted.Theremaining
tasksrequirethatnofurtherenduseractiontakeplaceonthesystemandmustthereforebecompletedwhenthe'user
lock'phaseoftheupgradeisreached.
Assuch,theadministratormustreturntheSAP_BW_BEFOREUPGRADEtasklistrunandmanuallyconfirmthe
'Confirmallendusersarecurrentlylocked'tasksothattheremainingtaskslistedintheSAP_BW_BEFORE
UPGRADEtasklistcanruntocompletion.

SAP_BW_AFTER_UPGRADE

SAP_BW_AFTERUPGRADEshouldbeexecutedwhentheASUtoolboxpromptstheusertoaconfromwithinSowareUpdate
Managerfollowingtheupgrade.

http://scn.sap.com/community/bwhana/blog/2014/02/19/bwpreandpostupgradeandmigrationtasks

4/6

8/31/2016

BWPreandPostUpgradeandMigrationTasks|SCN

SAP_BW_BEFOREMIGRATION

SAP_BW_BEFOREMIGRATION,shouldbeexecutedatthebeginningofmigrationthatispriortotheexport.

SAP_BW_AFTERMIGRATION

SAP_BW_AFTERMIGRATION,shouldbeexecutedatthesametimepointasonewouldexecutethereport
RS_BW_POST_MIGRATIONandcanbeusedtoreplacetheuseofthisreportalltogether.

InformationfromSAPNOTE1734333
.
Theutilizationofthetasklistsisonlymeaningful,ifyouplanondoinganUpgradewithoutMigrationtoSAPHANAoraMigration
toSAPHANAwithoutanUpgrade.IfhoweveryouareplanningtoperformanupgradealongwithaDBmigrationtoSAPHANA,
thenthetoolofchoiceshouldbetheDatabaseMigrationOptioninSoftwareUpdateManager,whichiscurrentlyinpilotingphase.

Thanks
http://scn.sap.com/community/bwhana/blog/2014/02/19/bwpreandpostupgradeandmigrationtasks

5/6

8/31/2016

BWPreandPostUpgradeandMigrationTasks|SCN

http://scn.sap.com/community/bwhana/blog/2014/02/19/bwpreandpostupgradeandmigrationtasks

6/6

Das könnte Ihnen auch gefallen