Vous êtes sur la page 1sur 12

SAPIDTCreatingUniverse

https://www.tutorialspoint.com/sap_idt/sap_idt_creating_universe.htm
Copyrighttutorialspoint.com

TocreateaUniverseinIDT,gotoStartAllProgramsSAPBusinessIntelligenceSAPBusinessObjects
BIPlatform4ClientTool.

InInformationDesignTool,youhavetocreateaNewProject.GotoFileNewProject.EntertheProject
NameandClickonFinish.
Oncetheprojectiscreated,nextistocreateanOLAPorRelationalconnectiontoconnecttoadatasource.A
RelationalconnectionisusedtoconnecttotheDatabaselayertoimporttablesandJoins.AnOLAPconnection
isusedtoconnecttothemultidimensionalmodellikeanInformationViewinSAPHANA.

RightclickonProjectnameNewSelectRelationalConnectionEnterconnection/resourcename
Next.
ChooseSAPfromthelistSAPHANASelectDriversJDBCNextEnterdetails.

Enterthesystemdetails,username,password,andclickNext.
ClickFinish.

UnderGeneralInformationClickonTestConnectionSuccessful.

WehavetopublishthisconnectiontotheRepositorytomakeitavailableforuse.

RightclickontheconnectionnamePublishtheconnectiontotheRepositoryEnterBOrepository
passwordClickonConnectFinishYes.
Onceyouclickonfinish,itwillcreateasecureRepositoryconnection.
.cnssecuredRepositoryconnection

.cnxlocalunsecuredifyouusethisconnectionitwillnotallowyoutopublishanythingtorepository.

ThenextstepistocreateaDataFoundationLayeronthissecureconnection.

Rightclickon.cnsRepositoryconnectionNewDataFoundation.

EnterResourceNameandclickonFinish.Itwillshowyoualistofallavailableschemasinthedatabase.You
canaddTablesandJoinsfromSchematoDataFoundationlayer.Thiscanbedonebydraggingthetableorbya
doubleclick.ApplythejoinsonDimensionandFacttablestocreatealogicalschema.

TodefineaJoin,doubleclickonJoinbetweentables.Itwillshowyouboththetables.Youcanselectfrom
differentJoinsasperdatarequirementandclickondetectCardinalitytodefinecardinality1:1,1:n,n:n.
NextistocreateaBusinessLayerontheDataFoundation.ClicktheSaveAlliconatthetopofthescreen.
Then,rightclickonDatafoundation.dfxNewBusinessLayer.

EnterResourceNameGeneratingBusinessLayerf orDataF oundationFinish.ItwilladdBusiness


Layer.blxundertheLocalProject.

ItwillshowalistofalldimensionsandmeasuresunderDataFoundation.Youcandefinedimensions,measures,
aggregation,etc.
TodefineanAggregation,youcanselectfromProjectionFunction.Youcanalsohidefewobjectsinthereportif
youwantbyusingthedropdownnexttomeasuresanddimension.YoucanselectHiddenforaparticularobject.

OnceyoudefineBusinessLayer,clickSaveAlliconatthetopofthescreenasshowninthefollowing
screenshot.

TopublishaUniversetotheRepository,rightclickon.blxPublishToaRepository.
SelectResourcesNextInPublishUniversewindow,selectNextSelecttheRepositoryfolderwhere
youwanttopublishUniverseandclickFinish.

YouwillgetaconfirmationthatUniversepublishedsuccessfully.

TochecktheUniverseunderRepository,gotoRepositoryresourcesandcheckfortheUniversethathasbeen
created.
CreatingaUniverseonSAPERP
YoucanbuildauniverseonSAPERPbyusingDataFoundationinIDT.Youhavetocreatearelational
connectiontoERPdatasource,infosets,SAPqueries,andABAPfunctionsthataretreatedastablesinthe
connection.

YoucancreateasinglesourceDataFoundationtosupportlocalconnectionsbutitdoesntsupportJoinsand
calculatedcolumnsbetweenthetablesinsertedfromanERPconnection.

