SlideShare a Scribd company logo
SAP HANA Training
LOGO
What is SAP HANA ?
ļ¶ SAP HANAĀ isĀ aĀ modern,Ā in-memoryĀ databaseĀ andĀ platformĀ thatĀ isĀ 
deployableĀ onĀ premiseĀ orĀ inĀ theĀ cloud.
ļ¶ TheĀ SAP HANA platformĀ isĀ aĀ flexibleĀ dataĀ sourceĀ agnosticĀ in-memoryĀ dataĀ 
platformĀ thatĀ allowsĀ customersĀ toĀ analyzeĀ largeĀ volumesĀ ofĀ dataĀ inĀ real-
time.Ā 
ļ¶ ItĀ isĀ alsoĀ aĀ developmentĀ platform,Ā providingĀ anĀ infrastructureĀ andĀ toolsĀ forĀ 
buildingĀ high-performanceĀ applicationsĀ basedĀ onĀ SAPĀ HANAĀ ExtendedĀ 
ApplicationĀ ServicesĀ (SAPĀ HANAĀ XS).Ā 
ļ¶ ItĀ isĀ theĀ foundationĀ ofĀ variousĀ SAPĀ HANAĀ editions,Ā likeĀ theĀ SAPĀ HANAĀ 
PlatformĀ Edition,Ā providingĀ coreĀ databaseĀ technology,Ā andĀ theĀ SAPĀ HANAĀ 
EnterpriseĀ Edition,Ā bundlingĀ additionalĀ componentsĀ forĀ dataĀ provisioning.
ļ¶ Ā TheĀ SAPĀ HANAĀ PlatformĀ EditionĀ integratesĀ aĀ numberĀ ofĀ SAPĀ components,Ā 
includingĀ theĀ SAPĀ HANAĀ database,Ā SAPĀ HANAĀ studio,Ā andĀ SAPĀ HANAĀ clients.
LOGO
HANA System Architecture Overview
LOGO
HANA Architecture
LOGO
HANA System Architecture Overview
ServerĀ Components ServiceĀ Name Description
NameĀ server nameserver TheĀ nameĀ serverĀ ownsĀ theĀ informationĀ aboutĀ theĀ topologyĀ ofĀ theĀ SAPĀ HANAĀ system.Ā 
InĀ aĀ distributedĀ systemĀ withĀ instancesĀ ofĀ theĀ SAPĀ HANAĀ databaseĀ onĀ multipleĀ hosts,Ā theĀ nameĀ 
serverĀ knowsĀ whereĀ theĀ componentsĀ areĀ runningĀ andĀ whichĀ dataĀ isĀ locatedĀ onĀ whichĀ server.
IndexĀ Server IndexĀ server TheĀ indexĀ serverĀ containsĀ theĀ actualĀ dataĀ storesĀ andĀ theĀ enginesĀ forĀ processingĀ theĀ data.
XSĀ advancedĀ runtime ā€¢ Xscontroller
ā€¢ Xsexeagent
ā€¢ hdixsuaaserv
er
AsĀ ofĀ SAPĀ HANAĀ 1.0Ā SPSĀ 11,Ā SAPĀ HANAĀ includesĀ anĀ additionalĀ run-timeĀ environmentĀ forĀ 
applicationĀ development:Ā SAPĀ HANAĀ extendedĀ applicationĀ servicesĀ (XS),Ā advancedĀ model.
SAPĀ HANAĀ XSĀ advancedĀ modelĀ representsĀ anĀ evolutionĀ ofĀ theĀ applicationĀ serverĀ architectureĀ 
withinĀ SAPĀ HANAĀ byĀ buildingĀ uponĀ theĀ strengthsĀ (andĀ expandingĀ theĀ scope)Ā ofĀ SAPĀ HANAĀ 
extendedĀ applicationĀ servicesĀ (XS),Ā classicĀ model.
TheĀ SAPĀ HANAĀ XSĀ advancedĀ runtimeĀ consistsĀ ofĀ severalĀ processesĀ forĀ platformĀ servicesĀ andĀ forĀ 
executingĀ applications
SAPĀ HANAĀ DeploymentĀ 
InfrastructureĀ (HDI)Ā 
server
diserver HDIĀ handlesĀ theĀ deploymentĀ ofĀ design-timeĀ artifactsĀ intoĀ SAPĀ HANA.
XSĀ classicĀ server xsengine SAPĀ HANAĀ ExtendedĀ ApplicationĀ ServicesĀ (SAPĀ HANAĀ XS)Ā isĀ theĀ applicationĀ serverĀ forĀ nativeĀ SAPĀ 
HANA-basedĀ webĀ applications.Ā ItĀ isĀ installedĀ withĀ theĀ SAPĀ HANAĀ systemĀ andĀ allowsĀ developersĀ toĀ 
writeĀ andĀ runĀ SAPĀ HANA-basedĀ applicationsĀ withoutĀ theĀ needĀ toĀ runĀ anĀ additionalĀ applicationĀ 
server.Ā SAPĀ HANAĀ XSĀ isĀ alsoĀ usedĀ toĀ runĀ web-basedĀ toolsĀ thatĀ comeĀ withĀ SAPĀ HANA,Ā forĀ instanceĀ 
forĀ administration,Ā lifecycleĀ managementĀ andĀ development.Ā SAPĀ HANAĀ XSĀ classicĀ isĀ theĀ originalĀ 
implementationĀ ofĀ SAPĀ HANAĀ XS.
TheĀ XSĀ classicĀ serverĀ canĀ runĀ asĀ aĀ separateĀ serverĀ processĀ orĀ embeddedĀ withinĀ theĀ indexĀ server.
ExtendedĀ storeĀ server esserver TheĀ extendedĀ storeĀ serverĀ isĀ partĀ ofĀ theĀ SAPĀ HANAĀ dynamicĀ tieringĀ optionĀ forĀ SAPĀ HANA.Ā ItĀ 
providesĀ aĀ high-performanceĀ disk-basedĀ columnĀ storeĀ forĀ veryĀ bigĀ dataĀ upĀ toĀ theĀ petabyteĀ 
range.Ā 
DataĀ provisioningĀ server dpserver TheĀ dataĀ provisioningĀ serverĀ isĀ partĀ ofĀ theĀ SAPĀ HANAĀ smartĀ dataĀ integrationĀ optionĀ forĀ SAPĀ 
HANA.Ā ItĀ providesĀ capabilitiesĀ suchĀ asĀ dataĀ provisioningĀ inĀ realĀ timeĀ andĀ batchĀ mode,Ā real-timeĀ 
dataĀ transformations,Ā dataĀ qualityĀ functions,Ā adaptersĀ forĀ variousĀ typesĀ ofĀ remoteĀ sources,Ā andĀ 
anĀ adapterĀ SDKĀ forĀ developingĀ additionalĀ adapters.
StreamingĀ cluster streamingserver TheĀ streamingĀ clusterĀ isĀ partĀ ofĀ theĀ SAPĀ HANAĀ smartĀ dataĀ streamingĀ optionĀ forĀ SAPĀ HANA.Ā SmartĀ 
dataĀ streamingĀ extendsĀ SAPĀ HANAĀ withĀ capabilitiesĀ ofĀ SAPĀ EventĀ StreamĀ ProcessorĀ forĀ 
consumingĀ dataĀ streamsĀ andĀ complexĀ eventĀ processing.Ā 
LOGO
HANA System Architecture Overview
ServerĀ Components ServiceĀ Name Description
Accelerator for SAP
ASE
etsserver The SAP ASE server is part of the SAP HANA Accelerator for SAP ASE option for SAP
HANA. It provides SAP Adaptive Server Enterprise (ASE) users the ability to use SAP
HANA on SAP ASE data, for real-time analytics
SAP HANA remote
data sync
rdsyncserver The remote data sync server is part of the SAP HANA Real-Time Replication option for
SAP HANA. SAP HANA remote data sync is a session-based synchronization technology
designed to synchronize SAP SQL Anywhere remote databases with a consolidated
database.
Preprocessor server preprocessor The preprocessor server is used by the index server to analyze text data and extract
the information on which the text search capabilities are based.
Compile server compileserver The compile server performs the compilation of stored procedures and programs, for
example, SQLScript procedures. It runs on every host and does not persist data.
Script server scriptserver The script server is used to execute application function libraries written in C++. The
script server is optional and must be started manually. For more information, see SAP
Note 1650957.
SAP Web Dispatcher webdispatcher The Web Dispatcher processes inbound HTTP and HTTPS connections to XS services.
SAP start service sapstartsrv The SAP start service is responsible for starting and stopping the other services in the
correct order. It also performs other functions, such as monitoring their runtime state.
LOGO
HANA System Architecture Overview
LOGO
HANA Architecture
LOGO
HANA Development Scenarios
LOGO
HANA Development Scenarios
LOGO
HANA Database Development
LOGO
HANA Studio
LOGO
Calculation Viewā€™s
ļ¶ AĀ calculationĀ viewĀ allowsĀ usersĀ toĀ defineĀ moreĀ advancedĀ slicesĀ onĀ 
theĀ dataĀ availableĀ inĀ theĀ SAPĀ HANAĀ database.
ļ¶ CalculationĀ viewsĀ areĀ mainlyĀ usedĀ forĀ analyzingĀ operationalĀ dataĀ 
martsĀ orĀ runningĀ multidimensionalĀ reportsĀ onĀ revenue,Ā profitability,Ā 
andĀ soĀ on.
ļ¶ Attributes:Ā 
ļ® DescriptiveĀ dataĀ -Ā suchĀ asĀ customerĀ ID,Ā city,Ā andĀ country.
ļ¶ Measures:Ā 
ļ® QuantifiableĀ dataĀ -Ā suchĀ asĀ revenue,Ā quantityĀ soldĀ and,Ā counters.
ļ¶ CalculationĀ viewā€™sĀ supportĀ theĀ following
ļ® SupportĀ bothĀ OLAPĀ andĀ OLTPĀ modelsĀ i.e.Ā SQLĀ andĀ MDX.
ļ® SupportĀ complexĀ expressionsĀ (forĀ example,Ā IF,Ā Case,Ā Counter).
ļ® SupportĀ analyticĀ privilegesĀ (forĀ example,Ā restrictingĀ aĀ userĀ forĀ aĀ certainĀ costĀ center).
ļ® SupportĀ SAPĀ ERPĀ specificĀ featuresĀ (forĀ example,Ā clientĀ handling,Ā language,Ā currencyĀ 
conversion).
ļ® CombineĀ factsĀ fromĀ multipleĀ tables.
ļ® SupportĀ additionalĀ dataĀ processingĀ operations,Ā (forĀ example,Ā Union,Ā explicitĀ aggregation).
ļ® LeverageĀ bothĀ ColumnĀ andĀ RowĀ tables.
LOGO
Cal Views
LOGO
Working With Attributes and Measures
ļ¶ Attributes: AttributesĀ areĀ theĀ non-measurableĀ analyticalĀ elements.
ļ¶ Measures: MeasuresĀ areĀ measurableĀ analyticalĀ elementsĀ thatĀ areĀ derivedĀ fromĀ calculationĀ views.
Attributes Description Example
SimpleĀ 
Attributes
IndividualĀ non-measurableĀ analyticalĀ elementsĀ 
thatĀ areĀ derivedĀ fromĀ theĀ dataĀ sources.
ForĀ example,Ā PRODUCT_IDĀ andĀ PRODUCT_NAMEĀ areĀ 
attributesĀ ofĀ productĀ dataĀ source.
CalculatedĀ 
Attributes
DerivedĀ fromĀ oneĀ orĀ moreĀ existingĀ attributesĀ orĀ 
constants.
ForĀ example,Ā derivingĀ theĀ fullĀ nameĀ ofĀ aĀ customerĀ 
(firstĀ nameĀ andĀ lastĀ name),Ā assigningĀ aĀ constantĀ 
valueĀ toĀ anĀ attributeĀ thatĀ canĀ beĀ usedĀ forĀ arithmeticĀ 
calculations.
Measures Description Example
SimpleĀ Measures AĀ simpleĀ measureĀ isĀ aĀ measurableĀ 
analyticalĀ elementĀ thatĀ isĀ derivedĀ fromĀ theĀ 
dataĀ sources.
ForĀ example,Ā PROFIT.
CalculatedĀ Measures CalculatedĀ measuresĀ areĀ definedĀ basedĀ onĀ 
aĀ combinationĀ ofĀ dataĀ fromĀ otherĀ dataĀ 
sources,Ā arithmeticĀ operators,Ā constants,Ā 
andĀ functions.
ForĀ example,Ā youĀ canĀ useĀ calculatedĀ measuresĀ toĀ 
calculateĀ theĀ netĀ profitĀ fromĀ revenueĀ andĀ 
operationalĀ cost..
Counters CountersĀ addĀ aĀ newĀ measureĀ toĀ theĀ 
calculationĀ viewĀ definitionĀ toĀ countĀ theĀ 
distinctĀ occurrencesĀ ofĀ anĀ attribute.
ForĀ example,Ā toĀ countĀ howĀ manyĀ timesĀ productĀ 
appearsĀ andĀ useĀ thisĀ valueĀ forĀ reportingĀ purposes.
LOGO
Generate Time Data
ļ¶ GenerateĀ timeĀ dataĀ intoĀ theĀ standardĀ time-relatedĀ tablesĀ thatĀ areĀ availableĀ 
inĀ theĀ _SYS_BIĀ schema.
ļ¶ Ā AfterĀ generatingĀ theĀ timeĀ data,Ā youĀ canĀ useĀ theĀ standardĀ time-relatedĀ 
tablesĀ asĀ dataĀ sourcesĀ inĀ theĀ calculationĀ viewĀ toĀ addĀ aĀ timeĀ dimensionĀ toĀ 
theĀ view.
ļ¶ SupportedĀ CalendarĀ TypesĀ ForĀ GeneratingĀ TimeĀ Data
ļ¶ SupportedĀ TimeĀ RangeĀ forĀ GeneratingĀ TimeĀ DataĀ ā€“Ā forĀ theĀ GregorianĀ CalendarĀ type
LOGO
Generate Time Data
ļ¶ GregorianĀ calendarĀ type
ļ® M_TIME_DIMENSION_YEAR,Ā 
ļ® M_TIME_DIMENSION_MONTH,Ā 
ļ® M_TIME_DIMENSION_WEEK,
ļ® M_TIME_DIMENSION
ļ¶ FiscalĀ calendarĀ type
ļ® InĀ theĀ SchemaĀ textĀ field,Ā enterĀ theĀ nameĀ ofĀ theĀ variantĀ schemaĀ thatĀ containsĀ 
tablesĀ havingĀ variantĀ data.
ļ® TheĀ variantĀ specifiesĀ theĀ numberĀ ofĀ periodsĀ alongĀ withĀ theĀ startĀ andĀ endĀ 
dates.
ļ® M_FISCAL_CALENDAR
ļ¶ Create Time Dimension view and add view to the other Cal
viewā€™s
LOGO
Graphical Calculation Views
ļ¶ CreateĀ graphicalĀ calculationĀ viewsĀ usingĀ aĀ graphicalĀ editorĀ toĀ depictĀ aĀ 
complexĀ businessĀ scenario.Ā YouĀ canĀ alsoĀ createĀ graphicalĀ calculationĀ viewsĀ 
toĀ includeĀ layersĀ ofĀ calculationĀ logic.
ļ® WorkingĀ withĀ ViewĀ node
ļ® WorkingĀ withĀ ColumnĀ andĀ properties
ļ® WorkingĀ theĀ CalculationĀ ViewĀ Properties
LOGO
Working with View Nodes
Node Description Example
Projection
UseĀ ProjectionĀ nodeĀ toĀ filterĀ orĀ obtainĀ aĀ subsetĀ ofĀ 
requiredĀ columnsĀ ofĀ aĀ dataĀ sourceĀ (tables,Ā views,Ā 
tableĀ functions,Ā andĀ soĀ on.)
Projection nodes have one input.
ForĀ selectingĀ theĀ employeeĀ nameĀ andĀ employeeĀ 
departmentĀ fromĀ aĀ tableĀ consistingĀ ofĀ manyĀ otherĀ 
columns.
Aggregation
UseĀ AggregationĀ nodeĀ toĀ summarizeĀ dataĀ forĀ aĀ 
groupĀ ofĀ rowĀ values,Ā byĀ calculatingĀ valuesĀ inĀ aĀ 
column.
Aggregation nodes have one input.
ForĀ retrievingĀ totalĀ salesĀ ofĀ aĀ productĀ inĀ aĀ month.Ā 
TheĀ supportedĀ aggregationĀ typesĀ areĀ SUM,Ā MIN,Ā 
VAR,Ā STDDEV,Ā MAX,Ā COUNT,Ā AVG.
Join
UseĀ JoinĀ nodeĀ toĀ queryĀ dataĀ fromĀ twoĀ dataĀ sources,Ā 
basedĀ onĀ aĀ specifiedĀ condition.Ā 
Join nodes have two inputs.
ForĀ retrievingĀ customerĀ detailsĀ andĀ locationĀ basedĀ 
onĀ theĀ postalĀ codeĀ columnsĀ inĀ 
theĀ CUSTOMERĀ andĀ GEOGRAPHYĀ tables.Ā TheĀ 
CUSTOMERĀ tableĀ hasĀ columnsĀ Customer_ID,Ā 
Customer_NameĀ andĀ Postal_Code,Ā andĀ theĀ 
GEOGRAPHYĀ tableĀ hasĀ columnsĀ 
Customer_ID,Postal_Code,Ā RegionĀ andĀ Country.
Union
UseĀ UnionĀ nodeĀ toĀ combineĀ theĀ resultĀ setĀ ofĀ twoĀ orĀ 
moreĀ dataĀ sources.Ā 
Union nodes have two or more inputs.
ForĀ retrievingĀ theĀ namesĀ ofĀ allĀ employeesĀ ofĀ aĀ 
store,Ā whichĀ hasĀ differentĀ branches,Ā withĀ eachĀ 
branchĀ maintainingĀ itsĀ ownĀ employeeĀ recordsĀ table.
Rank
UseĀ RankĀ nodeĀ toĀ partitionĀ theĀ dataĀ forĀ aĀ setĀ ofĀ 
partitionĀ columns,Ā andĀ toĀ performĀ anĀ orderĀ byĀ 
operationĀ onĀ theĀ partitionedĀ data.
RetrievingĀ theĀ topĀ fiveĀ products,Ā basedĀ onĀ sales,Ā 
fromĀ aĀ TRANSACTIONĀ tableĀ withĀ 
columnsĀ PRODUCTĀ andĀ SALES.
Graph
UseĀ GraphĀ nodeĀ toĀ executeĀ anyĀ ofĀ theĀ availableĀ 
graphĀ operationsĀ orĀ actionsĀ onĀ theĀ graphĀ 
workspace.
A graph node is always the leaf node only.
ExecuteĀ graphĀ actionsĀ suchĀ asĀ theĀ shortestĀ pathĀ orĀ 
theĀ strongestĀ connectionĀ betweenĀ componentsĀ inĀ 
theĀ graphĀ workspace.Ā TheĀ graphĀ workspaceĀ includesĀ 
theĀ definitionĀ ofĀ theĀ vertexĀ tableĀ andĀ edgeĀ tableĀ 
thatĀ areĀ requiredĀ toĀ executeĀ theĀ action.
LOGO
Working with View Nodes
LOGO
Projection/Aggregation Filter Output
ļ¶ ApplyĀ filtersĀ onĀ columnsĀ ofĀ projectionĀ orĀ aggregationĀ viewĀ nodesĀ toĀ 
filterĀ theirĀ output.
ļ¶ YouĀ cannotĀ applyĀ filterĀ onĀ columnsĀ ofĀ theĀ defaultĀ projectionĀ orĀ theĀ 
defaultĀ aggregationĀ nodesĀ ofĀ calculationĀ views.
ļ¶ Ā FilterĀ onĀ columnsĀ areĀ equivalentĀ toĀ ā€œHAVINGā€Ā CLAUSEĀ ofĀ SQL.
ļ¶ Ā WeĀ canĀ useĀ bothĀ ColumnĀ orĀ SQLĀ EngineĀ forĀ filterĀ expressions
ForĀ example,
(revenueĀ >=Ā 100Ā ANDĀ regionĀ =Ā India)Ā ORĀ (revenueĀ >=50Ā ANDĀ regionĀ 
=Ā Germany)
LOGO
JoinsĀ 
LOGO
Join Properties
JoinĀ 
Properties
Description
JoinĀ Type TheĀ valueĀ ofĀ thisĀ propertyĀ specifiesĀ theĀ joinĀ typeĀ usedĀ forĀ creatingĀ aĀ join.
Cardinality TheĀ valueĀ ofĀ thisĀ propertyĀ specifiesĀ theĀ cardinalityĀ usedĀ forĀ creatingĀ aĀ join.Ā 
ByĀ default,Ā theĀ cardinalityĀ ofĀ theĀ joinĀ isĀ empty.Ā IfĀ youĀ areĀ notĀ sureĀ aboutĀ 
theĀ rightĀ cardinalityĀ forĀ theĀ joinĀ tables,Ā itĀ isĀ recommendedĀ toĀ notĀ specifyĀ 
anyĀ cardinality.Ā TheĀ systemĀ determinesĀ theĀ cardinalityĀ whenĀ executingĀ theĀ 
join.
LanguageĀ 
Column
TheĀ valueĀ ofĀ thisĀ propertyĀ specifiesĀ theĀ languageĀ columnĀ thatĀ modelerĀ 
mustĀ useĀ forĀ executingĀ textĀ joins.Ā 
DynamicĀ Join TheĀ valueĀ ofĀ thisĀ propertyĀ determinesĀ whetherĀ modelerĀ mustĀ dynamicallyĀ 
defineĀ theĀ columnsĀ ofĀ theĀ joinĀ conditionĀ basedĀ onĀ theĀ clientĀ query.Ā 
OptimizeĀ JoinĀ 
Columns
TheĀ valueĀ ofĀ thisĀ propertyĀ determinesĀ whetherĀ modelerĀ mustĀ retrieveĀ theĀ 
columnsĀ thatĀ areĀ notĀ specifiedĀ inĀ theĀ queryĀ fromĀ theĀ database.Ā 
LOGO
Join types
JoinĀ Type Description
Inner ThisĀ joinĀ typeĀ returnsĀ allĀ rowsĀ whenĀ thereĀ isĀ atĀ leastĀ oneĀ matchĀ inĀ bothĀ 
theĀ dataĀ sources.
LeftĀ Outer ThisĀ joinĀ typeĀ returnsĀ allĀ rowsĀ fromĀ theĀ leftĀ dataĀ source,Ā andĀ theĀ matchedĀ 
rowsĀ fromĀ theĀ rightĀ dataĀ source.
RightĀ Outer ThisĀ joinĀ typeĀ returnsĀ allĀ rowsĀ fromĀ theĀ rightĀ dataĀ source,Ā andĀ theĀ 
matchedĀ rowsĀ fromĀ theĀ leftĀ dataĀ source.
TextĀ Join ThisĀ joinĀ typeĀ isĀ usedĀ toĀ obtainĀ language-specificĀ dataĀ fromĀ theĀ textĀ tablesĀ 
usingĀ aĀ languageĀ column.
FullĀ Outer ThisĀ joinĀ typeĀ displaysĀ resultsĀ fromĀ bothĀ leftĀ andĀ rightĀ outerĀ joinsĀ andĀ 
returnsĀ allĀ (matchedĀ orĀ unmatched)Ā rowsĀ fromĀ theĀ tablesĀ onĀ bothĀ sidesĀ ofĀ 
theĀ joinĀ clause.
Referential ThisĀ joinĀ typeĀ isĀ similarĀ toĀ innerĀ joinĀ type,Ā butĀ assumesĀ referentialĀ 
integrityĀ isĀ maintainedĀ forĀ theĀ joinĀ tables.
LOGO
Dynamic Join
ļ¶ AfterĀ creatingĀ aĀ joinĀ betweenĀ twoĀ dataĀ sources,Ā youĀ canĀ defineĀ theĀ 
joinĀ propertyĀ asĀ dynamic.Ā 
ļ¶ DynamicĀ joinsĀ improvesĀ theĀ joinĀ executionĀ processĀ andĀ helpĀ reduceĀ 
theĀ numberĀ ofĀ recordsĀ thatĀ joinĀ nodeĀ processĀ atĀ runĀ time.
ļ¶ Ā YouĀ canĀ setĀ theĀ DynamicĀ JoinĀ propertyĀ onlyĀ ifĀ theĀ twoĀ dataĀ sourcesĀ 
areĀ joinedĀ onĀ multipleĀ columns.
StaticĀ Join DynamicĀ Join
InĀ staticĀ joins,Ā theĀ joinĀ conditionĀ isn'tĀ 
changed,Ā irrespectiveĀ ofĀ theĀ clientĀ query.
InĀ DynamicĀ joins,Ā theĀ joinĀ conditionĀ 
changed,Ā basedĀ onĀ theĀ clientĀ query
NoĀ RunĀ timeĀ errorĀ evenĀ ifĀ queryĀ doesĀ notĀ 
requestĀ theĀ joinĀ column
InĀ aĀ dynamicĀ join,Ā ifĀ theĀ clientĀ queryĀ toĀ 
theĀ joinĀ doesn'tĀ requestĀ aĀ joinĀ column,Ā 
aĀ queryĀ runĀ timeĀ errorĀ occurs
AggregationĀ happensĀ afterĀ theĀ joinĀ 
condition
AggregationĀ happensĀ beforeĀ theĀ joinĀ 
condition
LOGO
Dynamic vs Static Joins Example
LOGO
Optimize Join Execution
ļ¶ WhileĀ executingĀ theĀ join,Ā byĀ default,Ā theĀ queryĀ retrievesĀ joinĀ 
columnsĀ fromĀ theĀ databaseĀ evenĀ ifĀ youĀ don'tĀ specifyĀ itĀ inĀ theĀ 
query.Ā 
ļ¶ TheĀ queryĀ automaticallyĀ includesĀ theĀ joinĀ columnsĀ intoĀ theĀ SQLĀ 
GROUPĀ BYĀ clauseĀ withoutĀ youĀ selectingĀ themĀ inĀ theĀ query.
ļ¶ OptimizingĀ joinĀ columnsĀ isĀ supportedĀ onlyĀ forĀ leftĀ outerĀ joins,Ā orĀ 
textĀ joinsĀ (withĀ cardinalityĀ 1:1Ā orĀ N:1),Ā andĀ rightĀ outerĀ joinsĀ (withĀ 
cardinalityĀ 1:1Ā orĀ 1:N).
ļ¶ TheĀ joinĀ optimizerĀ cannotĀ removeĀ attributesĀ ofĀ staticĀ filtersĀ ifĀ theĀ 
filtersĀ areĀ definedĀ onĀ joinĀ columnsĀ forĀ whichĀ youĀ haveĀ 
enabledĀ OptimizeĀ JoinĀ Columns.Ā InĀ thisĀ case,Ā youĀ canĀ optimizeĀ theĀ 
joinĀ columnĀ byĀ introducingĀ aĀ dummyĀ projectionĀ nodeĀ betweenĀ theĀ 
joinĀ andĀ theĀ inputĀ nodeĀ withĀ staticĀ filters.
LOGO
Special Joins
SpecialĀ 
Join
Description Example
StarĀ Join StarĀ joinsĀ connectĀ aĀ centralĀ dataĀ 
entityĀ toĀ multipleĀ entitiesĀ thatĀ areĀ 
logicallyĀ related.Ā YouĀ canĀ createĀ aĀ 
graphicalĀ calculationĀ viewĀ withĀ 
starĀ joinsĀ thatĀ joinĀ multipleĀ 
dimensionsĀ toĀ aĀ singleĀ factĀ table.
Ā 
TemporalĀ 
Joins
TemporalĀ joinsĀ letĀ youĀ joinĀ theĀ 
transactionĀ dataĀ (factĀ table)Ā withĀ 
theĀ masterĀ data,Ā basedĀ onĀ 
temporalĀ columnĀ valuesĀ fromĀ theĀ 
transactionĀ dataĀ andĀ theĀ timeĀ 
validityĀ fromĀ theĀ masterĀ data.
ConsiderĀ aĀ dimensionĀ calculationĀ viewĀ namedĀ PRODUCTĀ (masterĀ 
data)Ā withĀ attributesĀ PRODUCT_ID,Ā VALID_FROM_DATE,Ā andĀ 
VALID_TO_DATEĀ andĀ aĀ calculationĀ viewĀ ofĀ typeĀ 
cube,Ā SALESĀ (transactionalĀ data)Ā withĀ 
attributesĀ PRODUCT_ID,Ā DATE,Ā andĀ REVENUE.Ā Conditions:Ā 
Include/ExcludeĀ both,Ā IncludeĀ ToĀ ExcludeĀ fromĀ andĀ ExcludeĀ ToĀ 
IncludeĀ from
TextĀ Joins AĀ textĀ joinĀ helpsĀ obtainĀ language-
specificĀ data.Ā ItĀ retrievesĀ columnsĀ 
fromĀ aĀ textĀ tableĀ basedĀ onĀ theĀ 
userā€™sĀ sessionĀ language.
TheĀ textĀ tablesĀ containĀ descriptionĀ forĀ aĀ columnĀ valueĀ inĀ differentĀ 
languages.Ā ForĀ example,Ā considerĀ aĀ PRODUCTĀ tableĀ thatĀ 
containsĀ PRODCUT_IDĀ andĀ aĀ textĀ tableĀ PRODUCT_TEXTĀ thatĀ 
containsĀ theĀ columnsĀ PRODUCT_ID,Ā DESCRIPTION,Ā 
andĀ LANGUAGE.
SpatialĀ Joins CreateĀ spatialĀ joinsĀ toĀ queryĀ dataĀ 
fromĀ dataĀ sourcesĀ thatĀ haveĀ 
spatialĀ data.
Ā 
LOGO
Union
ļ¶ UseĀ unionĀ nodesĀ inĀ calculationĀ viewsĀ toĀ combineĀ theĀ resultsĀ ofĀ twoĀ 
orĀ moreĀ dataĀ sources.
LOGO
Constant Columns
LOGO
Empty Union Behavior
ļ¶ TheĀ EmptyĀ UnionĀ BehaviorĀ propertyĀ determinesĀ whetherĀ queriesĀ onĀ unionĀ nodes,Ā onesĀ withĀ 
constantĀ outputĀ columns,Ā willĀ returnĀ valuesĀ whenĀ noĀ otherĀ columnĀ fromĀ theĀ dataĀ sourceĀ isĀ 
queried.
ļ¶ ThisĀ propertyĀ isĀ useful,Ā forĀ example,Ā forĀ valueĀ helpĀ queriesĀ inĀ applications.
ļ¶ NoĀ Row
ļ¶ RowĀ withĀ Constant
IfĀ theĀ Empty Union Behavior propertyĀ isĀ setĀ 
toĀ No Row,Ā noĀ dataĀ fromĀ ProjectionĀ _2Ā appearsĀ 
inĀ theĀ outputĀ data.Ā 
OnlyĀ dataĀ fromĀ Projection_1Ā appearsĀ inĀ theĀ 
outputĀ data.
IfĀ theĀ Empty Union BehaviorĀ propertyĀ isĀ setĀ 
toĀ Row with Constant,Ā theĀ outputĀ dataĀ 
includesĀ oneĀ recordĀ fromĀ ProjectionĀ _2.Ā 
InĀ thisĀ oneĀ record,Ā theĀ constantĀ valueĀ AĀ appearsĀ 
forĀ theĀ CONSTANTĀ columnĀ andĀ valuesĀ forĀ allĀ 
otherĀ columnsĀ appearsĀ asĀ null.
LOGO
Prune Data in Union Nodes
ļ¶ PruningĀ dataĀ inĀ unionĀ nodesĀ helpĀ optimizeĀ theĀ queryĀ execution.Ā 
ļ¶ YouĀ createĀ aĀ pruningĀ configurationĀ table,Ā whichĀ specifiesĀ theĀ filterĀ conditionsĀ toĀ limitĀ theĀ 
resultĀ set,Ā andĀ pruneĀ dataĀ usingĀ thisĀ table.
LOGO
Rank
ļ¶ Use rank nodes in calculation views to partition the data for a set of
partition columns, and perform an ORDER BY SQL operation on the
partitioned data.
LOGO
Rank
ļ¶ Define Sort Direction
ļ¶ Define threshold value
ļ¶ Use a Fixed value or an Input Parameter as the threshold value
ļ¶ Order by
ļ¶ select a column that modeler must use to perform
the order by operation.
ļ¶ Partition Data
ļ¶ Partition by Column more than one column
ļ¶ Dynamic Partition - based query request
ļ¶ select the Dynamic Partition Elements checkbox.
ļ¶ Generate the Rank Column
ļ¶ If you want generate an additional output column for the
rank node to store the rank values,
select the Generate Rank Column checkbox.
LOGO
Graph Nodes
ļ¶ SAP HANA Graph lets you create graph nodes in calculation views
for various calculation scenarios.
ļ¶ A graph node helps execute one of the available actions on a graph
workspace and provides the output as a table.
LOGO
Working with Columns
Task to perform Requirement
Create Counters Count the number of distinct values for a set of attribute columns.
Create Calculated Columns Create new output columns and calculate their values at run time using an expression.
Create Restricted Columns Create restricted columns as an additional measure based on attribute restrictions
REVENUE column only for REGION = APJ, and YEAR = 2012.
> Measure and Attribute Column
> Expressions
Assign Semantics Assign semantic types to provide more meaning to attributes and measures in calculation
views.
Create Input Parameters Parameterize calculation views and execute them based on the values users provide at
query run time.
Assign Variables Filter the results based on the values that users provide to attributes at run time.
Create Level Hierarchies Create level hierarchies to organize data in reporting tools.
Create Parent-Child Hierarchies Create parent-child hierarchies to organize data in reporting tools.
Associate Measures with Currency Associate measures with currency codes and perform currency conversions.
Associate Measures with Unit of
Measure
Associate measures with unit of measures and perform unit conversions.
Group Related Measures Group related measures together in a folder.
Enable or Disable Attributes for
Drilldown in Reporting Tools
By default, the tool lets you drilldown the attributes or calculated attributes in the reporting
tools. You can disable this behavior for selected attributes.
Assign Value Help for Attributes If you are using attribute data to provide values to variables and input parameters at
runtime, you can assign a value help to that attribute in order to use values from other
attributes, which are available within the same calculation view or in other tables or other
calculation views.
Handle Null Values in Columns Define default values for columns (both attributes and measures) in the event that no value
is provided during an INSERT operation. The system uses these default values in the
reporting tools to replace any null values in columns.
Add Descriptions to Attributes In an information view, you can associate an attribute or a column having texts, as a label
column to another attribute or column.
LOGO
Working with Columns
LOGO
Assign Semantics
ļ¶ Assigning semantics to measures or attributes in calculation views helps
define output structure of views.
ļ® Extract and Copy Semantics From Underlying Data Sources
ļ® Propagate Columns to Semantics
ļ® Supported Semantic Types for Measures
ļ® Supported Semantic Types for Attributes
Extract and Copy Semantics From Underlying
Data Sources
While defining the semantics for a calculation view, you
can extract and copy the semantic definitions of columns
from their underlying data sources.
Propagate Columns to Semantics Propagate columns from underlying view nodes to the
semantics node and to other view nodes that are in the
joined path
Supported Semantic Types for Measures Amount with Currency Code
Quantity with Unit of Measures
Supported Semantic Types for Attributes Amount with Currency Code
Quantity with Unit of Measures
Currency Code
Unit of Measure
Date
Date ā€“ Business Date From
Date ā€“ Business Date To
Geo Location - Longitude
Geo Location - Latitude
Geo Location - Carto ID
Geo Location ā€“ Normalized Name
LOGO
Convert Attribute Values to Required Formats
ļ¶ Assign conversion functions to attribute columns. These functions help
maintain conversion from any internal to external format and from any
external to internal format.
Stored Data
Type Format
Stored
Value
Formatted
Value
Preservi
ng Order
ABAP Date 20160503 05.03.2016 No
ABAP Date 20160503 2016.05.03 Yes
LOGO
Convert Attribute Values to Required Formats
LOGO
Creating Input Parameters
ļ¶ Input parameters helps you parameterize calculation views and execute them based
on the values you provide to the input parameters at query runtime. The engine
considers input parameters as the PLACEHOLDER clause of the SQL statement.
Properties Description
Default Value The value of this property specifies the default value that modeler uses
if you do not provide any values to the input parameter at runtime.
Parameter Type The value of this property specifies the input parameter type..
Multiple Entries The value of this property specifies whether the input parameter is
configured to support multiple values at runtime.
Is Mandatory The value of this property specifies whether the input parameter is
configured to mandatorily accept a value at runtime.
LOGO
Default Values
Default Value Meaning
Constant i.If you want to use a constant value as the default input parameter
value,In the Default Value section, choose the add icon.
ii.In Type dropdown list section, select Constant.
iii.In Value field, provide a constant value.
Expression If you want to use the result of an expression as the default input
parameter value:
i.In the Default Value section, choose the add icon.
ii.In Type dropdown list section, select Expression.
iii.In the Value field, choose the value help to open the expression
editor.
iv.In the Expression Editor, enter a valid expression.
v.Choose Validate Syntax.
vi.Choose Back..
For example, you can evaluate the expression date(Now()), and use the
result as the default input parameter value at runtime.
LOGO
Parameter Type
Input Parameter
Type
Description Next Steps
Column At runtime, modeler provides a value help with attribute
data. You can choose a value from the attribute data as an
input parameter value.
You can also choose a hierarchy from the calculation view to
organize the data in reporting tools. But, only if the
hierarchy contains the variableā€™s reference column at the
leaf level (in level hierarchies) or as a parent attribute (in
parent-child hierarchies).
a. In the Reference Column dropdown list, select an
attribute.b. If you want to use attribute data from another
calculation view as the reference column, in theView/Table
for value help dropdown list, select the information view that
contains the required attribute.
c. If you want use a hierarchy to organize the data in
reporting tools, in Hierarchy dropdown list, select a
hierarchy.
Derived from
table
At runtime, modeler uses the value from the tableā€™s return
column as the input parameter value. This means that, you
need not provide any values to the inputparameter at
runtime.
Input parameters of this type are typically used to evaluate
a formula. For example, you calculate a discount for specific
clients by creating an input parameter, which is derived
from the SALES table and return column REVENUE with a
filter set on the CLIENT_ID.
a. In the Table Name dropdown list, select a table.
b. For the table you select, in the Return Columndropdown
list, select a column value.
c. In the Filters section, define filter conditions to filter the
values of return column.
Direct Specify the data type and length and scale of the input
parameter value that you want to use at runtime.
You can also define an input parameter with semantic type
as Currency or Unit of Measure or Date.
For example, in currency conversions, you can specify the
target currency value at run time by creating an input
parameter of type Direct with semantic type as Currency.
b. In the Data Type dropdown list, select the data type.
c. Provide the Length and Scale for the data type you choose.
a. Optionally, In the Semantic Type dropdown list, specify
the semantic type for you input parameter.
Static List At runtime, modeler provides a value help with the static
list. You can choose a value from this list as an input
parameter value.
a. In the Data Type dropdown list, select the data type for
the list values.
b. Provide the Length and Scale for the data type you
choose.
c. In the List of Values section, choose the add icon to
provide the list values.
Derived from
Procedure/Scalar
functions
At runtime, modeler uses the value returned from the
procedure or scalar function as the input parameter value.
a..In Procedure/ Scalar Function textbox, provide the name
of procedure or scalar function.
LOGO
Map Input Parameters or Variables
ļ¶ If you are creating a calculation view by using other calculation views,
attribute views or analytic views, which have input parameters or variables
defined on it, then you can map the input parameters or variables of the
underlying data sources with the input parameters or variables of the
calculation view that you are creating
Value Description
Data Sources If you are using other data sources in your calculation view
and if you want map input parameters of these data sources
with the input parameters of the calculation view.
Views for value
help for
variables/input
parameters
If you are using input parameters or variables, which refer
to external views for value help references and if you want
to map input parameters or variables of external views with
the input parameters or variables of the calculation view.
Views for value
help for
attributes
If you are creating a calculation view, and for the attributes
in the underlying data sources of this calculation view, if you
have defined a value help view or a table that provides
values to filter the attribute at runtime.
LOGO
Assign Variable
ļ¶ Calculation views contain variables that are bound to specific
attributes within the calculation view.
ļ¶ Variables are runtime filters that help to filter attributes, based on
values that users provide.
ļ¶ Is Mandatory
ļ¶ Multiple Values
ļ¶ Reference Column (View/Table Value Help)
ļ¶ Constant or Expression
ļ¶ Supported Variable types
ļ® Single Value
ļ® Interval From/To
ļ® Range Equal/Less than
LOGO
Using Currency and Unit of Measure Conversions
ļ¶ If measures in your calculation views or analytic views represent currency
or unit values, associate them with currency codes or unit of measures. This
helps you display the measure values along with currency codes or unit of
measures at data preview or in reporting tools.
ļ¶ Associate Measures with Currency
ļ¶ Associate Measures with Unit of Measure
LOGO
Hierarchy
ļ¶ SAP HANA modeler helps create hierarchies to organize data in a tree
structure for multidimensional reporting. Each hierarchy comprises of a set
of levels having many-to-one relationships between each other and
collectively these levels make up the hierarchical structure.
ļ® Level Hierarchy
Example Year, Qtr, Month, Week and Day
ļ® Parent/Child Hierarchy
Example Profit Center and Cost Center
LOGO
Others
Attribute and Measure
Operations
Description Properties
Create Counters Counters are columns that display the distinct
count of attribute columns.
You can create counters for attribute columns in the default
aggregation view node only.
Set Transparent Filter Flag = TRUE Attribute property to get
the correct count
Create Calculated ColumnsCreate new output columns and calculate their
values at run time, based on the result of an
expression. Calculation can be build based on Other
columns, functions, input parameters and constants
Semantics: Column type Dimension/Measure
Enable client side aggregation checkbox
Aggregation Type dropdown list
Drilldown Provide an expression : SQL/Calculation Engine
if("PRODUCT" = 'NOTEBOOK', "DISCOUNT" * 0.10,
"DISCOUNT")
Create Restricted
Columns
Create restricted columns as an additional measure
based on attribute restrictions
REVENUE column only for REGION = APJ, and YEAR
= 2012.
> Measure and Attribute Column
> Expressions
You can define multiple conditions using the same attribute
columns or different attribute columns. For example, the
expression, ("CUSTOMER_ID" = '10' OR "CUSTOMER_ID" =
'2010') AND ("CUSTOMER_NAME" = '' ") has three conditions.
Enable or Disable Attributes for Drilldown in Reporting ToolsBy default, the tool lets you drilldown the attributes
or calculated attributes in the reporting tools. You
can disable this behavior for selected attributes.
Assign Value Help for
Attributes
If you are using attribute data to provide values to
variables and input parameters at runtime, you can
assign a value help to that attribute in order to use
values from other attributes, which are available
within the same calculation view or in other tables
or other calculation views.
Handle Null Values in
Columns
Define default values for columns (both attributes
and measures) in the event that no value is
provided during an INSERT operation. The system
uses these default values in the reporting tools to
replace any null values in columns.
Group Related Measures Create folders in calculation views to logically
group related measures in a calculation view. For
example, you can group planned measures and
related measures in separate folders.
Add Descriptions to
Attributes
In an information view, you can associate an
attribute or a column having texts, as a label
column to another attribute or column.
Keep Flag Using keep flag property. The Keep Flag property helps retrieve columns from the view node to the result set even
when you don't, request it in your query. In other words, if you want to include those columns into the SQL GROUP
BY clause, even when you don't select them in the query,
LOGO
Working With Calculation View Properties
Task to perform Requirement
Filter Data for Specific Clients
Filter the view data either using a fixed client
value or using a session client set for the user.
Invalidate Cached Content
Invalidate or remove data from the cache after
specific time intervals.
Deprecate Calculation Views Prevent use of a calculation view.
Enable Calculation Views for
Time Travel Queries
Execute time travel queries on calculation views
LOGO
Working With Calculation View Properties
LOGO
Calculation View properties
Properties Description
Data Category
The value of this property determines whether your calculation view supports analysis with
multidimensional reporting. For more information see, Supported Data Categories for Information Views.
Default Schema
The value of this property helps modeler identify the default schema, which contains the tables necessary
for currency or unit conversions. For more information, see Using Currency and Unit of Measure
Conversions.
Default Member
This value of this property helps modeler identify the default member for all hierarchies in the information
views.
Enable History
The value of this property determines whether your calculation view supports time travel queries. For more
information see, Enable Information Views for Time Travel Queries.
History Input
Parameter
Input parameter used to specify the timestamp in time travel queries.
Deprecate
The value of this property determines whether a user does not recommend using an information view in
other modeler objects. If the value is set to True, it indicates that although an information view is
supported in SAP HANA modeler for modeling activities, it is not recommended for use. For more
information, Deprecate Information Views.
Translate
The value of this property determines whether SAP HANA modeler must support maintaining object label
texts in the information view in multiple languages. For more information, see Maintain Modeler Object
Labels in Multiple Languages.
Execute In
The value of this property impacts the output data. It determines whether modeler must execute the
calculation view in SQL engine or column engine. For more information, see SAP Note 1857202
Cache
The value of this property determines whether you have enabled support for cache invalidation. For more
information see, Enable Support for Cache Invalidation
Cache Invalidation
Period
The value of this property impacts the output data. It determines whether modeler must invalidate or
remove the cached content based on a time interval or when any of the underlying data is changed. For
more information, see Invalidate Cached Content.
Pruning Configuration
Table
The value of this property determines the pruning configuration table that modeler must use to prune data
in union nodes. For more information, see Prune Data in Union Nodes.
Propagate Instantiation
to SQL
The value of this property helps modeler identify whether it has to propagate the instantiation handled by
the calculation engine to the CDS or SQL views built on top of this calculation view. If the value is set to
True, modeler propagates the instantiation to the CDS or SQL views. This means that, attributes that a
query (on a SQL view built on top of this view) does not request are pruned and not considered at runtime.
For information on calculation engine instantiation process, see SAP Note 1764658
Analyticview
Compatibility Mode
The value of this property helps the join engine identify whether it has to ignore joins with N:M cardinality,
when executing the join. If the value of this property is set to True, the join engine prunes N:M cardinality
joins if the left table or the right table in the star join node does not request for any field, and if no filters
are defined on the join.
Count Star Column
The value of this property is set to row.count in calculation views, which were created by migrating analytic
views having the row.count column. The row.count column was used internally to store the result of SELECT
COUNT(*) queries.
You can also select a column from the calculation view as Count Star Column. In this case, the column you
select is used to store the result of SELECT COUNT(<column_name>).
LOGO
Additional Functionality for Calculation Views
ļ¶ After modeling calculation views or during design time itself you can
perform certain additional functions to understand the performance
of the view at runtime and to efficiently model calculation views.
LOGO
Additional Functionality for Calculation Views
Additional functions Description Example
Trace View Objects with Data
Lineage
With data lineage, you can essentially
identify from where the calculation view
gets its data from.
1) Object from its source and up to the semantics
node within the calculation view
2) Source of all data sources (tables and views)
used for modeling a calculation view.
Trace Dependent Objects to
Analyze Impacts
Modifying a calculation view can impact
other calculation views that are modeled
on top of the view.
It is necessary to identify all such
dependent objects before making any
changes to the view, which otherwise may
lead to run time errors.
The tools helps to identify all dependent objects of
a target calculation view, one level at a time.
This means that, for each of the dependent object,
you can further drilldown and identify the next
level of dependent objects and until the leaf
object.
Open Calculation Views in
Performance Analysis Mode
When you open a calculation view in
performance analysis mode, you obtain
information on joins, join tables, table
partitions, table types and other such
information that to better understand the
performance of calculation views when it
is executed.
The number of rows in a data source and table
partitions impact the performance of your queries.
The performance analysis mode provides
information on such details at design time.
Based on this information you can model more
efficient calculation views and improve its
performance when it is executed.
Debug Calculation Views
Open the calculation view in the debugger
editor (in debug mode) by executing a
debug query that the tool proposes or by
executing your own debug query.
The debugging operation helps analyze the run
time behavior of a calculation view.
Based on the analysis, you can make necessary
changes to the view at design time and improve
its performance when it is executed.
The tool supports several debugging operations
within the debugger editor.
For example, write a SQL query for debugging a
calculation view and identify those attributes or
data sources in the calculation view that the
engine consumes for executing the query, and
also those objects that the engine does not
consume.
LOGO
Additional Functionality for Calculation Views
Additional functions Description Example
Maintain Comments for
Calculation View Objects
When you are modeling a calculation
view, you can also maintain comments
for the view or for its objects such as
parameters, calculated columns, view
nodes and so on
Columns in the semantics node
View nodes
Input parameters and variables
Hierarchies
Calculated columns and restricted columns in
underlying view nodes
Replacing Nodes and Data
Sources
Replace a view node with any of the
other underlying view nodes or replace
a data source in view node with other
available data sources in the catalog
object.
If you manually delete a node in column view
(without using the replace view node feature)
and add new node, you lose the semantic
information of the deleted node
Using Functions in
Expressions
This section describes the functions,
which you can use while creating
expressions for calculated attributes
and calculated measures
Manage Calculation Views
with Missing Objects
If objects within a calculation view are
missing, for example, if the objects or
its references are deleted, then such
calculation views are referred to as
broken models.
Adjusting mappings of inconsistent objects.
Deleting inconsistent objects.
Generate Properties File for
Calculation Views
For a calculation view, you can
generate a properties file that contains
the key-value pairs, such as, name and
description values of calculation views
objects.
You can also tranlate the name and description
values to multiple langagues and update
the BIMC _DESRIPTION table
Generate Calculation View
Documentation
Generate a single document that
captures all details for a selected
calculation view.
LOGO
Trace View Objects with Data Lineage
ļ¶ With data lineage, you can essentially identify from where the
calculation view gets its data from.
LOGO
Trace Dependent Objects to Analyze Impacts
ļ¶ With Modifying a calculation view can impact other calculation views
that are modeled on top of the view.
ļ¶ It is necessary to identify all such dependent objects before making
any changes to the view, which otherwise may lead to run time
errors.
ļ¶ The tools helps to identify all dependent objects of a target
calculation view, one level at a time.
ļ¶ This means that, for each of the dependent object, you can further
drilldown and identify the next level of dependent objects and until
the leaf object.
LOGO
Performance Analysis
ļ¶ The objective of the performance analysis mode is to provide such
information to users that helps them understand the performance of the
calculation view when it is executed.
ļ¶ When you open a calculation view in performance analysis mode, you obtain
information on the catalog tables modeled in the view. For example,
information on table partitions, number of rows in the tables, and so on.
ļ¶ The information that the tool displays in performance analysis mode depends
on the view node that you select and the data sources within this view node
LOGO
Open Views in Analysis Mode
ļ¶ When you open a calculation view in performance analysis mode, you obtain
information on joins, join tables, table partitions, table types and other such
information that to better understand the performance of calculation views
when it is executed..
LOGO
Open Views in Debug Mode
ļ¶ Open the calculation view in the debugger editor (in debug mode) by
executing a debug query that the tool proposes or by executing your own
debug query.
ļ¶ The debugging operation helps analyze the run time behavior of a calculation
view. Based on the analysis, you can make necessary changes to the view at
design time and improve its performance when it is executed.
LOGO
Using the Debugger Editor
ļ¶ The debugger editor opens the calculation view in debug mode and helps in
analyzing the runtime performance of calculation views.
ļ¶ The data in the debugger editor largely depends on the query you execute to
debug the calculation view.
ļ¶ Helps identify pruned and unpruned data sources in calculation views.
ļ¶ Allows drilldown on underlying data sources for detailed analysis
ļ¶ Provides simple intermediate data preview
ļ¶ Displays results of executing the performance validation rules on the
calculation view.
LOGO
Predefined Validation Rules
ļ¶ Executing the predefined validation rules helps identify specific design time
factors that impact the performance of calculation views.
ļ¶ The tool automatically executes the predefined validation rules when you
execute the debug query
Predefined Validation Rule Objective
Calculation in filter expression
rule
Helps identify whether you have modeled the
calculation view with calculated columns or
aggregated columns in filter expressions.
Calculation in joins rule Helps identify whether you have modeled the
calculation view with calculated columns or
aggregated columns in join conditions.
Partition types in join rule Helps identify whether the tables participating the
join are partition tables and if the 1st level partition
type of these two tables are different.

