bing
Flat 10% & upto 50% off + 10% Cashback + Free additional Courses. Hurry up
×
UPTO
50%
OFF!

Top SAP HANA Interview Questions And Answers

sap hana interview questions
Here are top 31 objective type sample SAP HANA Interview questions and their answers are given just below to them. These sample questions are framed by experts from Intellipaat who trains for SAP HANA training to give you an idea of type of questions which may be asked in interview. We have taken full care to give correct answers for all the questions. Do comment your thoughts Happy Job Hunting!

Sap hana Interview question

Top Answers to SAP HANA Interview Questions

1. Compare SAP HANA & Oracle
Criteria SAP HANA Oracle
Strengths Customization, customer service & functionality Ease of use, quick deployment and flexibility
Compatibility to work with other databases Very Good Average
Comparison on costs More cost for internal resources and training Much lesser on both fronts
2. What is SAP HANA?

SAP HANA is an in-memory database:

  • It is a combination of hardware and software made to process massive real time data using In-Memory computing.
  • It combines row-based, column-based database technology.
  • Data now resides in main-memory (RAM) and no longer on a hard disk.
  • It’s best suited for performing real-time analytics, and developing and deploying real-time applications.
3. Why to choose sap hana?

SAP HANA is one of the fastest growing products in SAP’s history and is viewed by the industry as a break through solution for in-memory databases. SAP HANA claims that it accelerates analytics and applications on a single, in-memory platform as well as combining databases, data processing, and application platform capabilities.

SAP HANA is a next-generation business platform which brings together

  • Business transactions
  • Advanced analytics
  • Social media
  • Mobile experience
  • Collaborative business
  • Design connections
CTA
Become SAP HANA Certified in 20 hrs.
CLICK HERE

close

4. What is SAP HANA Studio?
  • The SAP HANA studio is an Eclipse-based development and administration tool for working with HANA.
  • It enables technical users to manage the SAP HANA database, to create and manage user authorizations, to create new or modify existing models of data etc.
  • It is a client tool, which can be used to access local or remote HANA system.
5. What are the supported platforms for HANA studio?

The SAP HANA studio runs on the Eclipse platform 3.6. We can use the SAP HANA studio on the following platforms:

  • Microsoft Windows x32 and x64 versions of: Windows XP, Windows Vista, Windows 7
  • SUSE Linux Enterprise Server SLES 11: x86 64-bit version

Note : For Mac OS, HANA studio is available but there is no HANA client for that.

6. What is SAP HANA 1.5, 1.2 or 1.0 SP03?

They are all the same thing, and 1.0 SP03 is touted to be the final name which should go into Ramp Up (beta) in Q4 2011. This allows any SAP Net Weaver BW 7.3 Data Warehouse to be migrated into a HANA appliance. HANA 1.0 SP03 specifically also accelerates BW calculations and planning, which means even more performance gains can be attained.

7. What is a restricted user in SAP HANA system?

Restricted users are those users who access HANA system with some applications and they don’t have SQL privileges on HANA system. When these users are created they don’t have any access initially.

8. What is schema in sap hana?