Touseacalculatedcolumn,joins,youneedtocreateaDatafoundationthatismultisourceenabledona
securedconnection.

CreatingaUniverseonSAPERP

WhenatableisaddedinDataFoundationlayer,thetabletypeofinfoset,SAPquery,orABAPfunctionis
savedasatablepropertyinthedatafoundation.ToaddanABAPFunctiontable,thereisonedatafoundation
tablecreatedtomapthemainfunction.

Thetablecontainsinputcolumnsfortheinputparametersofthefunction.Theseparameterscanbemandatory
oroptional.Toassignavaluetomandatoryparameters,youneedtoedittheinputcolumns.

LimitationsofUsingSAPERP
WhenyouusemeasuresthatcontainaggregatefunctionsitcantbeusedasfiltersintheQueryPanelasthe
outputSQLexpressionconsistsofHAVINGclause,anditisnotsupportedbytheSAPERPconnection.Hence,
ifameasureisaddedthatcontainsAggregationfunctionasfilter,itthrowsanerrorwhilerefreshingthequery.

CreatingaUniverseonSAPBW
IfyouwanttouseSAPBWtodesignaUniverse,youshoulduseadatafoundationbasedonmultisource
enabledstructure.AllthetablesandjoinsinSAPBWareautomaticallyimportedtoDataFoundation.Whena
BusinessLayeriscreatedonDataFoundation,allobjectsareautomaticallymovedtotheBusinessLayer.
Ifyoudontwanttoinserttablesandjoinsautomatically,youcanunselecttheDetecttablesbygoingtoadvance
propertieswhileaddingconnectiontoDataFoundation.

YoucanalsoturnoffinsertionofBusinessLayerobjectsbyuncheckingtheoptiontoautomaticallycreate
classesandobjectswhenselectingdatafoundationinNewBusinessLayer.

CreatingaUniverseonMicrosoftAnalysisServices
YouhavetocreateBusinessLayeronMicrosoftAnalysisServicesM AS andbusinesslayerobjectsarecreated
bydefault.FollowingisthemappingofobjectsinBusinessLayer

DimensionAnalysisdimensionsarecreatedinthebusinesslayerforeachdimensioninthecube.

DisplayFolderFoldersarecreatedintheanalysisdimensiontocontainthehierarchiesinthedisplay
folder.

HierarchyForvaluebasedparent childhierarchies,avaluebasedhierarchyiscreatedinthe
analysisdimension.TheattributesarecreatedintheAttributesfolderinthehierarchy.

AttributeHierarchyAttributehierarchiesinthecubearecreatedaslevelbasedhierarchiesinthe
analysisdimension.

NamedSetNamedsetsarecreatedintherelatedanalysisdimension,inthefolderNamedsets.

MeasuresandCalculatedMeasuresMeasuresandcalculatedmeasuresarecreatedasmeasuresinthe
appropriatemeasuregroupfolder.Ameasureattributeiscreatedfortheformattedvalue.

CreatingaUniverseonSAS
YoucanbuildaUniverseonSASbyusingmultisourceenableddatafoundationandusingasecureconnection.

ConnectiontoSASdatasourcearemanagedbydatafederationservice.
MultilingualUniverses

YoucanalsocreatemultilingualUniverseinInformationDesigntool.Thisallowsyoutousemultilingual
solutionbyusingsingleUniversemetadatamodel.

FollowingarethestepstousemultilingualUniverseforreportcreation

Step1UseUniversedesignertodesignUniverseinsourcelanguageinIDT.

Step2Usetranslationmanagementtooltotranslatethemetadatainthedatafoundationandbusinesslayer.

Step3UsereportdesignerstobuildthereportsonthesameUniverse,whichcanbedisplayedindifferent
languagesasperuserpreferences.

Step4GotoInformationDesignToolPreferencesPreferredViewingLocaledeterminesthelanguageof
themetadataanddataintheQueryPanel.

Thiscanbeusedifyouhavesupportforthefollowing

Translationsareavailableinthelanguagemetadata.

Theconnectionsupportsthelanguageparameterdata.