More Related Content

What's hot

Introduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds viewsIntroduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds views
Luc Vanrobays
Ā 
SAP S4HANA : Learn From Our Implementation Journey
SAP S4HANA : Learn From Our Implementation JourneySAP S4HANA : Learn From Our Implementation Journey
SAP S4HANA : Learn From Our Implementation Journey
Anup Lakra
Ā 
Transition to SAP S/4HANA System Conversion: A step-by-step guide
Transition to SAP S/4HANA System Conversion: A step-by-step guide Transition to SAP S/4HANA System Conversion: A step-by-step guide
Transition to SAP S/4HANA System Conversion: A step-by-step guide
Kellton Tech Solutions Ltd
Ā 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part II
Ashish Saxena
Ā 
SAP Landscape
SAP Landscape SAP Landscape
SAP Landscape
lakshmi rajkumar
Ā 
SAP ECC to S/4HANA Move
SAP ECC to S/4HANA MoveSAP ECC to S/4HANA Move
SAP ECC to S/4HANA Move
AGSanePLDTCompany
Ā 
Use the SAP Content Server for Your Document Imaging and Archiving Needs!
Use the SAP Content Server for Your Document Imaging and Archiving Needs!Use the SAP Content Server for Your Document Imaging and Archiving Needs!
Use the SAP Content Server for Your Document Imaging and Archiving Needs!
Verbella CMG
Ā 
What's New in SAP HANA View Modeling
What's New in SAP HANA View ModelingWhat's New in SAP HANA View Modeling
What's New in SAP HANA View Modeling
SAP Technology
Ā 
Create Kpi fiori apps
Create Kpi fiori appsCreate Kpi fiori apps
Create Kpi fiori apps
Ajay593954
Ā 
SAP S/4HANA cloud editions or On Prem? Demystifying the options and cost bene...
SAP S/4HANA cloud editions or On Prem? Demystifying the options and cost bene...SAP S/4HANA cloud editions or On Prem? Demystifying the options and cost bene...
SAP S/4HANA cloud editions or On Prem? Demystifying the options and cost bene...
IBM
Ā 
Discover SAP BusinessObjects BI 4.3 SP03
Discover SAP BusinessObjects BI 4.3 SP03Discover SAP BusinessObjects BI 4.3 SP03
Discover SAP BusinessObjects BI 4.3 SP03
Wiiisdom
Ā 
SAP Document Management System Integration with Content Servers
SAP Document Management System Integration with Content Servers SAP Document Management System Integration with Content Servers
SAP Document Management System Integration with Content Servers
Verbella CMG
Ā 
Introduction to SAP BTP
Introduction to SAP BTPIntroduction to SAP BTP
Introduction to SAP BTP
SureshSuresetti
Ā 
SAP BW Introduction.
SAP BW Introduction.SAP BW Introduction.
SAP BW Introduction.
Deloitte India (Offices of the US)
Ā 
Enhancing data sources with badi in SAP ABAP
Enhancing data sources with badi in SAP ABAPEnhancing data sources with badi in SAP ABAP
Enhancing data sources with badi in SAP ABAPAabid Khan
Ā 
SAP Fiori ppt
SAP Fiori pptSAP Fiori ppt
SAP Fiori ppt
Pushkar Vinchurkar
Ā 
Sap bw 4 hana vs sap bw on hana
Sap bw 4 hana vs sap bw on hanaSap bw 4 hana vs sap bw on hana
Sap bw 4 hana vs sap bw on hana
Jasbir Khanuja
Ā 
SAP CPI - DS
SAP CPI - DSSAP CPI - DS
SAP CPI - DS
Geetha Madhuri
Ā 
SAP S/4HANA: Everything you need to know for a successul implementation
SAP S/4HANA: Everything you need to know for a successul implementationSAP S/4HANA: Everything you need to know for a successul implementation
SAP S/4HANA: Everything you need to know for a successul implementation
Bluefin Solutions
Ā 
ā€œMigration to Suite of HANAā€
ā€œMigration to Suite of HANAā€ā€œMigration to Suite of HANAā€
ā€œMigration to Suite of HANAā€
Wise Men
Ā 

