SAP HANA Articles - Page 27 of 63

Using aggregated in SAP HANA

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:22

326 Views

SAP HANA is an in-memory database so all data resides in memory all the time and hence all calculations and functions can happen directly and hence materialized aggregations are not required in SAP HANA database.With the use of column store, data is available vertically and hence operations on different columns can be easily performed.

Disadvantages of using row based tables in SAP HANA

SAP Expert
Updated on 30-Jul-2019 22:30:22

264 Views

Row based tables are used when only one record has to be processed at a time. Row based table doesn’t support aggregations and fast searching.When your application needs to access a complete record or a complete row it is recommended to use row based tables.

Applying Variable on calculated column in SAP HANA Modeling view

SAP Developer
Updated on 18-Jun-2020 09:35:40

490 Views

Yes, you can set a variable on top of “Calculated column”. In the bottom box, you need to select the column on which you want to set a Variable.Click on Add and from the drop-down, you can select “Calculated column” as below:

Creating a mandatory variable in SAP HANA View

SAP Expert
Updated on 18-Jun-2020 09:33:21

275 Views

Yes, this is possible. When you create variable in HANA, you have an option to make it as a mandate. Also from the drop down, you can make Selection type as Range or Interval

Consuming Attribute views in an Analytic view in SAP HANA

SAP ABAP Expert
Updated on 18-Jun-2020 09:28:51

201 Views

When you create an Analytic View, you get an option of Data Foundation and Star Join. At Data Foundation level you can add objects- columnar tables and at Star join you can add other Attribute views.When you click on “+” sign, you get an option to search all Attribute views in the repository.

Different options in Data Preview in SAP HANA

John SAP
Updated on 18-Jun-2020 09:25:59

687 Views

When you click on Data Preview, you can see these optionsAnalysisDistinct ValueRaw DataWhen you use an Analytic view, under Analysis tab you can see both Attributes and Measures under Available objects and it can be dragged to Label and Value axis.Similar way you can “Distinct value” tab to see the distinct values and “Raw data” to check all raw data available in HANA view.

Data Preview option in HANA Modeling view in SAP HANA

SAP ABAP Expert
Updated on 18-Jun-2020 09:05:24

629 Views

Once HANA Modeling view is activated, you can use Data Preview option to analyze the data in HANA Modeling view. To see Data Preview, you can right-click on View name → Data PreviewYou can also click on the icon as shown in below snapshot:

Activating an Attribute view in SAP HANA

Anil SAP Gupta
Updated on 12-Mar-2020 11:39:45

284 Views

This can be checked by looking at view name in a package. If there is a Grey diamond mark on the name it means View is not activated.

Performance Analysis of an Attribute view in SAP HANA

SAP Developer
Updated on 18-Jun-2020 08:59:49

456 Views

In SAP HANA Modeling, you have an option of switching to Performance Analysis mode. This is used to check if Joins in Attribute view are meeting with performance optimized joins and cardinality based on data in the table.You can see 2 options when you select Performance Analysis mode:Join Details:This defines Join type used and proposed cardinality based on data in the tableData Source Details:Defines table type, partition type and a number of rows in tables.

Checking column properties in an Attribute view in SAP HANA

John SAP
Updated on 18-Jun-2020 09:02:41

273 Views

This can be easily checked in Details pane. You need to select column name for which you want to check Properties of a column → right click → Properties

Advertisements