Professional Documents
Culture Documents
BW7.30:Hierarchyloadingbecomeseasierwith...|SCN
GettingStarted Newsletters
Hi,Guest
LogOn
JoinUs
Store
SearchtheCommunity
Products
Services&Support
AboutSCN
Downloads
Industries
Training&Education
Partnership
DeveloperCenter
Activity
LinesofBusiness
UniversityAlliances
Events&Webinars
Innovation
Browse
Communications
Actions
SAPBusinessWarehouse
BW7.30:Hierarchyloadingbecomeseasierwiththe
helpofnewframework
PostedbyLalithaSwaroopKrishnaTanguduinSAPBusinessWarehouseon08Jan201207:00:33
Share
Tweet
Like
HelloSCN,
ThisblogexplainsthebenefitsandprocessofloadinghierarchieswithtransformationsandDTP,usingnew
frameworkinBW7.30
Inourexample,wewilltakethebelowstructureofhierarchytoloadasshowninthebelowfigure.
StructureofHierarchy:
Intheabovefigure,wecanseethehierarchylevels.
RootNode:DCR(0HIER_NODE)
Level1:Components(infoobject=ZCOMP)
Level2:Parts(infoobject=ZPARTS)
Step1:
CreateHierarchyfile:
Createthefollowingfileinexcelandsaveitas.CSVfile.
Step2:
Nowwehavetocreateinfoobjectsrequiredforourhierarchyloadingi.e.ZCOMPandZPARTS
CreationofInfoObjects:
1)ZCOMP:
YoucanseescreenshotsofdifferenttabsIhavemaintainedintheinfoobjectmaintenancescreensofZCOMP&
ZPARTS.
GeneralTab:
http://scn.sap.com/community/datawarehousing/bw/blog/2012/01/08/bw730hierarchyloadingbecomeseasierwiththehelpofnewframework
1/10
2/16/2016
BW7.30:Hierarchyloadingbecomeseasierwith...|SCN
2)ZPARTS:
GeneralTab:
Step3:
AddingZCOMPasExternalCharacteristic:
SinceweareloadingthehierarchytoinfoobjectZPART,whichinvolvestheusageofZCOMPinitshierarchystructure,
weshouldaddZCOMPasaexternalcharacteristictoZPARTSasshownbelow:
Step4:
CreatingHierarchyDatasourceandAssigningSourceSystem:
WewilldiscussaboutdifferenttabspresentinHierarchyDataSource:
1)ExtractionTab:
http://scn.sap.com/community/datawarehousing/bw/blog/2012/01/08/bw730hierarchyloadingbecomeseasierwiththehelpofnewframework
2/10
2/16/2016
BW7.30:Hierarchyloadingbecomeseasierwith...|SCN
WecanloadthehierarchyusingAdapter,wherewespecifythelocationofourfilename.
WechooseDataFormatasHierarchySeparatedbySeparatorasweareusingCSVfile.
IfweuseHierarchyisFlexiblethendatasourceiscreatedusingNewStructurewehavetomentionTarget
InfoObjectnametowhichweloadtheHierarchy,ifweuncheck,thedatasourceiscreatedinOldStructure
CreatingHeader:
WecannowCreateHeaderfromthisscreenusingCreateHeader.WecreateaHeadernamedasCustom
Hierarchy.
2)FileStructure:
Thisshowstheformatoffilewhichweareloading.WecanuseCreateExampleFileifwewanttochangetheformat
ofthefile.
3)Segment/Fields:
Hierarchiesareusuallyloadedinmultiplesegments.Youcanfindthesegmentsbelow:
HierarchyHeader
HierarchyDescription
HierarchyStructure
Descriptionfortext
http://scn.sap.com/community/datawarehousing/bw/blog/2012/01/08/bw730hierarchyloadingbecomeseasierwiththehelpofnewframework
3/10
2/16/2016
BW7.30:Hierarchyloadingbecomeseasierwith...|SCN
HierarchyHeader:
HierarchyStructure:
5)Preview:
HerewecanseethepreviewofourdataloadafteractivationofDatasource.
Step5:
CreateanIPtoloadthedatatillPSA.
Step6:
CreateTransformation:
Aswecanusetransformations,wecannowuseallthefunctionalitieslikeStartRoutine,EndRoutine,ExpertRoutine
andalltheinbuiltformulaswhenweloadhierarchy.Thishelpsustoloadhierarchiesnotonlyinfoobjectsbutalsoto
datatargetslikeDSOsandInfocubes.
DatasourceusingPSAorIdocastransfermethodcanusetransformationstoload.Toload3.xhierarchies,migrate
datasourcefrom3.xto7.3usingmigrationtool,whichcreatesaPSAtablethatcanbeusedtoloadhierarchiesusing
transformations.
WehavetoselectSourceSegmentsandTargetSegmentsanddothenecessarymappings.
Segment/HierarchyHeader:
WesettheInfoObject0H_NORESTNO(DisplayAssignedNodesOnly)to'X'usingaconstant.Thisensuresthatnon
assignedarenotsavedinthehierarchySIDtableanddonothavetobeloadedintomemoryatruntime.Wesetitas
showninthebelowfigure.
http://scn.sap.com/community/datawarehousing/bw/blog/2012/01/08/bw730hierarchyloadingbecomeseasierwiththehelpofnewframework
4/10
2/16/2016
BW7.30:Hierarchyloadingbecomeseasierwith...|SCN
HierarchyStructure:
UsingRuleType:DeriveHierarchyCharacteristic:
IfweareusingIDOCformatandwehaveFIELDNM,togetInfoobjectnamesatruntimeweuseruletypeDerive
HierarchyCharacteristic.ButinourcaseweneednotusethisruleasweareusingNewStructure.
UsingRuleType:HierarchySplit:
Ifthetargetinfoobjectiscompounded,thenwehavetousethisruletypetosplittheinformationaccordingtotheinfo
object.
Example:
InourExample:
Wedo1:1mappingforNodeID,InfoObjectNameandParentNode.Asthisisnewdatasourcestructure(PSAformat)
,wehavetomapNodeNametoLink,NameoftextNode,ZPARTS(targetinfoobject)andZCOMP(external
http://scn.sap.com/community/datawarehousing/bw/blog/2012/01/08/bw730hierarchyloadingbecomeseasierwiththehelpofnewframework
5/10
2/16/2016
BW7.30:Hierarchyloadingbecomeseasierwith...|SCN
characteristic).
ActivateTransformations:
Step6:
CreateaDTPandLoadtotheTarget.
ExtractionTab:
WeuseFULLmodeandCheckOnlyretrievelastrequest
UpdateTab:
WeuseFullUpdateandActivateHierarchytoautomaticallyactivatethehierarchyloaded.
ExecuteDTP:
http://scn.sap.com/community/datawarehousing/bw/blog/2012/01/08/bw730hierarchyloadingbecomeseasierwiththehelpofnewframework
6/10
2/16/2016
BW7.30:Hierarchyloadingbecomeseasierwith...|SCN
HierarchyLoaded:
Step7:
DisplayHierarchy:
Hencewecanseethehierarchyweloadedjustnow.
23561Views
Topics:enterprise_data_warehousing/business_warehouse
AverageUserRating
(9ratings)
Share
Tweet
Like
22Comments
jayatiwari12Jan201204:02
Itsaveryinformativedocumentandveryhelpfultoanalyzethebenefitsof7.3hierarchycompareto
3.xor7.0hierarchies.
Regards,
JayaTiwari
Like(0)
LalithaSwaroopKrishnaTangudu12Jan201205:10(inresponsetojayatiwari)
Happythatthisbloghelpedyou.Thanksforyourfeedbackjaya.
Like(0)
http://scn.sap.com/community/datawarehousing/bw/blog/2012/01/08/bw730hierarchyloadingbecomeseasierwiththehelpofnewframework
7/10
2/16/2016
BW7.30:Hierarchyloadingbecomeseasierwith...|SCN
SuyashPandey22Jan201323:51
GoodworkMate!
Like(0)
ThomasFabian03Jul201308:34
HiKrishna
Veryinteresting,weupgradeto7.30inthenextweeks.
Nowhierarchyloadingandmaintenaingbecomesmorecomfortable.
Thanks
PC12
Like(0)
AlbertoGarcia30Jul201313:03
Thisisaverygoodjob,thanksalotforyourstepbystepexplanation,it'sreallyhelpfulandusefulfor
peoplewho,likeme,havenevercreatedonebefore.
Thanksagain
Like(0)
PurushothamaReddy30Jul201314:46
GoodDocument...
Thanks,
Purushotham.
Like(0)
SushantTiwarekar30Jul201319:53
Veryuseful
Like(0)
AdityaBakshi04Oct201313:11
Veryusefulldocument.GreatWork.
Like(0)
SGSg04Oct201313:19
veryhelpful,thanksforsharing
Like(0)
rukmambarababuananthula04Oct201313:30
VeryusefulDocument
Like(0)
ShabnamShourav04Oct201313:31
VeryInformative...
Like(0)
TULIKARANISHAW23Oct201314:12
VeryHelpful..
Thanksforsharing
Like(0)
SatendraMishra30Oct201307:03
Reallyveryinformativeandmindblowingdocument......
Regards,
SM
Like(0)
SaikatPal21Jan201407:00
http://scn.sap.com/community/datawarehousing/bw/blog/2012/01/08/bw730hierarchyloadingbecomeseasierwiththehelpofnewframework
8/10
2/16/2016
BW7.30:Hierarchyloadingbecomeseasierwith...|SCN
Verygooddocument
.Thanksalot.
Like(0)
merAkcay17Mar201409:05
HiLalitha,
veryhelpfulinformation.ButIhaveonequestionregardingthisexternalcharacteristics.
Pleasefollowmydiscussion: BW7.3Hierarchydataloadquestion.
Asmyobjectisacopyof0CostelemntIhavetomapallObjects(hierarchysplit)from
NODENAME.
Isthisrealynecessary?
Thanksforthis.
mer
Like(0)
HinaSyed16May201419:00
VeryInformative.ThankYou.
Like(0)
ErwinLeitner21Dec201419:09
Hello,
Thankyouverymuch.
like
bookmark
5stars
allthebesterwin
Like(0)
SingerNili10Mar201508:37
Helloall,
Greatpiece.Butwhenitriedtoexecutetheinfopackage,igotashortdump:"
Thecurrentapplicationprogramhasdetectedasituationthatshould
notoccur.Aterminationwithshortdumphasthereforebeentriggered
bythekeywordMESSAGE(typeX)."
Doesanyoneknowwhatistheproblem?
Best,
Yuval
Like(0)
RavikumarKypa01Apr201511:26(inresponsetoSingerNili)
Hi,
whendidyougetthedump,whileexecutingtheInfopackageorDTP?
Regards
Ravi
Like(0)
RavikumarKypa02Apr201516:13
Gooddocument.Itisveryuseful
Like(0)
AnandPuppala24Apr201509:26
Veryhelpfuldocument,thanksforsharing:)
Like(0)
KarthikKrishna25May201508:51
Thisoneisreallyusefulthananyotherdocumentsavailableinscn.Thanksalot.I'venevercreated
hierarchies.Nowgotaviewofit.
Like(0)
http://scn.sap.com/community/datawarehousing/bw/blog/2012/01/08/bw730hierarchyloadingbecomeseasierwiththehelpofnewframework
9/10
2/16/2016
SiteIndex
Privacy
BW7.30:Hierarchyloadingbecomeseasierwith...|SCN
ContactUs
TermsofUse
SAPHelpPortal
LegalDisclosure
Copyright
http://scn.sap.com/community/datawarehousing/bw/blog/2012/01/08/bw730hierarchyloadingbecomeseasierwiththehelpofnewframework
FollowSCN
10/10