What's hot (20)

Introduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds viewsIntroduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds views
Ā 
SAP S4HANA : Learn From Our Implementation Journey
SAP S4HANA : Learn From Our Implementation JourneySAP S4HANA : Learn From Our Implementation Journey
SAP S4HANA : Learn From Our Implementation Journey
Ā 
Transition to SAP S/4HANA System Conversion: A step-by-step guide
Transition to SAP S/4HANA System Conversion: A step-by-step guide Transition to SAP S/4HANA System Conversion: A step-by-step guide
Transition to SAP S/4HANA System Conversion: A step-by-step guide
Ā 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part II
Ā 
SAP Landscape
SAP Landscape SAP Landscape
SAP Landscape
Ā 
SAP ECC to S/4HANA Move
SAP ECC to S/4HANA MoveSAP ECC to S/4HANA Move
SAP ECC to S/4HANA Move
Ā 
Use the SAP Content Server for Your Document Imaging and Archiving Needs!
Use the SAP Content Server for Your Document Imaging and Archiving Needs!Use the SAP Content Server for Your Document Imaging and Archiving Needs!
Use the SAP Content Server for Your Document Imaging and Archiving Needs!
Ā 
What's New in SAP HANA View Modeling
What's New in SAP HANA View ModelingWhat's New in SAP HANA View Modeling
What's New in SAP HANA View Modeling
Ā 
Create Kpi fiori apps
Create Kpi fiori appsCreate Kpi fiori apps
Create Kpi fiori apps
Ā 
SAP S/4HANA cloud editions or On Prem? Demystifying the options and cost bene...
SAP S/4HANA cloud editions or On Prem? Demystifying the options and cost bene...SAP S/4HANA cloud editions or On Prem? Demystifying the options and cost bene...
SAP S/4HANA cloud editions or On Prem? Demystifying the options and cost bene...
Ā 
Discover SAP BusinessObjects BI 4.3 SP03
Discover SAP BusinessObjects BI 4.3 SP03Discover SAP BusinessObjects BI 4.3 SP03
Discover SAP BusinessObjects BI 4.3 SP03
Ā 
SAP Document Management System Integration with Content Servers
SAP Document Management System Integration with Content Servers SAP Document Management System Integration with Content Servers
SAP Document Management System Integration with Content Servers
Ā 
Introduction to SAP BTP
Introduction to SAP BTPIntroduction to SAP BTP
Introduction to SAP BTP
Ā 
SAP BW Introduction.
SAP BW Introduction.SAP BW Introduction.
SAP BW Introduction.
Ā 
Enhancing data sources with badi in SAP ABAP
Enhancing data sources with badi in SAP ABAPEnhancing data sources with badi in SAP ABAP
Enhancing data sources with badi in SAP ABAP
Ā 
SAP Fiori ppt
SAP Fiori pptSAP Fiori ppt
SAP Fiori ppt
Ā 
Sap bw 4 hana vs sap bw on hana
Sap bw 4 hana vs sap bw on hanaSap bw 4 hana vs sap bw on hana
Sap bw 4 hana vs sap bw on hana
Ā 
SAP CPI - DS
SAP CPI - DSSAP CPI - DS
SAP CPI - DS
Ā 
SAP S/4HANA: Everything you need to know for a successul implementation
SAP S/4HANA: Everything you need to know for a successul implementationSAP S/4HANA: Everything you need to know for a successul implementation
SAP S/4HANA: Everything you need to know for a successul implementation
Ā 
ā€œMigration to Suite of HANAā€
ā€œMigration to Suite of HANAā€ā€œMigration to Suite of HANAā€
ā€œMigration to Suite of HANAā€
Ā 

