Professional Documents
Culture Documents
html
www.saphanacentral.com/p/sap-hana-interview-questions-answers_3.html
Question1.
Answer
Question 2.
Answer
If your runtime object gets corrupted or deleted, and you want to create
it again.
Answer
Question 4.
Answer _
Question 5.
Answer
Execute on REPOSITORY_REST
Question 6.
Answer
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.
Question 7.
If tables of a schema are used to build modeling views then its necessary to
grant SELECT privilege to user _SYS_REPO. Why?
If other users need to select this view (obviously this is always the case,
otherwise the views would not make sense), then _SYS_REPO needs to have
the additional allowance to grant the select further (WITH GRANT
OPTION).
Therefor after having activated all your models that access data in your
schemas, _SYS_REPO wants to give you (and probably other users) read
access to the activated models.
Question 8.
Answer When the user creates Views in HANA Studio under Contents, he
can automatically generate the documentation about the views. This
generated document will have the details about all the view belongs to a
package which he selected for Auto Documentation.
The user can invoke the Auto Documentation from three places.
Right click Context menu of the Package or the Views
On the top right corner of the opened view
Quick Launch->Content->Auto Documentation
Question 9.
What is the difference among Raw Data, Distinct values and Analysis while
doing the Data Preview?
Answer
Raw Data: It displays all attributes along with data in tabular format.
Distinct Values: It displays all attributes along with data in graphical format.
Question 10.
Level Hierarchies are hierarchies that are rigid in nature, where the root
and the child nodes can be accessed only in the defined order. For example,
organizational structures, and so on.
Question 11.
Question 12.
What is SLT?
Answer
Question 13.
Answer
Advantages:
SAP LT uses trigger based approach. Trigger-based approach has no
measureable performance impact in source system.
It provides transformation and filtering capability.
It allows real-time (and scheduled) data replication, replicating only
relevant data into HANA from SAP and non-SAP source systems.
It is fully integrated with HANA Studio.
Replication from multiple source systems to one HANA system is
allowed, also from one source system to multiple HANA systems.
Question 14.
Is it possible to use a replication for multiple sources and target SAP HANA
systems?
Answer Yes, the SAP LT Replication Server supports both 1:N replication
and and N:1 replication.
Question 15.
Answer
Question 16.
Answer
Question 17.
What is Latency?
Answer It is the length of time to replicate data (a table entry) from the
source system to the target system.
Question 19.
Answer A table in the source system that records any changes to a table
that is being replicated. This ensures that SLT replication server can
replicate these changes to the target system.
Question 20
Answer
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:
Question 21.
Answer
In order to connect to a SAP HANA system we need to know the Server
Host ID and the Instance Number. Also we need a Username & Password
combination to connect to the instance.
The left side Navigator space shows all the HANA system added to the SAP
HANA Studio.
2. Enter HANA system details, i.e. the Hostname & Instance Number and
click Next.
3. Enter the database username & password to connect to the SAP HANA
database. Click on Next and then Finish.4. The SAP HANA system now
appears in the Navigator.
Question 22
Does 32 bit version of HANA client work with SAP HANA repository and
SAP HANA Development perspective?
If you want to make use of the repository integration features, for example,
in the Project Explorer view in the SAP HANA Development perspective,
you must install the 64 bit version of the repository client.
Question 23
Answer
In SAP HANA studio, choose Window > Preferences > SAP HANA
Development > Repository Access
Choose Browse and enter the path to the SAP HANA client
executable, regi.exe. For example, C:Program
Filessaphdbclientregi.exe
Choose Apply to enable the new setting.
Choose OK to save the settings.
Question 24
Answer To start the SAP HANA studio, perform the following steps:
Choose Browse to enter the path to the SAP HANA client executable,
regi. For example, /usr/sap/hdbclient
Question 25
Answer
Question 26
Answer
The application-access file does not have a name before the dot (.); it only
has the file extension .xsaccess. The contents of the .xsaccess file must be
formatted according to JavaScript Object Notation (JSON) rules.
"exposed" : true,
Question 27
How can we create a job and schedule it in HANA?
Answer
With the help of XSJob file, we can run a service (for example, an XS
JavaScript or a SQLScript) at a scheduled interval.
Question 28
How can we create an XSODATA service which only allows to read data but
prevents any INSERT/UPDATE/DELETE operation?
Answer
service {
"mySchema"."myTable" as "MyTable"
create forbidden
update forbidden
delete forbidden;
Question 29
While in XSJS, we need to code everything our own. This results into more
coding effort. We also need to take care of security aspects, performance
etc.
Question 30
Answer
Yes, we can call an external service from Internet. This can be achieved
with HTTP Destination (xshttpdest).
We first need to create an HTTP Destination file and provide the details of
external service along with other security and proxy details. Then we can
call this destination from XSJS using $.net.http.readDestination API.
Question 31
What are the different Web-based tools available in HANA XS? How do we
access them?
Answer
Question 32
What is HANA CDS? What are the artifacts we can create using CDS?
Answer
Core Data Services (CDS) artifacts are design-time definitions. When CDS
file is activated, it generate runtime objects.
Question 33
Answer
Question 34
Answer
No.
We must keep the HTTP destination configuration in the same package as
the application that uses it. An application cannot reference an HTTP
destination configuration that is located in another application package.
Question 35
Answer
Yes. XSJS library (xsjslib) can be called from another XS project or another
package.
Question 36
Answer
In .xsaccess file, we can set the authentication to null. After this anyone can
open the application without user id and password.
Question 37
Answer
During a regular operation, data is by default stored to the disk at
savepoints in SAPHANA. As soon a there is any update and transaction, logs
become active and get saved from the disk memory. In case of power
failure, the database restarts like any other DB returning to the last
savepoint log state. SAP HANA requires backup to protect against disk
failure and reset DB to the previous state. The backups simultaneously as
the users keep performing their tasks.
Question 38
Answer
Question 39
Answer 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
Note: For Mac OS, HANA studio is available but there is no HANA client for
that.