Sap Hana Interview Imp
Sap Hana Interview Imp
1.
2.
3.
4.
5.
1.
2.
3.
4.
5.
6.
7.
Qs. Is there any pre-requisite before creating the configuration and replication?
For SAP source systems:
DMIS add-on must be installed in SLT replication server.
An RFC connection between the SAP source system and the SAP LT Replication Server has to be
established.
User for RFC connection must have the role IUUC_REPL_REMOTE assigned.
Do not use a DDIC user for RFC connection.
For non-SAP source systems:
DMIS add-on is not required.
A database user has to be created with appropriate authorizations in advance and establish the
database connection by using transaction DBCO in the SAP LT Replication Server.
Ensure the database-specific library components for the SAP 7.20 REL or EXT kernel are installed in
the SAP LT Replication Server.
Qs. What is Latency?
It is the length of time to replicate data (a table entry) from the source system to the target system.
What is Schema?
A database schema is a way to logically group objects such as tables, views, stored
procedures etc. Think of a schema as a container of objects.
Types of Schemas
There are 3 types of schemas.
1.
2.
3.
Mapping tables.
_SYS_STATISTICS:
This schema contains all the system configurations and parameters.
_SYS_XS:
This schema is used for SAP HANA Extended Application Services.
What is currency conversion ??
To do currency conversion we need to have tcurr, tcurc, tcurx,tcurf,tcurt,tcurv tables and
we can't create currency conversion on top of attribute view as it is made to define
attribute properties not for measures.
What are the different engines available in HANA?
In HANA there are mainly 3 types of engines.
Can we call an analytic view or calculation view inside another calculation view?
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.
Qs. What are the different types of calculation view? Which one would you prefer?
There are 2 types of calculation view possible.
1.
2.
Simple Measure:
Simple Measure is a measurable analytical element that is derived from the data foundation.
Calculated Measure:
Calculated Measures are created using some calculation on top of an existing measures or
attributes.
Private Measures:
Private Measures are measures used inside a modeling views and cannot be used outside
the view.
What is the difference between Variable and Input parameter in HANA?
Variables are bound to columns and are used for filtering using WHERE clauses. As such,
they can only contain the values available in the Columns they relate to. Variables do not
impact the execution
HANA Input parameters used to manipulate the execution based on user input. Sometimes
you might not want a variable to just restrict the data of a view. But you also want to take
input from the user and process it, returning dynamic data based on the user selection.
Input Parameters makes this possible.
To know more about Variables and Input Parameter,
Qs. In which configuration table you can find the variables information?
There are 4 system tables under the schema _SYS_BI which contains information about
Variables.
BIMC_VARIABLE
BIMC_VARIABLE_ASSIGNMENT
BIMC_VARIABLE_VIEW
BIMC_VARIABLE_VALUE
Qs. What are the different types of Input parameters supported?
The following types of Input parameters are supported.
Currency:
Use this during currency conversion where the end user should specify a
source or target currency.
Date:
Use this to retrieve a date from the end user using a calendar type input box.
Static List:
Use this when the end user should have a set list of values to choose from.
Attribute Value:
When an Input Variable has this type, it serves the same purpose as a normal
Variable.
None:
If none of the above applies you do not have to specify an Input Variable type.
The Type can be left blank.
How do we pass input parameters from SQL query?
The value of Input Parameter is passed using PLACEHOLDER clause.
For example:
('PLACEHOLDER' = ('$$Param1$$', 'value'))
Qs. What are the factors that affect currency conversion?
Currency conversion is performed based on source currency, target currency,
exchange rate, and date of conversion. You can select currency from the
attribute data used in the view. Currency conversion is enabled for Analytic
view and Calculation views.
Qs. What is the prerequisite for doing the currency conversion?
You need to import tables TCURC, TCURF, TCURN, TCURR, TCURT, TCURV,
TCURW and TCURX.
What happens when you activate an object in HANA?
Distinct Values: It displays all attributes along with data in graphical format.
Analysis: It displays all attributes and measures in graphical format.
RS_ORDER:
Action
Description
Code
T
L
C
S
M
Q
SAP HANA has mainly 3 types of engines that are used based on the views
required by the model.
Join Engine:
Used when querying an Attribute View
The join engine is also used, when you run plain SQL.
OLAP Engine:
Used for Analytic view (without calculated columns).
Calculation Engine:
Used for Analytic views with calculated attributes and Calculation
views.
What are Transformation rules?
A rule specified in the Advanced Replication settings transaction for source tables
such that data is transformed during the replication process. Example you can
specify rule to
Convert fields
Fill empty fields
Skip records
What is advanced replication settings (transaction IUUC_REPL_CONT)?
The Advanced Settings (transaction IUUC_REPL_CONT) allows you to define and
change various table settings for a configuration such as:
Partitioning and structure changes for target tables in HANA
Table-specific transformation and filter rules
Adjusting the number of jobs (and reading type) to accelerate the
load/replication process
What is Configuration and Monitoring Dashboard?
It is an application that runs on SLT replication server to specify configuration
information (such as source system, target system, and relevant connections) so
that data can be replicated.
Status Yellow: It may occur due to triggers which are not yet created
successfully.
Will the table size in SAP HANA database and in the source
system the same?
No.
As HANA database supports compression, the table size in SAP HANA
may be decreased.
Does SLT for SAP HANA support data compression like SAP
HANA database?
Yes, this is automatically covered by the RFC connection used for data
replication from the SAP source system.
Qs. When to go for table partitioning?
If the table size in HANA database exceeds 2 billion records, split the
table by using portioning features by using Advanced replication
settings (transaction IUUC_REPL_CONT, tab page IUUC_REPL_TABSTG).
How to avoid unnecessary logging information from being
stored?
Pause the replication by stopping the schema-rel
ated jobs.