Similar to HANA Modeling

What is Sap HANA Convista Consulting Asia.pdf
What is Sap HANA Convista Consulting Asia.pdfWhat is Sap HANA Convista Consulting Asia.pdf
What is Sap HANA Convista Consulting Asia.pdf
ankeetkumar4
Ā 
Project report
Project reportProject report
Project report
Chhamanshu Dixit
Ā 
Sap hana master_guide_en
Sap hana master_guide_enSap hana master_guide_en
Sap hana master_guide_en
Farrukh Yusupov
Ā 
5507832a c074-4013-9d49-6e58befa9c3e-161121113026
5507832a c074-4013-9d49-6e58befa9c3e-1611211130265507832a c074-4013-9d49-6e58befa9c3e-161121113026
5507832a c074-4013-9d49-6e58befa9c3e-161121113026
Krishna Kiran
Ā 
HANA Demystified by DataMagnum
HANA Demystified by DataMagnumHANA Demystified by DataMagnum
HANA Demystified by DataMagnumPrasad Mavuduri
Ā 
SAP HANA
SAP HANASAP HANA
SAP HANA presented by Maneat USA v01
SAP HANA presented by Maneat USA v01SAP HANA presented by Maneat USA v01
SAP HANA presented by Maneat USA v01
Dr. Pierpaolo Mangeruga
Ā 
Sizing modern sap hana landscapes
Sizing modern sap hana landscapesSizing modern sap hana landscapes
Sizing modern sap hana landscapes
Jaleel Ahmed Gulammohiddin
Ā 
Data provisioning in SAP HANA
Data provisioning in SAP HANAData provisioning in SAP HANA
Data provisioning in SAP HANA
kabilarasan R
Ā 
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
GeneXus
Ā 
関č„æDB勉強会 (SAP HANA, express edition)
関č„æDB勉強会 (SAP HANA, express edition)関č„æDB勉強会 (SAP HANA, express edition)
関č„æDB勉強会 (SAP HANA, express edition)
Koji Shinkubo
Ā 
HANA SITSP 2011
HANA SITSP 2011HANA SITSP 2011
HANA SITSP 2011
Henrique Pinto
Ā 
HANA SPS07 Architecture & Landscape
HANA SPS07 Architecture & LandscapeHANA SPS07 Architecture & Landscape
HANA SPS07 Architecture & Landscape
SAP Technology
Ā 
Development to Deployment with SAP HANA
Development to Deployment with SAP HANADevelopment to Deployment with SAP HANA
Development to Deployment with SAP HANA
Craig Cmehil
Ā 
Sap HANA Training doc
Sap HANA Training doc Sap HANA Training doc
Sap HANA Training doc
Mansur Shaik
Ā 
SAP HANA for SAP Overview
SAP HANA for SAP OverviewSAP HANA for SAP Overview
SAP HANA for SAP Overview
Iliya Ruvinsky
Ā 
2020.04.28-ASUG_Introduction-to-Extracting-data-from-S4HANA-with-ABAP-CDS-vie...
2020.04.28-ASUG_Introduction-to-Extracting-data-from-S4HANA-with-ABAP-CDS-vie...2020.04.28-ASUG_Introduction-to-Extracting-data-from-S4HANA-with-ABAP-CDS-vie...
2020.04.28-ASUG_Introduction-to-Extracting-data-from-S4HANA-with-ABAP-CDS-vie...
blaisecheuteu1
Ā 
Overview and what is sap hana 1.0 online training
Overview and what is sap hana 1.0 online training Overview and what is sap hana 1.0 online training
Overview and what is sap hana 1.0 online training
NEWYORKSYS-IT SOLUTIONS
Ā 
TZH300_EN_COL96
TZH300_EN_COL96TZH300_EN_COL96
TZH300_EN_COL96
Sharib Tasneem
Ā 

Similar to HANA Modeling (20)