There are 3 types of schemas.

  1. User Defined Schema
  2. System Defined Schema
  3. SLT Derived Schema
  1. User Defined Schema : These are created by user (DBA or System Administrator
  1. SLT Derived Schema : When SLT is configured, it creates schema in HANA system. All the tables replicated into HANA system are contained in this schema
  1. System Defined Schema : These schemas are delivered with the SAP HANA database and contain    HANA system information. There are system schemas like _SYS_BIC, _SYS_BI, _SYS_REPO,_SYS_STATISTICS etc.

A database schema is a way to logically group objects such as tables, views, stored procedures etc

9. Maximum number of tables in a schema? In SAP HANA ?

Maximum number of tables in a schema are  131072

10. What can be the maximum number of columns in a table in SAP HANA ?

Maximum number of columns in a HANA Table is 1000

11. Explain what is schema mapping in SAP HANA ?

Schema mapping is done when the physical schema in the target system is not the same as the physical schema in the source system. As mentioned earlier, suppose we are moving components from Development System (DEV) to Production System (PROD).
The tables in DEV reside in DEV_SCHEMA and the same tables reside in PROD system in PROD_SCHEMA schema. If an attribute view is transported from DEV to PROD, it will not work because the schema name is referenced in the definition of attribute view. In order for the promoted objects to work in PROD, schema mapping needs to be set up in the target system.

12. What are System Requirements for sap hana?

Java JRE 1.6 or 1.7 must be installed to run the SAP HANA studio. The Java runtime must be specified in the PATH variable. Make sure to choose the correct Java variant for installation of SAP HANA studio:

  • 32-bit installation, choose a 32-bit Java variant.
  • For a 64-bit installation, choose a 64-bit Java variant.
13. What is Meta data, Master data and Transaction data?

Meta Data : Meta Data is data about Data. It tells you about the structure of data or         Meta Objects.

Master Data : This Data is key business information like Customer information, Employee, Materials etc. This is more like a reference data. For Ex. If a customer orders 10 units of your product instead of asking customer for his shipping address 10 times the same can be referenced from the Customer Master Data.

Transaction Data : This is data related to day to day transactions.

14. What is a Delivery Unit in SAP HANA?

Delivery unit (DU) is a container used by the Life Cycle Manager (LCM) to transport repository objects between the SAP HANA systems. The name of Delivery Unit must contain only capital letters (A-Z), digits (0-9) and underscores (_).

15. Why to configure Import server in SAP HANA ?

In order to load data from external sources to SAP HANA we need to establish a connection with the server. To connect, we need to provide details of Business Objects Data Services repository and ODBC drivers. Once the connection is established, we can import the tables definition and then load data into table definition.

16. What is SAP HANA Appliance 1.0?

SAP HANA 1.0 is an analytics appliance which consists of certified hardware, and In Memory Database (IMDB), an Analytics Engine and some tooling for getting data in and out of HANA. The logic and structures are built by the user and a tool is used e.g. SAP Business Objects, to visualize or analyze data.

17. What is the prerequisite for Unit of Measure in SAP HANA ?

We need to import the tables T006 & T006A for Unit of Measures

18. Explain the column and Row store in HANA?

HANA supports both type of data store in database. Row store is used when you need to use Select statement and no aggregations are performed.

Column store is used to perform aggregations and HANA Modeling is supported only on Column based tables.

19. Which operating system is supported by HANA system?

Only operating system that is supported by HANA is Suse Linux Enterprise Server SP1/SP2 (SLES SP1/2).

20. What are the different license keys types in HANA system? What is their validity?
  • Temporary License key
  • Permanent License Key

Temporary License keys are automatically installed when you install the HANA database. These keys are valid only for 90 days and you should request permanent license keys from SAP market place before expiry of this 90 days period after installation.

Permanent License keys are valid till the predefine expiration date. License keys specify amount of memory licensed to target HANA installation.

21. What is the difference between Catalog and Content tab?

Catalog −This contains RDBMS objects like schemas, tables, views, procedures, etc.     You can open SQL editor and design database objects.

Content −This is used to maintain design time repository. You can create new packages and design Information views in HANA system. Various views can be created under content tab to meet business requirement and to perform analytical reports on the top of the Modeling views

22. What are the different perspectives available in HANA?

Modeler : used for creating various types of views and analytical privileges.
SAP HANA Development: Used for programming applications for creating development objects to access or update data models such as Server-side Java script or HTML files.

Administration : Used to monitor the system and change settings.
Debug: Used to debug code such as SQLScript (.procedure files) or Server-side Java script (.xsjs files).

23. What are the supported object types in modeler perspective?

Attribute views, Analytical views, Calculation views, Analytical privileges, Procedures, Decision tables, Process Visibility Scenario.

24. What is the main SAP HANA database component?

Index Server consists of actual data engines for data processing including input SQL and MDX statements and performs authentic transactions.

25. Explain Parallel Processing in SAP HANA?

Using the columnar data storage approach, the workload in SAP HANA is divided vertically. The columnar approach allows linear searching and aggregation of data rather than two-dimensional data structure. If more than one column is to be processed, each task is assigned to diverse processor. Operations on one column are then collimated by column divisions processed by different processors.

26. Will the table size in SAP HANA database and in the source system the same?

No as HANA database supports compression.

27. What is SQL Script?

It is a set of SQL extensions for SAP HANA database which allow developers to push data intensive logic into the database.

28. When should be SQL Script used?

It should be used in cases where other modeling constructs of HANA such as Attribute views or Analytic views are not sufficient.

29. What is Label Mapping?

We can choose to associate an attribute with another attribute description. Label mapping is also called as Description mapping. For example if A1 has a label column B1, then you can rename B1 to A1.description. The related columns appear side by side during data preview.

30. What is Schema mapping?

Schema mapping is done when the physical schema in the target system is not the same as the physical schema in the source system.

Note: Schema mapping only applies to references from repository objects to catalog objects. It is not intended to be used for repository to repository references.

31. What are different types of joins?

A Join clause combines records from two or more tables /view in a database.
SAP HANA supports following types of join.

  • Inner Join
  • Left Outer Join
  • Right Outer Join
  • Full Outer Join
  • Referential Join
  • Text Join
  • The INNER JOIN selects the set of records that match in both the Tables.

Where to use :

Inner join should be used if referential integrity is ensured.
Inner Join is much faster that Outer Join thus is the preferred solution if possible from semantically perspective
Attribute View : Inner Joins can be used to join different master data tables to a joint dimension

Analytical Views: Inner Joins can be used if referential integrity cannot be ensured

  • The Left Outer Join selects the complete set of records from first table (CUSTOMER), with the matching records (where available) in second table (SALES_ORDER). If there is no match, the right side will contain null.
  • The Right Outer Join selects the complete set of records from second table (SALES_ORDER), with the matching records (where available) in first table (CUSTOMER). If there is no match, the left side will contain null.
  • The FULL OUTER JOIN keyword selects all rows from the left table (table1) and from the right table (table2).
    The FULL OUTER JOIN keyword combines the result of both LEFT OUTER and RIGHT OUTER joins.
  • Referential Join is semantically an inner join that assume that referential integrity is given.
    Note: Referential integrity is the property of database which ensures that each foreign key value in a table exists as a primary key in the referenced table.
    Referential join is performance wise better than inner join, but only be used when you are sure that referential integrity is maintained.
  • Text Join is used in order to get language-specific data.
    You have a product table that contains product IDs without descriptions and you have a text table for products that contains language-specific descriptions for each product. You can create a text join between the two tables to get the language-specific details. In a text join, the right table should be the text table and it is mandatory to specify the Language Column.
32. What are different types of joins?

Analytic Privileges restrict the user to view data for which they authorize. SAP HANA Analytic Privileges is used for Security purpose.

SQL Privileges provide authorization on object level not at a record level, so provide a record or row-level authorization “Analytic Privileges” will be used.

SAP HANA Analytic Privileges are used to provide authorization on below information view – Attribute View, Analytic View, Calculation View

33. What is an Attribute View?

Attribute views are used to model entity based on the relationships between attribute data contained in multiple source tables. You can model Columns, Calculated columns and Hierarchies.

34. What is an Attribute?

Attribute represents the descriptive data used in modeling. Example: City, Country, etc.

35. What are Attributes?

Attribute view acts like a dimension. It join multiple tables and act as Master. Attribute view is reusable objects.

36. What are the advantages of attribute view?
  • Attribute View act as Master data context, which provides Text or Description for Key/Non-key field.
  • Attribute View can be reuse in Analytic View and Calculation View.
  • Attributes View is used to select a subset of columns and rows from a database table.
  • Attributes (fields) can be calculated from multiple table fields.
  • There is no measure and aggregation option.
37. What are the types of attribute view?
  1. Standard attribute view
  2. Time attribute view
  3. Derived attribute view
  • Standard attribute view : It is a standard attribute which is created by table fields.
  • Time attribute view : It is Time attribute view, which is based on default time table
  • Derived attribute view : It is an attribute view which is derived from another existing attribute view. Derived attribute view will be opened in read-only mode. The only editable field is its description.
38. Detail of each part in Information Editor is as below -
  1. Scenario PaneIn this pane the following node exists-
  • Semantics
  • Data foundation
  1. Detail PaneIn this pane following tab exists –
  • Column
  • View Properties
  • Hierchery
  • Semantics (Scenario Pane):This node represents output structure of the view. Here it is Dimension.
  • Data Foundation (Scenario Pane):This node represents the table that we use for defining attribute view.
  • Here we drop table for creating attribute view.
  • Tab (columns, view Properties, Hierarchies) for details pane will be displayed.
  • Local: Here all Local attribute detail will be displayed.
  • Show: Filter for Local Attribute.
39. Which engine is used to create attribute view?

Join engine is used to create attribute view

  • This engine is used when we execute any Attribute View in HANA or run native SQL on more than one table with join condition.
  • If there are any calculations involved either in Attribute View or in native SQL then Join Engine will use Calculation Engine for calculations or fetch the result.
40. What is a Calculated Attribute?

Calculated attributes are 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.

41. What is a Calculated Attribute?

SAP HANA Calculation view is a powerful information view.

SAP HANA Analytic view measure can be selected from only one fact table. When there is need of More Fact table in information view then calculation view come in the picture. Calculation view supports complex calculation.

The data foundation of the calculation view can include tables, column views, analytic views and calculation views.

We can create Joins, Unions, Aggregation, and Projections on data sources.

42. What are the characteristic of SAP HANA Calculation View?
  • Support Complex Calculation.
  • Support OLTP and OLAP models.
  • Support Client handling, language, currency conversion.
  • Support Union, Projection, Aggregation, Rank, etc.
43. What are the types of calculation view?

SAP HANA Graphical Calculation View (Created by SAP HANA Studio Graphical editor).

SAP HANA Script-based calculations Views (Created by SQL Scripts by SAP HANA Studio).

44. What are the different types of nodes in calculation view?

different types of nodes, they are

Join: This node is used to join two source objects and pass the result to the next node. The join types can be inner, left outer, right outer and text join.Note: We can only add two source objects to a join node.

Union: This is used to perform union all operation between multiple sources. The source can be n number of objects.

Projection: This is used to select columns, filter the data and create additional columns before we use it in next nodes like a union, aggregation and rank.

Aggregation: This is used to perform aggregation on specific columns based on the selected attributes.

Rank: This is the exact replacement for RANK function in SQL. We can define the partition and order by clause based on the requirement.

45. What is calculation view with star join?

Calculation View with Star Join :

It does not allow base column tables, Attribute Views or Analytic views to add at data foundation. All Dimension tables must be changed to Dimension Calculation views to use in Star Join. All Fact tables can be added and can use default nodes in Calculation View.

46. What is calculation view with star join?

It simplifies the design process as allows you to select multiple measures from multiple fact tables. Can implement 3NF using Star Join.

If we compare restricted users with Standard users −

  • Restricted users can’t create objects in HANA database or their own Schemas.
  • They don’t have access to view any data in database as they don’t have generic Public role added to profile like standard users.
  • They can connect to HANA database only using HTTP/HTTPS.
47. Can we call an analytic view or calculation view inside another calculation view in SAP HANA ?

Yes. We can call all the views (attribute, analytic and calculation view) inside a calculation view.
Note: Calculation views are composite views and can be used to combine other views. It can consume other Analytical, Attribute, other Calculation Views & tables. It can perform complex calculations not possible with other views.

48. Which engine is used to create calculation view?

SQL Engine :

  • SQL Engine which is also known as SQL Parser/interface is used for all sorts of SQL statements generated by frontend application via different different clients and also for native sql run at database level.
  • From SAP HANA SP7, we have an option for Calculation Views in ‘Properties’ section, where we have an option to choose calculation view to run in ‘SQL Engine’. Advantage of this option is that, instead of moving data between multiple engines HANA executes the entire script in SQL Engine to get the final result.
49. Which engine is used to create calculation view?

Analytic View is in the form of Star schema, wherein we join one Fact table to multiple Dimension tables. Analytic views use real power of SAP HANA to perform complex calculations and aggregate functions by joining tables in form of star schema and by executing Star schema queries.

50. What is analytic view?

Analytic View is in the form of Star schema, wherein we join one Fact table to multiple Dimension tables. Analytic views use real power of SAP HANA to perform complex calculations and aggregate functions by joining tables in form of star schema and by executing Star schema queries.

51. What are the properties of analytic view?

Following are the properties of SAP HANA Analytic View −

  • Analytic Views are used to perform complex calculations and Aggregate functions like Sum, Count, Min, Max, Etc.
  • Analytic Views are designed to run Start schema queries.
  • Each Analytic View has one Fact table surrounded by multiple dimension tables. Fact table contains primary key for each Dim table and measures.
  • Analytic Views are similar to Info Objects and Info sets of SAP BW.
52. What is star join in analytic view?

Create join in order to join the attributes view with the fact table.

53. Which engine is used to create analytic view?

OLAP Engine :

  • This engine will be called in the backend whenever we run any queries on Analytic Views in SAP HANA.
  • If there are no additional calculations performed like calculated columns, restricted measures and counters, then everything will be processed in OLAP Engine.
  • OLAP Engine acts as join engine for those Attribute Views used in Analytic Views, without any calculated columns
  • All the join engine work will be converted into ‘BwPopJoin’ which is part of OLAP Engine.
  • If there are any calculations present, to be performed then Calculation engine will be used along with OLAP Engine.

 

"15 Responses on Top SAP HANA Interview Questions And Answers"

  1. Rajeesh Maninchery says:

    Nice set of informations,thank you!

  2. akesh says:

    very useful information.

  3. varatharaj says:

    it is a very useful guide

  4. Swapnil says:

    Excellent information. Please upload more if you have any. I am interested in learning HANA in detail. Please let know how should I go ahead with it.

  5. Sundar Koduvayur says:

    Very useful information about HANA. Great Job

  6. Naveen Nalluri says:

    Truly Educational & Practical state . Thanks a lot…

  7. Shobha says:

    Very informative & thanks for Loading.
    Will be very thankful if you upload more!

  8. Narendar reddy says:

    Looks good

  9. vivek gupta says:

    very useful questions and answer.

  10. Rene Austin HOFFMAN says:

    Absolutely the best I’ve seen in 18 years as a SAP consultant! This lady merits our heads up. Wow!

  11. Suresh V says:

    Truly Valuable ……expecting more…!!

  12. Arjun says:

    Really good stuff. we can get really good knowledge on SAP HANA interview questions.

  13. Mudassar Ali says:

    Thanks for updating these valuable questions & answers!

  14. Mahipal Dave says:

    These are very useful question and answer ………Keep adding more question and answer. Thank you.

Leave a Message

100% Secure Payments. All major credit & debit cards accepted Or Pay by Paypal.
top

Sales Offer

Sign Up or Login to view the Free Top SAP HANA Interview Questions And Answers.