Académique Documents
Professionnel Documents
Culture Documents
https://www.tutorialspoint.com/sap_idt/sap_idt_managing_connections.htm
Copyrighttutorialspoint.com
AconnectioninIDTisusedtoconnecttoarelationaloranOLAPdatasourceusingSAPBusinessObjects
reportingtool.Itcanbealocalconnectionoraconnectionpublishedinacentralrepository.
DifferentTypesofConnectionsSupportedinIDT
FollowingarethetypesofconnectionsthataresupportedinIDT
RelationalConnection
ThisisusedtodesignDataFoundationlayerinInformationDesigntool.Youcanimporttablesandjoinsfrom
datasource.
OLAPConnection
UsinganOLAPconnection,youcandesignabusinesslayerwhilecreatingaUniverse.Itallowsyoutoconnect
tomultidimensionalschemadirectlyandtoimportthemforUniversedesign.Later,theycanbeusedwithSAP
BusinessObjectsreportingtool.
BICSClient
ToconnecttoSAPNetWeaverBW,youcanuseSAPBICSclientmiddlewaretoprovideaccesstoBExquery.
ConnectionsinIDTcanbelocallysavedortheycanbesecuredandpublishedinacentralrepository.
Localconnectionsaresavedas.cnxfilesandtheycanbeaccessedbyanyuserwhoisrunningIDT.Onceyou
publishtheconnectiontotherepository,theyarechangedtoasecuredconnection.
AsecuredconnectionispublishedintotherepositoryandsavedinConnectionfolder.Youcanalsocreate
securedconnectionsbyusingInsertRelationalandInsertOLAPconnectioncommandsfromtherepository
resourceview.
Followingarethekeypropertiesofasecuredconnection
Usersmustbeauthenticated.
Userrightscanbedefinedattheuserleveltograntordenyaccesstoconnectionsorconnection
properties.
Securedconnectionscanbeusedorsharedbyauthenticatedusers.
CreatingaNewConnectioninIDTRelational
GotoInformationDesigntoolunderBIclient.TocreateanewRelationalconnection,firststartwithanew
projectunderLocalProjectview.
ClickNewProjectEntertheProjectNameFinish.
RightclickonProjectnameNewRelationalConnection.
Entertheconnection/resourcenameclickNext.
Selectthemiddlewareasperdatasource.YoucanselectSAPornonSAPasdatasourceandsetuparelational
connectiontothedatabase.
WehaveselectedSAPfromthelistSAPHANAJDBCclickNext.
EntertheAuthenticationmode,usernameandpassword.EnterthehostnameandtheInstancenumberandclick
Next.
Inthenextwindow,youcandefineconnectionparameterslikeTimeout,Arrayfetchsize,ArrayBindsize,etc.
ClickFinish.
ARelationalconnectiontosourcedatabaseiscreatedwith.cnxfileextension.YoucanclickTestConnection.
LowerpartofWindowtellsyouaboutconnectionparametersLoginparameters,configurationparameters,etc.
TestConnectionSuccessful
Similarly,youcancreateaRelationalconnectionforotherdatasources.
WehavetopublishthisconnectiontotheRepositorytomakeitavailableforuse.
RightClickonconnectionnamePublishconnectiontoRepositoryEnterBOrepositorypassword
ConnectFinishYes.
.cnssecuredRepositoryconnection
.cnxlocalunsecuredIfyouusethisconnectionitwillnotallowyoutopublishanythingtotherepository.
ThisshowshowarelationalconnectioncanbecreatedintheInformationDesignTool.Tosummarizethesteps
thatareinvolvedincreatingaconnection
Enterthenameoftheconnection
Selectthemiddlewareforthetargetdatabase
Entertheloginparameterstoconnecttotherelationaldatasource
ConfigureandcustomizeparameterstooptimizetheconnectionandFinish
Tochangeittosecure,publishtheconnectiontotheRepository
RenamingorDeletingaConnection
Torenameordeleteaconnection,rightclickonconnectionnameunderLocalProjectsarea.
YoucanalsodeleteoreditaRelationalconnectionlikethis.
CreatingaNewConnectioninIDTOLAP
AnOLAPconnectionisusedtoconnecttomultidimensionalvieworadatamodeltodesignBusinessLayerin
InformationDesigntool.
TocreateanewOLAPconnection,rightclickonProjectnameNewOLAPConnection.
Entertheconnectionname,descriptionandclickNext.
Next,selectanOLAPmiddlewaredriver.ItshowsalistofallavailableOLAPdatasources.Youcanselectany
ofOLAPdatasourceasperrequirement.
NotethatyoudontneedtocreateaDataFoundation,asanOLAPdirectlyhitstheBusinessLayer.Youcan
definedimensionsandmeasuresandotherpropertiesatBusinessLayer.
SelectthesuitablemiddlewaredrivertoconnecttoOLAPdatasourceandclickNext.
Entertheconnectionparameters,authenticationdetails,systemname,instancenumber,etc.andclickNext.
Youcanalsoselectaspecificcubetoconnectorallthecubesinthedesigntimerepository.Ifyouselecta
particularcube,thenusingthisOLAPconnectionyoucandesignBusinessLayeronlyontheobjectsavailablein
thatcube.
ClickFinish.
Now,youneedtopublishtheconnectiontotheRepository.RightclickonconnectionPublishtheConnection
totheRepository.
LoginParametersforConnection
WhenyoucreatearelationaloranOLAPconnectioninIDTtoconnecttoanydatasource,youhavetoprovide
loginparametersofsourcedatabasesuchasHostNameandInstanceNumber.
ConnectionParameters
Whilecreatingaconnection,youcanconfigurevariousconnectionparameters
ConnectionPoolModeThisisusedtokeeptheconnectionactive.
PoolTimeoutWhenyousettheconnectionpoolmodetokeepconnectionactivefor,lengthoftimein
minutestokeepconnectionopen.
ArrayFetchSizeThistellsthemaximumnumberofrowsthatcanbefetchedfromthedatabase.
ExampleSupposeyouenteravalueof25andyouqueryreturns150rowssoitwillbefetchedwith6fetches
of25rowseach.
ArrayBindSizeThisfieldisnotrequiredfordesigningUniverseinIDT.
LoginTimeoutItdeterminestheminutesaconnectionattemptstimeoutandanerrormessageisdisplayed.
TherearevariouscustomparametersthatcanalsobedefinedlikeConnectInit,Hint.
EditingaConnection
Toeditaconnection,doubleclickontheconnectionnameinLocalProjectView.
GotoGeneralInformationtabEdit.
Toedittheconnectionparameters,clickEditbutton.Youcanedittheauthenticationdetailsandconnection
parameters.
Tochangethemiddlewaredriver,clickChangeDriver.SelecttheDriverfromthedropdownlist.
Youcanalsotesttheavailabilityofthedatabaseserver,clickTestConnection.
The"ConnectionDefinition"paneshowstheinformationstoredabouttheconnectionLoginparameters,
Configurationparameters,etc.