What is Sap HANA Convista Consulting Asia.pdf
What is Sap HANA Convista Consulting Asia.pdfWhat is Sap HANA Convista Consulting Asia.pdf
What is Sap HANA Convista Consulting Asia.pdf
Ā 
Project report
Project reportProject report
Project report
Ā 
Sap hana master_guide_en
Sap hana master_guide_enSap hana master_guide_en
Sap hana master_guide_en
Ā 
HANA
HANAHANA
HANA
Ā 
5507832a c074-4013-9d49-6e58befa9c3e-161121113026
5507832a c074-4013-9d49-6e58befa9c3e-1611211130265507832a c074-4013-9d49-6e58befa9c3e-161121113026
5507832a c074-4013-9d49-6e58befa9c3e-161121113026
Ā 
HANA Demystified by DataMagnum
HANA Demystified by DataMagnumHANA Demystified by DataMagnum
HANA Demystified by DataMagnum
Ā 
SAP HANA
SAP HANASAP HANA
SAP HANA
Ā 
SAP HANA presented by Maneat USA v01
SAP HANA presented by Maneat USA v01SAP HANA presented by Maneat USA v01
SAP HANA presented by Maneat USA v01
Ā 
Sizing modern sap hana landscapes
Sizing modern sap hana landscapesSizing modern sap hana landscapes
Sizing modern sap hana landscapes
Ā 
Data provisioning in SAP HANA
Data provisioning in SAP HANAData provisioning in SAP HANA
Data provisioning in SAP HANA
Ā 
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
Ā 
関č„æDB勉強会 (SAP HANA, express edition)
関č„æDB勉強会 (SAP HANA, express edition)関č„æDB勉強会 (SAP HANA, express edition)
関č„æDB勉強会 (SAP HANA, express edition)
Ā 
HANA SITSP 2011
HANA SITSP 2011HANA SITSP 2011
HANA SITSP 2011
Ā 
HANA SPS07 Architecture & Landscape
HANA SPS07 Architecture & LandscapeHANA SPS07 Architecture & Landscape
HANA SPS07 Architecture & Landscape
Ā 
Development to Deployment with SAP HANA
Development to Deployment with SAP HANADevelopment to Deployment with SAP HANA
Development to Deployment with SAP HANA
Ā 
Sap HANA Training doc
Sap HANA Training doc Sap HANA Training doc
Sap HANA Training doc
Ā 
SAP HANA for SAP Overview
SAP HANA for SAP OverviewSAP HANA for SAP Overview
SAP HANA for SAP Overview
Ā 
2020.04.28-ASUG_Introduction-to-Extracting-data-from-S4HANA-with-ABAP-CDS-vie...
2020.04.28-ASUG_Introduction-to-Extracting-data-from-S4HANA-with-ABAP-CDS-vie...2020.04.28-ASUG_Introduction-to-Extracting-data-from-S4HANA-with-ABAP-CDS-vie...
2020.04.28-ASUG_Introduction-to-Extracting-data-from-S4HANA-with-ABAP-CDS-vie...
Ā 
Overview and what is sap hana 1.0 online training
Overview and what is sap hana 1.0 online training Overview and what is sap hana 1.0 online training
Overview and what is sap hana 1.0 online training
Ā 
TZH300_EN_COL96
TZH300_EN_COL96TZH300_EN_COL96
TZH300_EN_COL96
Ā 

Recently uploaded

äø€ęƔäø€åŽŸē‰ˆ(TWUęƕäøščƁ)č„æäø‰äø€å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(TWUęƕäøščƁ)č„æäø‰äø€å¤§å­¦ęƕäøščÆęˆē»©å•äø€ęƔäø€åŽŸē‰ˆ(TWUęƕäøščƁ)č„æäø‰äø€å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(TWUęƕäøščƁ)č„æäø‰äø€å¤§å­¦ęƕäøščÆęˆē»©å•
ocavb
Ā 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
AnirbanRoy608946
Ā 
Quantitative Data AnalysisReliability Analysis (Cronbach Alpha) Common Method...
Quantitative Data AnalysisReliability Analysis (Cronbach Alpha) Common Method...Quantitative Data AnalysisReliability Analysis (Cronbach Alpha) Common Method...
Quantitative Data AnalysisReliability Analysis (Cronbach Alpha) Common Method...
2023240532
Ā 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
pchutichetpong
Ā 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
Ā 
äø€ęƔäø€åŽŸē‰ˆ(QUęƕäøščƁ)ēš‡åŽå¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(QUęƕäøščƁ)ēš‡åŽå¤§å­¦ęƕäøščÆęˆē»©å•äø€ęƔäø€åŽŸē‰ˆ(QUęƕäøščƁ)ēš‡åŽå¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(QUęƕäøščƁ)ēš‡åŽå¤§å­¦ęƕäøščÆęˆē»©å•
enxupq
Ā 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
AbhimanyuSinha9
Ā 
äø€ęƔäø€åŽŸē‰ˆ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ如何办ē†äø€ęƔäø€åŽŸē‰ˆ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ如何办ē†
oz8q3jxlp
Ā 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
Ā 
原ē‰ˆåˆ¶ä½œ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ学位čƁäø€ęØ”äø€ę ·
原ē‰ˆåˆ¶ä½œ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ学位čƁäø€ęØ”äø€ę ·åŽŸē‰ˆåˆ¶ä½œ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ学位čƁäø€ęØ”äø€ę ·
原ē‰ˆåˆ¶ä½œ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ学位čƁäø€ęØ”äø€ę ·
u86oixdj
Ā 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
Ā 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
Ā 
äø€ęƔäø€åŽŸē‰ˆ(UofMęƕäøščƁ)ę˜Žå°¼č‹č¾¾å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(UofMęƕäøščƁ)ę˜Žå°¼č‹č¾¾å¤§å­¦ęƕäøščÆęˆē»©å•äø€ęƔäø€åŽŸē‰ˆ(UofMęƕäøščƁ)ę˜Žå°¼č‹č¾¾å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(UofMęƕäøščƁ)ę˜Žå°¼č‹č¾¾å¤§å­¦ęƕäøščÆęˆē»©å•
ewymefz
Ā 
Q1ā€™2024 Update: MYCIā€™s Leap Year Rebound
Q1ā€™2024 Update: MYCIā€™s Leap Year ReboundQ1ā€™2024 Update: MYCIā€™s Leap Year Rebound
Q1ā€™2024 Update: MYCIā€™s Leap Year Rebound
Oppotus
Ā 
äø€ęƔäø€åŽŸē‰ˆ(BCUęƕäøščƁ书)ä¼Æ꘎ēæ°åŸŽåø‚大学ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(BCUęƕäøščƁ书)ä¼Æ꘎ēæ°åŸŽåø‚大学ęƕäøščƁ如何办ē†äø€ęƔäø€åŽŸē‰ˆ(BCUęƕäøščƁ书)ä¼Æ꘎ēæ°åŸŽåø‚大学ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(BCUęƕäøščƁ书)ä¼Æ꘎ēæ°åŸŽåø‚大学ęƕäøščƁ如何办ē†
dwreak4tg
Ā 
äø€ęƔäø€åŽŸē‰ˆ(BradfordęƕäøščƁ书)åøƒę‹‰å¾·ē¦å¾·å¤§å­¦ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(BradfordęƕäøščƁ书)åøƒę‹‰å¾·ē¦å¾·å¤§å­¦ęƕäøščƁ如何办ē†äø€ęƔäø€åŽŸē‰ˆ(BradfordęƕäøščƁ书)åøƒę‹‰å¾·ē¦å¾·å¤§å­¦ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(BradfordęƕäøščƁ书)åøƒę‹‰å¾·ē¦å¾·å¤§å­¦ęƕäøščƁ如何办ē†
mbawufebxi
Ā 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
balafet
Ā 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
Ā 
äø€ęƔäø€åŽŸē‰ˆ(RUGęƕäøščƁ)ę ¼ē½—å®ę ¹å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(RUGęƕäøščƁ)ę ¼ē½—å®ę ¹å¤§å­¦ęƕäøščÆęˆē»©å•äø€ęƔäø€åŽŸē‰ˆ(RUGęƕäøščƁ)ę ¼ē½—å®ę ¹å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(RUGęƕäøščƁ)ę ¼ē½—å®ę ¹å¤§å­¦ęƕäøščÆęˆē»©å•
vcaxypu
Ā 
äø€ęƔäø€åŽŸē‰ˆ(IITęƕäøščƁ)伊利čÆŗ伊ē†å·„大学ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(IITęƕäøščƁ)伊利čÆŗ伊ē†å·„大学ęƕäøščÆęˆē»©å•äø€ęƔäø€åŽŸē‰ˆ(IITęƕäøščƁ)伊利čÆŗ伊ē†å·„大学ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(IITęƕäøščƁ)伊利čÆŗ伊ē†å·„大学ęƕäøščÆęˆē»©å•
ewymefz
Ā 

Recently uploaded (20)

äø€ęƔäø€åŽŸē‰ˆ(TWUęƕäøščƁ)č„æäø‰äø€å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(TWUęƕäøščƁ)č„æäø‰äø€å¤§å­¦ęƕäøščÆęˆē»©å•äø€ęƔäø€åŽŸē‰ˆ(TWUęƕäøščƁ)č„æäø‰äø€å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(TWUęƕäøščƁ)č„æäø‰äø€å¤§å­¦ęƕäøščÆęˆē»©å•
Ā 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Ā 
Quantitative Data AnalysisReliability Analysis (Cronbach Alpha) Common Method...
Quantitative Data AnalysisReliability Analysis (Cronbach Alpha) Common Method...Quantitative Data AnalysisReliability Analysis (Cronbach Alpha) Common Method...
Quantitative Data AnalysisReliability Analysis (Cronbach Alpha) Common Method...
Ā 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Ā 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Ā 
äø€ęƔäø€åŽŸē‰ˆ(QUęƕäøščƁ)ēš‡åŽå¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(QUęƕäøščƁ)ēš‡åŽå¤§å­¦ęƕäøščÆęˆē»©å•äø€ęƔäø€åŽŸē‰ˆ(QUęƕäøščƁ)ēš‡åŽå¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(QUęƕäøščƁ)ēš‡åŽå¤§å­¦ęƕäøščÆęˆē»©å•
Ā 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Ā 
äø€ęƔäø€åŽŸē‰ˆ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ如何办ē†äø€ęƔäø€åŽŸē‰ˆ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ如何办ē†
Ā 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Ā 
原ē‰ˆåˆ¶ä½œ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ学位čƁäø€ęØ”äø€ę ·
原ē‰ˆåˆ¶ä½œ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ学位čƁäø€ęØ”äø€ę ·åŽŸē‰ˆåˆ¶ä½œ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ学位čƁäø€ęØ”äø€ę ·
原ē‰ˆåˆ¶ä½œ(DeakinęƕäøščƁ书)čæŖč‚Æ大学ęƕäøščƁ学位čƁäø€ęØ”äø€ę ·
Ā 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Ā 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Ā 
äø€ęƔäø€åŽŸē‰ˆ(UofMęƕäøščƁ)ę˜Žå°¼č‹č¾¾å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(UofMęƕäøščƁ)ę˜Žå°¼č‹č¾¾å¤§å­¦ęƕäøščÆęˆē»©å•äø€ęƔäø€åŽŸē‰ˆ(UofMęƕäøščƁ)ę˜Žå°¼č‹č¾¾å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(UofMęƕäøščƁ)ę˜Žå°¼č‹č¾¾å¤§å­¦ęƕäøščÆęˆē»©å•
Ā 
Q1ā€™2024 Update: MYCIā€™s Leap Year Rebound
Q1ā€™2024 Update: MYCIā€™s Leap Year ReboundQ1ā€™2024 Update: MYCIā€™s Leap Year Rebound
Q1ā€™2024 Update: MYCIā€™s Leap Year Rebound
Ā 
äø€ęƔäø€åŽŸē‰ˆ(BCUęƕäøščƁ书)ä¼Æ꘎ēæ°åŸŽåø‚大学ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(BCUęƕäøščƁ书)ä¼Æ꘎ēæ°åŸŽåø‚大学ęƕäøščƁ如何办ē†äø€ęƔäø€åŽŸē‰ˆ(BCUęƕäøščƁ书)ä¼Æ꘎ēæ°åŸŽåø‚大学ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(BCUęƕäøščƁ书)ä¼Æ꘎ēæ°åŸŽåø‚大学ęƕäøščƁ如何办ē†
Ā 
äø€ęƔäø€åŽŸē‰ˆ(BradfordęƕäøščƁ书)åøƒę‹‰å¾·ē¦å¾·å¤§å­¦ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(BradfordęƕäøščƁ书)åøƒę‹‰å¾·ē¦å¾·å¤§å­¦ęƕäøščƁ如何办ē†äø€ęƔäø€åŽŸē‰ˆ(BradfordęƕäøščƁ书)åøƒę‹‰å¾·ē¦å¾·å¤§å­¦ęƕäøščƁ如何办ē†
äø€ęƔäø€åŽŸē‰ˆ(BradfordęƕäøščƁ书)åøƒę‹‰å¾·ē¦å¾·å¤§å­¦ęƕäøščƁ如何办ē†
Ā 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
Ā 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
Ā 
äø€ęƔäø€åŽŸē‰ˆ(RUGęƕäøščƁ)ę ¼ē½—å®ę ¹å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(RUGęƕäøščƁ)ę ¼ē½—å®ę ¹å¤§å­¦ęƕäøščÆęˆē»©å•äø€ęƔäø€åŽŸē‰ˆ(RUGęƕäøščƁ)ę ¼ē½—å®ę ¹å¤§å­¦ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(RUGęƕäøščƁ)ę ¼ē½—å®ę ¹å¤§å­¦ęƕäøščÆęˆē»©å•
Ā 
äø€ęƔäø€åŽŸē‰ˆ(IITęƕäøščƁ)伊利čÆŗ伊ē†å·„大学ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(IITęƕäøščƁ)伊利čÆŗ伊ē†å·„大学ęƕäøščÆęˆē»©å•äø€ęƔäø€åŽŸē‰ˆ(IITęƕäøščƁ)伊利čÆŗ伊ē†å·„大学ęƕäøščÆęˆē»©å•
äø€ęƔäø€åŽŸē‰ˆ(IITęƕäøščƁ)伊利čÆŗ伊ē†å·„大学ęƕäøščÆęˆē»©å•
Ā 

HANA Modeling

  • 2. LOGO What is SAP HANA ? ļ¶ SAP HANAĀ isĀ aĀ modern,Ā in-memoryĀ databaseĀ andĀ platformĀ thatĀ isĀ  deployableĀ onĀ premiseĀ orĀ inĀ theĀ cloud. ļ¶ TheĀ SAP HANA platformĀ isĀ aĀ flexibleĀ dataĀ sourceĀ agnosticĀ in-memoryĀ dataĀ  platformĀ thatĀ allowsĀ customersĀ toĀ analyzeĀ largeĀ volumesĀ ofĀ dataĀ inĀ real- time.Ā  ļ¶ ItĀ isĀ alsoĀ aĀ developmentĀ platform,Ā providingĀ anĀ infrastructureĀ andĀ toolsĀ forĀ  buildingĀ high-performanceĀ applicationsĀ basedĀ onĀ SAPĀ HANAĀ ExtendedĀ  ApplicationĀ ServicesĀ (SAPĀ HANAĀ XS).Ā  ļ¶ ItĀ isĀ theĀ foundationĀ ofĀ variousĀ SAPĀ HANAĀ editions,Ā likeĀ theĀ SAPĀ HANAĀ  PlatformĀ Edition,Ā providingĀ coreĀ databaseĀ technology,Ā andĀ theĀ SAPĀ HANAĀ  EnterpriseĀ Edition,Ā bundlingĀ additionalĀ componentsĀ forĀ dataĀ provisioning. ļ¶ Ā TheĀ SAPĀ HANAĀ PlatformĀ EditionĀ integratesĀ aĀ numberĀ ofĀ SAPĀ components,Ā  includingĀ theĀ SAPĀ HANAĀ database,Ā SAPĀ HANAĀ studio,Ā andĀ SAPĀ HANAĀ clients.
  • 5. LOGO HANA System Architecture Overview ServerĀ Components ServiceĀ Name Description NameĀ server nameserver TheĀ nameĀ serverĀ ownsĀ theĀ informationĀ aboutĀ theĀ topologyĀ ofĀ theĀ SAPĀ HANAĀ system.Ā  InĀ aĀ distributedĀ systemĀ withĀ instancesĀ ofĀ theĀ SAPĀ HANAĀ databaseĀ onĀ multipleĀ hosts,Ā theĀ nameĀ  serverĀ knowsĀ whereĀ theĀ componentsĀ areĀ runningĀ andĀ whichĀ dataĀ isĀ locatedĀ onĀ whichĀ server. IndexĀ Server IndexĀ server TheĀ indexĀ serverĀ containsĀ theĀ actualĀ dataĀ storesĀ andĀ theĀ enginesĀ forĀ processingĀ theĀ data. XSĀ advancedĀ runtime ā€¢ Xscontroller ā€¢ Xsexeagent ā€¢ hdixsuaaserv er AsĀ ofĀ SAPĀ HANAĀ 1.0Ā SPSĀ 11,Ā SAPĀ HANAĀ includesĀ anĀ additionalĀ run-timeĀ environmentĀ forĀ  applicationĀ development:Ā SAPĀ HANAĀ extendedĀ applicationĀ servicesĀ (XS),Ā advancedĀ model. SAPĀ HANAĀ XSĀ advancedĀ modelĀ representsĀ anĀ evolutionĀ ofĀ theĀ applicationĀ serverĀ architectureĀ  withinĀ SAPĀ HANAĀ byĀ buildingĀ uponĀ theĀ strengthsĀ (andĀ expandingĀ theĀ scope)Ā ofĀ SAPĀ HANAĀ  extendedĀ applicationĀ servicesĀ (XS),Ā classicĀ model. TheĀ SAPĀ HANAĀ XSĀ advancedĀ runtimeĀ consistsĀ ofĀ severalĀ processesĀ forĀ platformĀ servicesĀ andĀ forĀ  executingĀ applications SAPĀ HANAĀ DeploymentĀ  InfrastructureĀ (HDI)Ā  server diserver HDIĀ handlesĀ theĀ deploymentĀ ofĀ design-timeĀ artifactsĀ intoĀ SAPĀ HANA. XSĀ classicĀ server xsengine SAPĀ HANAĀ ExtendedĀ ApplicationĀ ServicesĀ (SAPĀ HANAĀ XS)Ā isĀ theĀ applicationĀ serverĀ forĀ nativeĀ SAPĀ  HANA-basedĀ webĀ applications.Ā ItĀ isĀ installedĀ withĀ theĀ SAPĀ HANAĀ systemĀ andĀ allowsĀ developersĀ toĀ  writeĀ andĀ runĀ SAPĀ HANA-basedĀ applicationsĀ withoutĀ theĀ needĀ toĀ runĀ anĀ additionalĀ applicationĀ  server.Ā SAPĀ HANAĀ XSĀ isĀ alsoĀ usedĀ toĀ runĀ web-basedĀ toolsĀ thatĀ comeĀ withĀ SAPĀ HANA,Ā forĀ instanceĀ  forĀ administration,Ā lifecycleĀ managementĀ andĀ development.Ā SAPĀ HANAĀ XSĀ classicĀ isĀ theĀ originalĀ  implementationĀ ofĀ SAPĀ HANAĀ XS. TheĀ XSĀ classicĀ serverĀ canĀ runĀ asĀ aĀ separateĀ serverĀ processĀ orĀ embeddedĀ withinĀ theĀ indexĀ server. ExtendedĀ storeĀ server esserver TheĀ extendedĀ storeĀ serverĀ isĀ partĀ ofĀ theĀ SAPĀ HANAĀ dynamicĀ tieringĀ optionĀ forĀ SAPĀ HANA.Ā ItĀ  providesĀ aĀ high-performanceĀ disk-basedĀ columnĀ storeĀ forĀ veryĀ bigĀ dataĀ upĀ toĀ theĀ petabyteĀ  range.Ā  DataĀ provisioningĀ server dpserver TheĀ dataĀ provisioningĀ serverĀ isĀ partĀ ofĀ theĀ SAPĀ HANAĀ smartĀ dataĀ integrationĀ optionĀ forĀ SAPĀ  HANA.Ā ItĀ providesĀ capabilitiesĀ suchĀ asĀ dataĀ provisioningĀ inĀ realĀ timeĀ andĀ batchĀ mode,Ā real-timeĀ  dataĀ transformations,Ā dataĀ qualityĀ functions,Ā adaptersĀ forĀ variousĀ typesĀ ofĀ remoteĀ sources,Ā andĀ  anĀ adapterĀ SDKĀ forĀ developingĀ additionalĀ adapters. StreamingĀ cluster streamingserver TheĀ streamingĀ clusterĀ isĀ partĀ ofĀ theĀ SAPĀ HANAĀ smartĀ dataĀ streamingĀ optionĀ forĀ SAPĀ HANA.Ā SmartĀ  dataĀ streamingĀ extendsĀ SAPĀ HANAĀ withĀ capabilitiesĀ ofĀ SAPĀ EventĀ StreamĀ ProcessorĀ forĀ  consumingĀ dataĀ streamsĀ andĀ complexĀ eventĀ processing.Ā 
  • 6. LOGO HANA System Architecture Overview ServerĀ Components ServiceĀ Name Description Accelerator for SAP ASE etsserver The SAP ASE server is part of the SAP HANA Accelerator for SAP ASE option for SAP HANA. It provides SAP Adaptive Server Enterprise (ASE) users the ability to use SAP HANA on SAP ASE data, for real-time analytics SAP HANA remote data sync rdsyncserver The remote data sync server is part of the SAP HANA Real-Time Replication option for SAP HANA. SAP HANA remote data sync is a session-based synchronization technology designed to synchronize SAP SQL Anywhere remote databases with a consolidated database. Preprocessor server preprocessor The preprocessor server is used by the index server to analyze text data and extract the information on which the text search capabilities are based. Compile server compileserver The compile server performs the compilation of stored procedures and programs, for example, SQLScript procedures. It runs on every host and does not persist data. Script server scriptserver The script server is used to execute application function libraries written in C++. The script server is optional and must be started manually. For more information, see SAP Note 1650957. SAP Web Dispatcher webdispatcher The Web Dispatcher processes inbound HTTP and HTTPS connections to XS services. SAP start service sapstartsrv The SAP start service is responsible for starting and stopping the other services in the correct order. It also performs other functions, such as monitoring their runtime state.
  • 13. LOGO Calculation Viewā€™s ļ¶ AĀ calculationĀ viewĀ allowsĀ usersĀ toĀ defineĀ moreĀ advancedĀ slicesĀ onĀ  theĀ dataĀ availableĀ inĀ theĀ SAPĀ HANAĀ database. ļ¶ CalculationĀ viewsĀ areĀ mainlyĀ usedĀ forĀ analyzingĀ operationalĀ dataĀ  martsĀ orĀ runningĀ multidimensionalĀ reportsĀ onĀ revenue,Ā profitability,Ā  andĀ soĀ on. ļ¶ Attributes:Ā  ļ® DescriptiveĀ dataĀ -Ā suchĀ asĀ customerĀ ID,Ā city,Ā andĀ country. ļ¶ Measures:Ā  ļ® QuantifiableĀ dataĀ -Ā suchĀ asĀ revenue,Ā quantityĀ soldĀ and,Ā counters. ļ¶ CalculationĀ viewā€™sĀ supportĀ theĀ following ļ® SupportĀ bothĀ OLAPĀ andĀ OLTPĀ modelsĀ i.e.Ā SQLĀ andĀ MDX. ļ® SupportĀ complexĀ expressionsĀ (forĀ example,Ā IF,Ā Case,Ā Counter). ļ® SupportĀ analyticĀ privilegesĀ (forĀ example,Ā restrictingĀ aĀ userĀ forĀ aĀ certainĀ costĀ center). ļ® SupportĀ SAPĀ ERPĀ specificĀ featuresĀ (forĀ example,Ā clientĀ handling,Ā language,Ā currencyĀ  conversion). ļ® CombineĀ factsĀ fromĀ multipleĀ tables. ļ® SupportĀ additionalĀ dataĀ processingĀ operations,Ā (forĀ example,Ā Union,Ā explicitĀ aggregation). ļ® LeverageĀ bothĀ ColumnĀ andĀ RowĀ tables.
  • 15. LOGO Working With Attributes and Measures ļ¶ Attributes: AttributesĀ areĀ theĀ non-measurableĀ analyticalĀ elements. ļ¶ Measures: MeasuresĀ areĀ measurableĀ analyticalĀ elementsĀ thatĀ areĀ derivedĀ fromĀ calculationĀ views. Attributes Description Example SimpleĀ  Attributes IndividualĀ non-measurableĀ analyticalĀ elementsĀ  thatĀ areĀ derivedĀ fromĀ theĀ dataĀ sources. ForĀ example,Ā PRODUCT_IDĀ andĀ PRODUCT_NAMEĀ areĀ  attributesĀ ofĀ productĀ dataĀ source. CalculatedĀ  Attributes DerivedĀ fromĀ oneĀ orĀ moreĀ existingĀ attributesĀ orĀ  constants. ForĀ example,Ā derivingĀ theĀ fullĀ nameĀ ofĀ aĀ customerĀ  (firstĀ nameĀ andĀ lastĀ name),Ā assigningĀ aĀ constantĀ  valueĀ toĀ anĀ attributeĀ thatĀ canĀ beĀ usedĀ forĀ arithmeticĀ  calculations. Measures Description Example SimpleĀ Measures AĀ simpleĀ measureĀ isĀ aĀ measurableĀ  analyticalĀ elementĀ thatĀ isĀ derivedĀ fromĀ theĀ  dataĀ sources. ForĀ example,Ā PROFIT. CalculatedĀ Measures CalculatedĀ measuresĀ areĀ definedĀ basedĀ onĀ  aĀ combinationĀ ofĀ dataĀ fromĀ otherĀ dataĀ  sources,Ā arithmeticĀ operators,Ā constants,Ā  andĀ functions. ForĀ example,Ā youĀ canĀ useĀ calculatedĀ measuresĀ toĀ  calculateĀ theĀ netĀ profitĀ fromĀ revenueĀ andĀ  operationalĀ cost.. Counters CountersĀ addĀ aĀ newĀ measureĀ toĀ theĀ  calculationĀ viewĀ definitionĀ toĀ countĀ theĀ  distinctĀ occurrencesĀ ofĀ anĀ attribute. ForĀ example,Ā toĀ countĀ howĀ manyĀ timesĀ productĀ  appearsĀ andĀ useĀ thisĀ valueĀ forĀ reportingĀ purposes.
  • 16. LOGO Generate Time Data ļ¶ GenerateĀ timeĀ dataĀ intoĀ theĀ standardĀ time-relatedĀ tablesĀ thatĀ areĀ availableĀ  inĀ theĀ _SYS_BIĀ schema. ļ¶ Ā AfterĀ generatingĀ theĀ timeĀ data,Ā youĀ canĀ useĀ theĀ standardĀ time-relatedĀ  tablesĀ asĀ dataĀ sourcesĀ inĀ theĀ calculationĀ viewĀ toĀ addĀ aĀ timeĀ dimensionĀ toĀ  theĀ view. ļ¶ SupportedĀ CalendarĀ TypesĀ ForĀ GeneratingĀ TimeĀ Data ļ¶ SupportedĀ TimeĀ RangeĀ forĀ GeneratingĀ TimeĀ DataĀ ā€“Ā forĀ theĀ GregorianĀ CalendarĀ type
  • 17. LOGO Generate Time Data ļ¶ GregorianĀ calendarĀ type ļ® M_TIME_DIMENSION_YEAR,Ā  ļ® M_TIME_DIMENSION_MONTH,Ā  ļ® M_TIME_DIMENSION_WEEK, ļ® M_TIME_DIMENSION ļ¶ FiscalĀ calendarĀ type ļ® InĀ theĀ SchemaĀ textĀ field,Ā enterĀ theĀ nameĀ ofĀ theĀ variantĀ schemaĀ thatĀ containsĀ  tablesĀ havingĀ variantĀ data. ļ® TheĀ variantĀ specifiesĀ theĀ numberĀ ofĀ periodsĀ alongĀ withĀ theĀ startĀ andĀ endĀ  dates. ļ® M_FISCAL_CALENDAR ļ¶ Create Time Dimension view and add view to the other Cal viewā€™s
  • 18. LOGO Graphical Calculation Views ļ¶ CreateĀ graphicalĀ calculationĀ viewsĀ usingĀ aĀ graphicalĀ editorĀ toĀ depictĀ aĀ  complexĀ businessĀ scenario.Ā YouĀ canĀ alsoĀ createĀ graphicalĀ calculationĀ viewsĀ  toĀ includeĀ layersĀ ofĀ calculationĀ logic. ļ® WorkingĀ withĀ ViewĀ node ļ® WorkingĀ withĀ ColumnĀ andĀ properties ļ® WorkingĀ theĀ CalculationĀ ViewĀ Properties
  • 19. LOGO Working with View Nodes Node Description Example Projection UseĀ ProjectionĀ nodeĀ toĀ filterĀ orĀ obtainĀ aĀ subsetĀ ofĀ  requiredĀ columnsĀ ofĀ aĀ dataĀ sourceĀ (tables,Ā views,Ā  tableĀ functions,Ā andĀ soĀ on.) Projection nodes have one input. ForĀ selectingĀ theĀ employeeĀ nameĀ andĀ employeeĀ  departmentĀ fromĀ aĀ tableĀ consistingĀ ofĀ manyĀ otherĀ  columns. Aggregation UseĀ AggregationĀ nodeĀ toĀ summarizeĀ dataĀ forĀ aĀ  groupĀ ofĀ rowĀ values,Ā byĀ calculatingĀ valuesĀ inĀ aĀ  column. Aggregation nodes have one input. ForĀ retrievingĀ totalĀ salesĀ ofĀ aĀ productĀ inĀ aĀ month.Ā  TheĀ supportedĀ aggregationĀ typesĀ areĀ SUM,Ā MIN,Ā  VAR,Ā STDDEV,Ā MAX,Ā COUNT,Ā AVG. Join UseĀ JoinĀ nodeĀ toĀ queryĀ dataĀ fromĀ twoĀ dataĀ sources,Ā  basedĀ onĀ aĀ specifiedĀ condition.Ā  Join nodes have two inputs. ForĀ retrievingĀ customerĀ detailsĀ andĀ locationĀ basedĀ  onĀ theĀ postalĀ codeĀ columnsĀ inĀ  theĀ CUSTOMERĀ andĀ GEOGRAPHYĀ tables.Ā TheĀ  CUSTOMERĀ tableĀ hasĀ columnsĀ Customer_ID,Ā  Customer_NameĀ andĀ Postal_Code,Ā andĀ theĀ  GEOGRAPHYĀ tableĀ hasĀ columnsĀ  Customer_ID,Postal_Code,Ā RegionĀ andĀ Country. Union UseĀ UnionĀ nodeĀ toĀ combineĀ theĀ resultĀ setĀ ofĀ twoĀ orĀ  moreĀ dataĀ sources.Ā  Union nodes have two or more inputs. ForĀ retrievingĀ theĀ namesĀ ofĀ allĀ employeesĀ ofĀ aĀ  store,Ā whichĀ hasĀ differentĀ branches,Ā withĀ eachĀ  branchĀ maintainingĀ itsĀ ownĀ employeeĀ recordsĀ table. Rank UseĀ RankĀ nodeĀ toĀ partitionĀ theĀ dataĀ forĀ aĀ setĀ ofĀ  partitionĀ columns,Ā andĀ toĀ performĀ anĀ orderĀ byĀ  operationĀ onĀ theĀ partitionedĀ data. RetrievingĀ theĀ topĀ fiveĀ products,Ā basedĀ onĀ sales,Ā  fromĀ aĀ TRANSACTIONĀ tableĀ withĀ  columnsĀ PRODUCTĀ andĀ SALES. Graph UseĀ GraphĀ nodeĀ toĀ executeĀ anyĀ ofĀ theĀ availableĀ  graphĀ operationsĀ orĀ actionsĀ onĀ theĀ graphĀ  workspace. A graph node is always the leaf node only. ExecuteĀ graphĀ actionsĀ suchĀ asĀ theĀ shortestĀ pathĀ orĀ  theĀ strongestĀ connectionĀ betweenĀ componentsĀ inĀ  theĀ graphĀ workspace.Ā TheĀ graphĀ workspaceĀ includesĀ  theĀ definitionĀ ofĀ theĀ vertexĀ tableĀ andĀ edgeĀ tableĀ  thatĀ areĀ requiredĀ toĀ executeĀ theĀ action.
  • 21. LOGO Projection/Aggregation Filter Output ļ¶ ApplyĀ filtersĀ onĀ columnsĀ ofĀ projectionĀ orĀ aggregationĀ viewĀ nodesĀ toĀ  filterĀ theirĀ output. ļ¶ YouĀ cannotĀ applyĀ filterĀ onĀ columnsĀ ofĀ theĀ defaultĀ projectionĀ orĀ theĀ  defaultĀ aggregationĀ nodesĀ ofĀ calculationĀ views. ļ¶ Ā FilterĀ onĀ columnsĀ areĀ equivalentĀ toĀ ā€œHAVINGā€Ā CLAUSEĀ ofĀ SQL. ļ¶ Ā WeĀ canĀ useĀ bothĀ ColumnĀ orĀ SQLĀ EngineĀ forĀ filterĀ expressions ForĀ example, (revenueĀ >=Ā 100Ā ANDĀ regionĀ =Ā India)Ā ORĀ (revenueĀ >=50Ā ANDĀ regionĀ  =Ā Germany)
  • 23. LOGO Join Properties JoinĀ  Properties Description JoinĀ Type TheĀ valueĀ ofĀ thisĀ propertyĀ specifiesĀ theĀ joinĀ typeĀ usedĀ forĀ creatingĀ aĀ join. Cardinality TheĀ valueĀ ofĀ thisĀ propertyĀ specifiesĀ theĀ cardinalityĀ usedĀ forĀ creatingĀ aĀ join.Ā  ByĀ default,Ā theĀ cardinalityĀ ofĀ theĀ joinĀ isĀ empty.Ā IfĀ youĀ areĀ notĀ sureĀ aboutĀ  theĀ rightĀ cardinalityĀ forĀ theĀ joinĀ tables,Ā itĀ isĀ recommendedĀ toĀ notĀ specifyĀ  anyĀ cardinality.Ā TheĀ systemĀ determinesĀ theĀ cardinalityĀ whenĀ executingĀ theĀ  join. LanguageĀ  Column TheĀ valueĀ ofĀ thisĀ propertyĀ specifiesĀ theĀ languageĀ columnĀ thatĀ modelerĀ  mustĀ useĀ forĀ executingĀ textĀ joins.Ā  DynamicĀ Join TheĀ valueĀ ofĀ thisĀ propertyĀ determinesĀ whetherĀ modelerĀ mustĀ dynamicallyĀ  defineĀ theĀ columnsĀ ofĀ theĀ joinĀ conditionĀ basedĀ onĀ theĀ clientĀ query.Ā  OptimizeĀ JoinĀ  Columns TheĀ valueĀ ofĀ thisĀ propertyĀ determinesĀ whetherĀ modelerĀ mustĀ retrieveĀ theĀ  columnsĀ thatĀ areĀ notĀ specifiedĀ inĀ theĀ queryĀ fromĀ theĀ database.Ā 
  • 24. LOGO Join types JoinĀ Type Description Inner ThisĀ joinĀ typeĀ returnsĀ allĀ rowsĀ whenĀ thereĀ isĀ atĀ leastĀ oneĀ matchĀ inĀ bothĀ  theĀ dataĀ sources. LeftĀ Outer ThisĀ joinĀ typeĀ returnsĀ allĀ rowsĀ fromĀ theĀ leftĀ dataĀ source,Ā andĀ theĀ matchedĀ  rowsĀ fromĀ theĀ rightĀ dataĀ source. RightĀ Outer ThisĀ joinĀ typeĀ returnsĀ allĀ rowsĀ fromĀ theĀ rightĀ dataĀ source,Ā andĀ theĀ  matchedĀ rowsĀ fromĀ theĀ leftĀ dataĀ source. TextĀ Join ThisĀ joinĀ typeĀ isĀ usedĀ toĀ obtainĀ language-specificĀ dataĀ fromĀ theĀ textĀ tablesĀ  usingĀ aĀ languageĀ column. FullĀ Outer ThisĀ joinĀ typeĀ displaysĀ resultsĀ fromĀ bothĀ leftĀ andĀ rightĀ outerĀ joinsĀ andĀ  returnsĀ allĀ (matchedĀ orĀ unmatched)Ā rowsĀ fromĀ theĀ tablesĀ onĀ bothĀ sidesĀ ofĀ  theĀ joinĀ clause. Referential ThisĀ joinĀ typeĀ isĀ similarĀ toĀ innerĀ joinĀ type,Ā butĀ assumesĀ referentialĀ  integrityĀ isĀ maintainedĀ forĀ theĀ joinĀ tables.
  • 25. LOGO Dynamic Join ļ¶ AfterĀ creatingĀ aĀ joinĀ betweenĀ twoĀ dataĀ sources,Ā youĀ canĀ defineĀ theĀ  joinĀ propertyĀ asĀ dynamic.Ā  ļ¶ DynamicĀ joinsĀ improvesĀ theĀ joinĀ executionĀ processĀ andĀ helpĀ reduceĀ  theĀ numberĀ ofĀ recordsĀ thatĀ joinĀ nodeĀ processĀ atĀ runĀ time. ļ¶ Ā YouĀ canĀ setĀ theĀ DynamicĀ JoinĀ propertyĀ onlyĀ ifĀ theĀ twoĀ dataĀ sourcesĀ  areĀ joinedĀ onĀ multipleĀ columns. StaticĀ Join DynamicĀ Join InĀ staticĀ joins,Ā theĀ joinĀ conditionĀ isn'tĀ  changed,Ā irrespectiveĀ ofĀ theĀ clientĀ query. InĀ DynamicĀ joins,Ā theĀ joinĀ conditionĀ  changed,Ā basedĀ onĀ theĀ clientĀ query NoĀ RunĀ timeĀ errorĀ evenĀ ifĀ queryĀ doesĀ notĀ  requestĀ theĀ joinĀ column InĀ aĀ dynamicĀ join,Ā ifĀ theĀ clientĀ queryĀ toĀ  theĀ joinĀ doesn'tĀ requestĀ aĀ joinĀ column,Ā  aĀ queryĀ runĀ timeĀ errorĀ occurs AggregationĀ happensĀ afterĀ theĀ joinĀ  condition AggregationĀ happensĀ beforeĀ theĀ joinĀ  condition
  • 26. LOGO Dynamic vs Static Joins Example
  • 27. LOGO Optimize Join Execution ļ¶ WhileĀ executingĀ theĀ join,Ā byĀ default,Ā theĀ queryĀ retrievesĀ joinĀ  columnsĀ fromĀ theĀ databaseĀ evenĀ ifĀ youĀ don'tĀ specifyĀ itĀ inĀ theĀ  query.Ā  ļ¶ TheĀ queryĀ automaticallyĀ includesĀ theĀ joinĀ columnsĀ intoĀ theĀ SQLĀ  GROUPĀ BYĀ clauseĀ withoutĀ youĀ selectingĀ themĀ inĀ theĀ query. ļ¶ OptimizingĀ joinĀ columnsĀ isĀ supportedĀ onlyĀ forĀ leftĀ outerĀ joins,Ā orĀ  textĀ joinsĀ (withĀ cardinalityĀ 1:1Ā orĀ N:1),Ā andĀ rightĀ outerĀ joinsĀ (withĀ  cardinalityĀ 1:1Ā orĀ 1:N). ļ¶ TheĀ joinĀ optimizerĀ cannotĀ removeĀ attributesĀ ofĀ staticĀ filtersĀ ifĀ theĀ  filtersĀ areĀ definedĀ onĀ joinĀ columnsĀ forĀ whichĀ youĀ haveĀ  enabledĀ OptimizeĀ JoinĀ Columns.Ā InĀ thisĀ case,Ā youĀ canĀ optimizeĀ theĀ  joinĀ columnĀ byĀ introducingĀ aĀ dummyĀ projectionĀ nodeĀ betweenĀ theĀ  joinĀ andĀ theĀ inputĀ nodeĀ withĀ staticĀ filters.
  • 28. LOGO Special Joins SpecialĀ  Join Description Example StarĀ Join StarĀ joinsĀ connectĀ aĀ centralĀ dataĀ  entityĀ toĀ multipleĀ entitiesĀ thatĀ areĀ  logicallyĀ related.Ā YouĀ canĀ createĀ aĀ  graphicalĀ calculationĀ viewĀ withĀ  starĀ joinsĀ thatĀ joinĀ multipleĀ  dimensionsĀ toĀ aĀ singleĀ factĀ table. Ā  TemporalĀ  Joins TemporalĀ joinsĀ letĀ youĀ joinĀ theĀ  transactionĀ dataĀ (factĀ table)Ā withĀ  theĀ masterĀ data,Ā basedĀ onĀ  temporalĀ columnĀ valuesĀ fromĀ theĀ  transactionĀ dataĀ andĀ theĀ timeĀ  validityĀ fromĀ theĀ masterĀ data. ConsiderĀ aĀ dimensionĀ calculationĀ viewĀ namedĀ PRODUCTĀ (masterĀ  data)Ā withĀ attributesĀ PRODUCT_ID,Ā VALID_FROM_DATE,Ā andĀ  VALID_TO_DATEĀ andĀ aĀ calculationĀ viewĀ ofĀ typeĀ  cube,Ā SALESĀ (transactionalĀ data)Ā withĀ  attributesĀ PRODUCT_ID,Ā DATE,Ā andĀ REVENUE.Ā Conditions:Ā  Include/ExcludeĀ both,Ā IncludeĀ ToĀ ExcludeĀ fromĀ andĀ ExcludeĀ ToĀ  IncludeĀ from TextĀ Joins AĀ textĀ joinĀ helpsĀ obtainĀ language- specificĀ data.Ā ItĀ retrievesĀ columnsĀ  fromĀ aĀ textĀ tableĀ basedĀ onĀ theĀ  userā€™sĀ sessionĀ language. TheĀ textĀ tablesĀ containĀ descriptionĀ forĀ aĀ columnĀ valueĀ inĀ differentĀ  languages.Ā ForĀ example,Ā considerĀ aĀ PRODUCTĀ tableĀ thatĀ  containsĀ PRODCUT_IDĀ andĀ aĀ textĀ tableĀ PRODUCT_TEXTĀ thatĀ  containsĀ theĀ columnsĀ PRODUCT_ID,Ā DESCRIPTION,Ā  andĀ LANGUAGE. SpatialĀ Joins CreateĀ spatialĀ joinsĀ toĀ queryĀ dataĀ  fromĀ dataĀ sourcesĀ thatĀ haveĀ  spatialĀ data. Ā 
  • 31. LOGO Empty Union Behavior ļ¶ TheĀ EmptyĀ UnionĀ BehaviorĀ propertyĀ determinesĀ whetherĀ queriesĀ onĀ unionĀ nodes,Ā onesĀ withĀ  constantĀ outputĀ columns,Ā willĀ returnĀ valuesĀ whenĀ noĀ otherĀ columnĀ fromĀ theĀ dataĀ sourceĀ isĀ  queried. ļ¶ ThisĀ propertyĀ isĀ useful,Ā forĀ example,Ā forĀ valueĀ helpĀ queriesĀ inĀ applications. ļ¶ NoĀ Row ļ¶ RowĀ withĀ Constant IfĀ theĀ Empty Union Behavior propertyĀ isĀ setĀ  toĀ No Row,Ā noĀ dataĀ fromĀ ProjectionĀ _2Ā appearsĀ  inĀ theĀ outputĀ data.Ā  OnlyĀ dataĀ fromĀ Projection_1Ā appearsĀ inĀ theĀ  outputĀ data. IfĀ theĀ Empty Union BehaviorĀ propertyĀ isĀ setĀ  toĀ Row with Constant,Ā theĀ outputĀ dataĀ  includesĀ oneĀ recordĀ fromĀ ProjectionĀ _2.Ā  InĀ thisĀ oneĀ record,Ā theĀ constantĀ valueĀ AĀ appearsĀ  forĀ theĀ CONSTANTĀ columnĀ andĀ valuesĀ forĀ allĀ  otherĀ columnsĀ appearsĀ asĀ null.
  • 32. LOGO Prune Data in Union Nodes ļ¶ PruningĀ dataĀ inĀ unionĀ nodesĀ helpĀ optimizeĀ theĀ queryĀ execution.Ā  ļ¶ YouĀ createĀ aĀ pruningĀ configurationĀ table,Ā whichĀ specifiesĀ theĀ filterĀ conditionsĀ toĀ limitĀ theĀ  resultĀ set,Ā andĀ pruneĀ dataĀ usingĀ thisĀ table.
  • 33. LOGO Rank ļ¶ Use rank nodes in calculation views to partition the data for a set of partition columns, and perform an ORDER BY SQL operation on the partitioned data.
  • 34. LOGO Rank ļ¶ Define Sort Direction ļ¶ Define threshold value ļ¶ Use a Fixed value or an Input Parameter as the threshold value ļ¶ Order by ļ¶ select a column that modeler must use to perform the order by operation. ļ¶ Partition Data ļ¶ Partition by Column more than one column ļ¶ Dynamic Partition - based query request ļ¶ select the Dynamic Partition Elements checkbox. ļ¶ Generate the Rank Column ļ¶ If you want generate an additional output column for the rank node to store the rank values, select the Generate Rank Column checkbox.
  • 35. LOGO Graph Nodes ļ¶ SAP HANA Graph lets you create graph nodes in calculation views for various calculation scenarios. ļ¶ A graph node helps execute one of the available actions on a graph workspace and provides the output as a table.
  • 36. LOGO Working with Columns Task to perform Requirement Create Counters Count the number of distinct values for a set of attribute columns. Create Calculated Columns Create new output columns and calculate their values at run time using an expression. Create Restricted Columns Create restricted columns as an additional measure based on attribute restrictions REVENUE column only for REGION = APJ, and YEAR = 2012. > Measure and Attribute Column > Expressions Assign Semantics Assign semantic types to provide more meaning to attributes and measures in calculation views. Create Input Parameters Parameterize calculation views and execute them based on the values users provide at query run time. Assign Variables Filter the results based on the values that users provide to attributes at run time. Create Level Hierarchies Create level hierarchies to organize data in reporting tools. Create Parent-Child Hierarchies Create parent-child hierarchies to organize data in reporting tools. Associate Measures with Currency Associate measures with currency codes and perform currency conversions. Associate Measures with Unit of Measure Associate measures with unit of measures and perform unit conversions. Group Related Measures Group related measures together in a folder. Enable or Disable Attributes for Drilldown in Reporting Tools By default, the tool lets you drilldown the attributes or calculated attributes in the reporting tools. You can disable this behavior for selected attributes. Assign Value Help for Attributes If you are using attribute data to provide values to variables and input parameters at runtime, you can assign a value help to that attribute in order to use values from other attributes, which are available within the same calculation view or in other tables or other calculation views. Handle Null Values in Columns Define default values for columns (both attributes and measures) in the event that no value is provided during an INSERT operation. The system uses these default values in the reporting tools to replace any null values in columns. Add Descriptions to Attributes In an information view, you can associate an attribute or a column having texts, as a label column to another attribute or column.
  • 38. LOGO Assign Semantics ļ¶ Assigning semantics to measures or attributes in calculation views helps define output structure of views. ļ® Extract and Copy Semantics From Underlying Data Sources ļ® Propagate Columns to Semantics ļ® Supported Semantic Types for Measures ļ® Supported Semantic Types for Attributes Extract and Copy Semantics From Underlying Data Sources While defining the semantics for a calculation view, you can extract and copy the semantic definitions of columns from their underlying data sources. Propagate Columns to Semantics Propagate columns from underlying view nodes to the semantics node and to other view nodes that are in the joined path Supported Semantic Types for Measures Amount with Currency Code Quantity with Unit of Measures Supported Semantic Types for Attributes Amount with Currency Code Quantity with Unit of Measures Currency Code Unit of Measure Date Date ā€“ Business Date From Date ā€“ Business Date To Geo Location - Longitude Geo Location - Latitude Geo Location - Carto ID Geo Location ā€“ Normalized Name
  • 39. LOGO Convert Attribute Values to Required Formats ļ¶ Assign conversion functions to attribute columns. These functions help maintain conversion from any internal to external format and from any external to internal format. Stored Data Type Format Stored Value Formatted Value Preservi ng Order ABAP Date 20160503 05.03.2016 No ABAP Date 20160503 2016.05.03 Yes
  • 40. LOGO Convert Attribute Values to Required Formats
  • 41. LOGO Creating Input Parameters ļ¶ Input parameters helps you parameterize calculation views and execute them based on the values you provide to the input parameters at query runtime. The engine considers input parameters as the PLACEHOLDER clause of the SQL statement. Properties Description Default Value The value of this property specifies the default value that modeler uses if you do not provide any values to the input parameter at runtime. Parameter Type The value of this property specifies the input parameter type.. Multiple Entries The value of this property specifies whether the input parameter is configured to support multiple values at runtime. Is Mandatory The value of this property specifies whether the input parameter is configured to mandatorily accept a value at runtime.
  • 42. LOGO Default Values Default Value Meaning Constant i.If you want to use a constant value as the default input parameter value,In the Default Value section, choose the add icon. ii.In Type dropdown list section, select Constant. iii.In Value field, provide a constant value. Expression If you want to use the result of an expression as the default input parameter value: i.In the Default Value section, choose the add icon. ii.In Type dropdown list section, select Expression. iii.In the Value field, choose the value help to open the expression editor. iv.In the Expression Editor, enter a valid expression. v.Choose Validate Syntax. vi.Choose Back.. For example, you can evaluate the expression date(Now()), and use the result as the default input parameter value at runtime.
  • 43. LOGO Parameter Type Input Parameter Type Description Next Steps Column At runtime, modeler provides a value help with attribute data. You can choose a value from the attribute data as an input parameter value. You can also choose a hierarchy from the calculation view to organize the data in reporting tools. But, only if the hierarchy contains the variableā€™s reference column at the leaf level (in level hierarchies) or as a parent attribute (in parent-child hierarchies). a. In the Reference Column dropdown list, select an attribute.b. If you want to use attribute data from another calculation view as the reference column, in theView/Table for value help dropdown list, select the information view that contains the required attribute. c. If you want use a hierarchy to organize the data in reporting tools, in Hierarchy dropdown list, select a hierarchy. Derived from table At runtime, modeler uses the value from the tableā€™s return column as the input parameter value. This means that, you need not provide any values to the inputparameter at runtime. Input parameters of this type are typically used to evaluate a formula. For example, you calculate a discount for specific clients by creating an input parameter, which is derived from the SALES table and return column REVENUE with a filter set on the CLIENT_ID. a. In the Table Name dropdown list, select a table. b. For the table you select, in the Return Columndropdown list, select a column value. c. In the Filters section, define filter conditions to filter the values of return column. Direct Specify the data type and length and scale of the input parameter value that you want to use at runtime. You can also define an input parameter with semantic type as Currency or Unit of Measure or Date. For example, in currency conversions, you can specify the target currency value at run time by creating an input parameter of type Direct with semantic type as Currency. b. In the Data Type dropdown list, select the data type. c. Provide the Length and Scale for the data type you choose. a. Optionally, In the Semantic Type dropdown list, specify the semantic type for you input parameter. Static List At runtime, modeler provides a value help with the static list. You can choose a value from this list as an input parameter value. a. In the Data Type dropdown list, select the data type for the list values. b. Provide the Length and Scale for the data type you choose. c. In the List of Values section, choose the add icon to provide the list values. Derived from Procedure/Scalar functions At runtime, modeler uses the value returned from the procedure or scalar function as the input parameter value. a..In Procedure/ Scalar Function textbox, provide the name of procedure or scalar function.
  • 44. LOGO Map Input Parameters or Variables ļ¶ If you are creating a calculation view by using other calculation views, attribute views or analytic views, which have input parameters or variables defined on it, then you can map the input parameters or variables of the underlying data sources with the input parameters or variables of the calculation view that you are creating Value Description Data Sources If you are using other data sources in your calculation view and if you want map input parameters of these data sources with the input parameters of the calculation view. Views for value help for variables/input parameters If you are using input parameters or variables, which refer to external views for value help references and if you want to map input parameters or variables of external views with the input parameters or variables of the calculation view. Views for value help for attributes If you are creating a calculation view, and for the attributes in the underlying data sources of this calculation view, if you have defined a value help view or a table that provides values to filter the attribute at runtime.
  • 45. LOGO Assign Variable ļ¶ Calculation views contain variables that are bound to specific attributes within the calculation view. ļ¶ Variables are runtime filters that help to filter attributes, based on values that users provide. ļ¶ Is Mandatory ļ¶ Multiple Values ļ¶ Reference Column (View/Table Value Help) ļ¶ Constant or Expression ļ¶ Supported Variable types ļ® Single Value ļ® Interval From/To ļ® Range Equal/Less than
  • 46. LOGO Using Currency and Unit of Measure Conversions ļ¶ If measures in your calculation views or analytic views represent currency or unit values, associate them with currency codes or unit of measures. This helps you display the measure values along with currency codes or unit of measures at data preview or in reporting tools. ļ¶ Associate Measures with Currency ļ¶ Associate Measures with Unit of Measure
  • 47. LOGO Hierarchy ļ¶ SAP HANA modeler helps create hierarchies to organize data in a tree structure for multidimensional reporting. Each hierarchy comprises of a set of levels having many-to-one relationships between each other and collectively these levels make up the hierarchical structure. ļ® Level Hierarchy Example Year, Qtr, Month, Week and Day ļ® Parent/Child Hierarchy Example Profit Center and Cost Center
  • 48. LOGO Others Attribute and Measure Operations Description Properties Create Counters Counters are columns that display the distinct count of attribute columns. You can create counters for attribute columns in the default aggregation view node only. Set Transparent Filter Flag = TRUE Attribute property to get the correct count Create Calculated ColumnsCreate new output columns and calculate their values at run time, based on the result of an expression. Calculation can be build based on Other columns, functions, input parameters and constants Semantics: Column type Dimension/Measure Enable client side aggregation checkbox Aggregation Type dropdown list Drilldown Provide an expression : SQL/Calculation Engine if("PRODUCT" = 'NOTEBOOK', "DISCOUNT" * 0.10, "DISCOUNT") Create Restricted Columns Create restricted columns as an additional measure based on attribute restrictions REVENUE column only for REGION = APJ, and YEAR = 2012. > Measure and Attribute Column > Expressions You can define multiple conditions using the same attribute columns or different attribute columns. For example, the expression, ("CUSTOMER_ID" = '10' OR "CUSTOMER_ID" = '2010') AND ("CUSTOMER_NAME" = '' ") has three conditions. Enable or Disable Attributes for Drilldown in Reporting ToolsBy default, the tool lets you drilldown the attributes or calculated attributes in the reporting tools. You can disable this behavior for selected attributes. Assign Value Help for Attributes If you are using attribute data to provide values to variables and input parameters at runtime, you can assign a value help to that attribute in order to use values from other attributes, which are available within the same calculation view or in other tables or other calculation views. Handle Null Values in Columns Define default values for columns (both attributes and measures) in the event that no value is provided during an INSERT operation. The system uses these default values in the reporting tools to replace any null values in columns. Group Related Measures Create folders in calculation views to logically group related measures in a calculation view. For example, you can group planned measures and related measures in separate folders. Add Descriptions to Attributes In an information view, you can associate an attribute or a column having texts, as a label column to another attribute or column. Keep Flag Using keep flag property. The Keep Flag property helps retrieve columns from the view node to the result set even when you don't, request it in your query. In other words, if you want to include those columns into the SQL GROUP BY clause, even when you don't select them in the query,
  • 49. LOGO Working With Calculation View Properties Task to perform Requirement Filter Data for Specific Clients Filter the view data either using a fixed client value or using a session client set for the user. Invalidate Cached Content Invalidate or remove data from the cache after specific time intervals. Deprecate Calculation Views Prevent use of a calculation view. Enable Calculation Views for Time Travel Queries Execute time travel queries on calculation views
  • 50. LOGO Working With Calculation View Properties
  • 51. LOGO Calculation View properties Properties Description Data Category The value of this property determines whether your calculation view supports analysis with multidimensional reporting. For more information see, Supported Data Categories for Information Views. Default Schema The value of this property helps modeler identify the default schema, which contains the tables necessary for currency or unit conversions. For more information, see Using Currency and Unit of Measure Conversions. Default Member This value of this property helps modeler identify the default member for all hierarchies in the information views. Enable History The value of this property determines whether your calculation view supports time travel queries. For more information see, Enable Information Views for Time Travel Queries. History Input Parameter Input parameter used to specify the timestamp in time travel queries. Deprecate The value of this property determines whether a user does not recommend using an information view in other modeler objects. If the value is set to True, it indicates that although an information view is supported in SAP HANA modeler for modeling activities, it is not recommended for use. For more information, Deprecate Information Views. Translate The value of this property determines whether SAP HANA modeler must support maintaining object label texts in the information view in multiple languages. For more information, see Maintain Modeler Object Labels in Multiple Languages. Execute In The value of this property impacts the output data. It determines whether modeler must execute the calculation view in SQL engine or column engine. For more information, see SAP Note 1857202 Cache The value of this property determines whether you have enabled support for cache invalidation. For more information see, Enable Support for Cache Invalidation Cache Invalidation Period The value of this property impacts the output data. It determines whether modeler must invalidate or remove the cached content based on a time interval or when any of the underlying data is changed. For more information, see Invalidate Cached Content. Pruning Configuration Table The value of this property determines the pruning configuration table that modeler must use to prune data in union nodes. For more information, see Prune Data in Union Nodes. Propagate Instantiation to SQL The value of this property helps modeler identify whether it has to propagate the instantiation handled by the calculation engine to the CDS or SQL views built on top of this calculation view. If the value is set to True, modeler propagates the instantiation to the CDS or SQL views. This means that, attributes that a query (on a SQL view built on top of this view) does not request are pruned and not considered at runtime. For information on calculation engine instantiation process, see SAP Note 1764658 Analyticview Compatibility Mode The value of this property helps the join engine identify whether it has to ignore joins with N:M cardinality, when executing the join. If the value of this property is set to True, the join engine prunes N:M cardinality joins if the left table or the right table in the star join node does not request for any field, and if no filters are defined on the join. Count Star Column The value of this property is set to row.count in calculation views, which were created by migrating analytic views having the row.count column. The row.count column was used internally to store the result of SELECT COUNT(*) queries. You can also select a column from the calculation view as Count Star Column. In this case, the column you select is used to store the result of SELECT COUNT(<column_name>).
  • 52. LOGO Additional Functionality for Calculation Views ļ¶ After modeling calculation views or during design time itself you can perform certain additional functions to understand the performance of the view at runtime and to efficiently model calculation views.
  • 53. LOGO Additional Functionality for Calculation Views Additional functions Description Example Trace View Objects with Data Lineage With data lineage, you can essentially identify from where the calculation view gets its data from. 1) Object from its source and up to the semantics node within the calculation view 2) Source of all data sources (tables and views) used for modeling a calculation view. Trace Dependent Objects to Analyze Impacts Modifying a calculation view can impact other calculation views that are modeled on top of the view. It is necessary to identify all such dependent objects before making any changes to the view, which otherwise may lead to run time errors. The tools helps to identify all dependent objects of a target calculation view, one level at a time. This means that, for each of the dependent object, you can further drilldown and identify the next level of dependent objects and until the leaf object. Open Calculation Views in Performance Analysis Mode When you open a calculation view in performance analysis mode, you obtain information on joins, join tables, table partitions, table types and other such information that to better understand the performance of calculation views when it is executed. The number of rows in a data source and table partitions impact the performance of your queries. The performance analysis mode provides information on such details at design time. Based on this information you can model more efficient calculation views and improve its performance when it is executed. Debug Calculation Views Open the calculation view in the debugger editor (in debug mode) by executing a debug query that the tool proposes or by executing your own debug query. The debugging operation helps analyze the run time behavior of a calculation view. Based on the analysis, you can make necessary changes to the view at design time and improve its performance when it is executed. The tool supports several debugging operations within the debugger editor. For example, write a SQL query for debugging a calculation view and identify those attributes or data sources in the calculation view that the engine consumes for executing the query, and also those objects that the engine does not consume.
  • 54. LOGO Additional Functionality for Calculation Views Additional functions Description Example Maintain Comments for Calculation View Objects When you are modeling a calculation view, you can also maintain comments for the view or for its objects such as parameters, calculated columns, view nodes and so on Columns in the semantics node View nodes Input parameters and variables Hierarchies Calculated columns and restricted columns in underlying view nodes Replacing Nodes and Data Sources Replace a view node with any of the other underlying view nodes or replace a data source in view node with other available data sources in the catalog object. If you manually delete a node in column view (without using the replace view node feature) and add new node, you lose the semantic information of the deleted node Using Functions in Expressions This section describes the functions, which you can use while creating expressions for calculated attributes and calculated measures Manage Calculation Views with Missing Objects If objects within a calculation view are missing, for example, if the objects or its references are deleted, then such calculation views are referred to as broken models. Adjusting mappings of inconsistent objects. Deleting inconsistent objects. Generate Properties File for Calculation Views For a calculation view, you can generate a properties file that contains the key-value pairs, such as, name and description values of calculation views objects. You can also tranlate the name and description values to multiple langagues and update the BIMC _DESRIPTION table Generate Calculation View Documentation Generate a single document that captures all details for a selected calculation view.
  • 55. LOGO Trace View Objects with Data Lineage ļ¶ With data lineage, you can essentially identify from where the calculation view gets its data from.
  • 56. LOGO Trace Dependent Objects to Analyze Impacts ļ¶ With Modifying a calculation view can impact other calculation views that are modeled on top of the view. ļ¶ It is necessary to identify all such dependent objects before making any changes to the view, which otherwise may lead to run time errors. ļ¶ The tools helps to identify all dependent objects of a target calculation view, one level at a time. ļ¶ This means that, for each of the dependent object, you can further drilldown and identify the next level of dependent objects and until the leaf object.
  • 57. LOGO Performance Analysis ļ¶ The objective of the performance analysis mode is to provide such information to users that helps them understand the performance of the calculation view when it is executed. ļ¶ When you open a calculation view in performance analysis mode, you obtain information on the catalog tables modeled in the view. For example, information on table partitions, number of rows in the tables, and so on. ļ¶ The information that the tool displays in performance analysis mode depends on the view node that you select and the data sources within this view node
  • 58. LOGO Open Views in Analysis Mode ļ¶ When you open a calculation view in performance analysis mode, you obtain information on joins, join tables, table partitions, table types and other such information that to better understand the performance of calculation views when it is executed..
  • 59. LOGO Open Views in Debug Mode ļ¶ Open the calculation view in the debugger editor (in debug mode) by executing a debug query that the tool proposes or by executing your own debug query. ļ¶ The debugging operation helps analyze the run time behavior of a calculation view. Based on the analysis, you can make necessary changes to the view at design time and improve its performance when it is executed.
  • 60. LOGO Using the Debugger Editor ļ¶ The debugger editor opens the calculation view in debug mode and helps in analyzing the runtime performance of calculation views. ļ¶ The data in the debugger editor largely depends on the query you execute to debug the calculation view. ļ¶ Helps identify pruned and unpruned data sources in calculation views. ļ¶ Allows drilldown on underlying data sources for detailed analysis ļ¶ Provides simple intermediate data preview ļ¶ Displays results of executing the performance validation rules on the calculation view.
  • 61. LOGO Predefined Validation Rules ļ¶ Executing the predefined validation rules helps identify specific design time factors that impact the performance of calculation views. ļ¶ The tool automatically executes the predefined validation rules when you execute the debug query Predefined Validation Rule Objective Calculation in filter expression rule Helps identify whether you have modeled the calculation view with calculated columns or aggregated columns in filter expressions. Calculation in joins rule Helps identify whether you have modeled the calculation view with calculated columns or aggregated columns in join conditions. Partition types in join rule Helps identify whether the tables participating the join are partition tables and if the 1st level partition type of these two tables are different.