Ssap Hana
Ssap Hana
SAP ABAP on HANA refers to the development and optimization of ABAP-based applications to
leverage the in-memory computing capabilities of SAP HANA. It involves migrating existing ABAP-
based applications to run on the HANA database, enabling faster data processing, real-time
analytics, and enhanced performance.
SAP HANA is an in-memory database platform, whereas SAP ABAP is a programming language
used inside the SAP ecosystem to construct applications.
The ABAP CDS view is an ABAP data model specification that provides a unified view of data from
many tables. It aids in the design and implementation of efficient data models.
For database processes, AMDP methods are utilised, whereas CDS views are used for data
modelling. ABAP constructions are CDS views, while AMDP methods are database constructs.
5. How can you optimize the performance of SAP ABAP on HANA applications?
Using approaches such as code pushdown, SQLScript, and data modelling, you can improve the
speed of SAP ABAP on HANA applications.
The technique of code pushdown is used to move as much code as possible from the application
layer to the database layer. It aids in boosting application performance and lowering the stress
on the application server.
SAP HANA modelling is the process of developing a data model in SAP HANA through the use of
various approaches such as graphical modelling, SQL scripting, and CDS views.
CDS views are essential in SAP ABAP on HANA because they provide a unified view of data from
different tables, aid in effective data modelling, and increase application performance.
9. What is SQLScript?
10. How can you connect SAP ABAP on HANA with other systems?
SAP ABAP on HANA may communicate with external systems via a variety of methods such as
Remote Function Call (RFC), web services, and OData services.
Inner join returns only the rows that match between two tables, whereas left outer join returns
all rows from the left table as well as matching rows from the right table.
Exception management techniques like try-catch blocks, message handling, and logging can be
used to handle failures with SAP ABAP on HANA.
Indexing is critical in SAP ABAP on HANA because it improves application performance by allowing
faster access to data.
Partitioning is a method of dividing a large table into smaller, more manageable segments. It
improves application performance by minimizing the quantity of data that needs to be searched.
15. What are the different types of views in SAP ABAP on HANA?
Views in SAP ABAP on HANA are classified as database views, CDS views, analytical views, and
calculation views. Each view type provides a distinct purpose and can be utilised to accomplish
various data modelling scenarios.
ABAP on HANA provides quicker data processing, better memory utilisation, and real-time
analytics. It enables the integration of SAP HANA in ABAP-based applications, allowing users to
benefit from the power of HANA's in-memory database technology.
Views in SAP HANA can be of three types: attribute views, analytic views, and calculation views.
For master data, attribute views are employed, analytic views for transaction data analysis, and
calculation views for complicated data modelling.
Techniques such as push-down processing, parallel processing, and partitioning can be used to
assure good performance in ABAP on HANA. You can also improve SQL queries and employ
cutting-edge programming paradigms like ABAP Objects.
19. What is the difference between Open SQL and Native SQL?
Open SQL is a subset of standard SQL that SAP's ABAP system supports. It acts as a barrier
between the ABAP programme and the underlying database. Native SQL, on the other hand,
provides direct database access and supports all SQL features.
Indexes supported by SAP HANA include column store indexes, row store indexes, and full-text
indexes. Column store indexes are designed to support analytical queries, whereas row store
indexes are designed to support transactional processing.
You can use Eclipse's ABAP Development Tools (ADT) to construct an ABAP programme in SAP
HANA. You can start a new ABAP project, choose a package, and write a new ABAP programme.
A CDS (Core Data Services) view is a data view defined using the CDS language. CDS views define
data models in SAP HANA in a standardised manner, allowing for easy reuse and consistency
across applications.
A function module is a reusable piece of code that accomplishes a specified goal. It can be
accessed with any ABAP programme. A BAPI (Business Application Programming Interface) is a
standardised interface that allows you to access SAP business objects. BAPIs are intended to be
used by third-party apps.
A stored procedure is a precompiled code block that may be run in SAP HANA. It is often used to
execute complex data processing activities such as aggregations and calculations, and it may be
accessed through ABAP programmes.
Variables supported by ABAP on HANA include local variables, instance variables, and static
variables. Local variables are declared inside the scope of a method or subroutine, whereas
instance variables are declared within the scope of a class. Static variables are shared by all
instances of the same class.
26. What is the purpose of the ABAP Managed Database Procedure (AMDP)?
The ABAP Managed Database Procedure (AMDP) is a method for running SQL queries in SAP
HANA. It enables ABAP developers to construct SQL procedures in ABAP syntax and seamlessly
incorporate them into ABAP programmes.
Push-down processing, parallel processing, and partitioning can all be used to improve
performance in ABAP on HANA. You may also optimize SQL queries, employ ABAP Objects and
CDS views to reduce network latency, minimize data transfer between the application server and
the database, and take advantage of HANA-specific features like in-memory column storage and
predictive analysis.
28. What is the difference between a database table and a transparent table in SAP HANA?
A database table is one that is kept in the SAP HANA database. It can be accessed directly using
SQL or indirectly through ABAP programmes. A transparent table is a database table that may be
accessed through ABAP Dictionary objects like data elements and domains.
To monitor performance in ABAP on HANA, you can utilise tools such as the ABAP Profiler, the
SQL Monitor, and the HANA Studio. These tools enable you to discover bottlenecks in
performance, optimise SQL queries, and monitor system health.
In SAP HANA, a client-dependent object is one that is unique to a given client. It is saved with a
client-specific identity in the SAP HANA database. A client-independent object is one that is
shared by all SAP HANA clients. It is saved with a global identifier in the SAP HANA database. User
master records are examples of client-dependent objects, whereas data models and calculation
views are examples of client-independent objects.
The integration of SAP's ABAP programming language with SAP HANA's in-memory database
technology is referred to as ABAP on HANA. This interface enables ABAP developers to use
HANA's capability for quicker data processing, better memory use, and real-time analytics.
SAP's proprietary programming language, BAP, is used to create applications for the SAP
platform. The usage of ABAP in conjunction with SAP HANA's in-memory database technology is
referred to as ABAP on HANA. ABAP on HANA enables quicker data processing, better memory
utilisation, and real-time analytics.
S/4 HANA is the most recent version of SAP's ERP system, and it is built on SAP HANA's in-memory
database technology. Its goal is to provide real-time business information while also streamlining
company processes.
More than 70% of clients run the SAP workloads on Linux by the utilization of the SUSE Linux
Enterprise Server, which is the best OS decision for SAP HANA.
Using the column information stockpiling tactic, the capacity in SAP HANA is isolated steeply. The
columnar tactic permits straight looking and accumulation of information as opposed to a two-
dimensional information structure. On the off chance that more than one section is to be
prepared, each errand is doled out to the assorted processor. Section divisions prepared by the
various processors collimate activities into one segment.
SAP HANA is an in-memory registering motor (IMCE) utilized for the ongoing preparation of
enormous volumes of information and for fabricating and conveying true applications. Receiving
the line-based and section-based DB innovation, SAP HANA is a progressed social DB item
overhauled by SAP SE. With this elite logical (HANA) framework, huge information exists in the
primary memory and not on the solid circle. It replaces the onus of information upkeep
independently on the heritage framework and rearranges the errands of chairpersons in this
advanced world.
37. Define the rundown points of interest of utilizing the SAP HANA database.
With the HANA innovation, you can make gen-next applications giving successful and proficient
outcomes in the digital economy.
38. Say what is the part of the tirelessness layer in SAP HANA?
SAP HANA has an in-memory figuring motor and accesses the information straightaway with no
reinforcement. To stay on the safe side of losing information in case there is an equipment
disappointment or power cut off, the diligence layer that comes as a guardian angel store every
one of the information in the hard drive which isn't unstable.
• Declares the tables which are put away in HANA, the initial segment is to get the meta-
information and after that timetable information replication employments
• Manage Data Services for entering the information from the SAP Business Warehouse as
well as from different frameworks
• Manage ERP cases association; the present discharge does not bolster interfacing with a
few ERP occurrences
• Use information administration for the demonstrating
• To demonstrate in HANA itself
• Essential licenses for the SAP BO information administrations
• Run-length encoding
• Cluster encoding
• Dictionary encoding
Latency is eluded to the time span to imitate information from the source framework to the
objective framework.
Transformation administers the control indicated in the propelled replication setting exchange
for the source table to such an extent that information is changed amid the replication
procedure.
SAP SLT chips away at trigger-based approach; this kind of approach doesn't have any
quantifiable execution effect in the source framework
44. Clarify how you can maintain a strategic distance from un-fundamental data from being
put away?
To maintain a strategic distance from un-essential data from being put away, you need to delay
the replication by halting the outline related employment.
45. Specify what is the part of the ace controller work in SAP HANA?
• Creating databases trigger in logging table into all the source framework.
• Creating Synonyms.
• Creating new passages in the administrator tables of the SLT server when a table is
repeated/stacked.
46. Clarify what would happen in case the replication gets postponed for a more drawn-out
timeframe or framework blackout of SLT or HANA framework.
If the duplication is postponed for a more drawn-out timeframe, the span of the logging tables
increases.
The exchange principle coordinates databank exchanges and also keeps a record of the running
and the closed exchanges. At the point when it is exchanged and is moved back or submitted,
that is when the exchange director informs all the including stockpiling motors of the occasion
so that they can be run on important activities.
48. Clarify the way in which you can stay away from the un-fundamental logging data being
discarded.
You can dodge the unimportant logging of the data from being put away by delaying all the
replication by ceasing the patterns related to employment.
Inside the HANA databases, each SQL articulation is actualized in the orientation of the exchange.
A new session is dispensed to another exchange.
• SAP HANA DB
• SAP HANA Studio
• SAP HANA Appliance
• SAP HANA Application Cloud
51. What are the distinctive sorts of changeless permits enters in the HANA framework?
There are two sorts of perpetual License keys for the HANA framework −
52. What is the distinction between the Catalogue and Content tab?
• Catalog −This contains RDBMS matters like compositions, tables, sees, systems, and so
forth. You can open the SQL supervisor and plan catalog objects.
• Content − It is utilized to keep up configuration time storehouse. You can make new
bundles, and outline Information seen in the HANA framework. Different perspectives can
be made under the substance tab to encounter business prerequisites and for performing
diagnostic intelligence on the highest point of the content.
MDX Provider is utilized to interface MS Excel to the SAP HANA database framework. It gives the
driver to interface the HANA framework to Excel and is additionally used for information
demonstrating. You can utilize Microsoft Office Excel 2010/2013 for availability with HANA for
both 32 bit and 64 bit Windows.
54. How does SAP HANA bolster import from a nearby document?
• Go to File → Import, you will see underneath the choice
• This is utilized to import information from a level document like. axles or.csv record. Tap on
Next → Choose Target System → Define Import Properties.
• Select Source document by perusing neighbourhood framework. It also gives a choice on
the off chance that you need to keep pushing the header. It likewise gives an opportunity to
make another table under existing Schema or in the event that you need to import
information from a record to a current table.
55. What table write is favoured in SAP HANA Administration: segment-based or push-based?
Since logical applications require large accumulations and coordinated information preparation,
segment-based tables are favoured in SAP HANA. The information in the segment is put away
like this consistently empowering quicker and less demanding coherence and recovery. In this
manner, columnar capacity is favoured on most OLAP (SQL) questions. Push-Based tables drive
clients to peruse and get to all the data in succession, despite the fact that you require
information from a few as well as particular sections.
When a business suite starts running on the IMDB, Oracle will not be required anymore by the
SAP clients who purchased the HANA. This won't be affecting any of it in the short run since the
people who would be buying HANA today would still need an Oracle ERP system.
The tirelessness layer in SAP HANA handles all logging activities and exchanges for secured
reinforcement and information re-establishing. This layer oversees information put away in the
two lines and segments and gives unfaltering spare focuses. Based on the idea of the steadiness
layer of SAP's social database, it guarantees effective information re-establishment. Other than
overseeing log information on the circle, HANA's determination layer permits read and compose
information tasks through all stockpiling interfaces.
SLT extends to the SAP Landscape Transformation alluding to the trigger-based replication. SLT
duplication grants information exchange from cause to target, where the cause could be SAP as
well as non-SAP while the objective framework must be SAP HANA along with the HANA
database. Clients can achieve information replication from numerous causes. The three
duplication procedures upheld by the HANA are:
• SLT
• SAP Business Objects Data Services (BODS)
• SAP HANA Direct Extractor Connection (DXC)
Though SAP hasn't revealed the amount required for buying HANA, yet the cost is to be estimated
to be around somewhere from $100k - $200K per TB. Apart from these, there are additional costs
such as permitting cost which is decided based on every client premise.
61. Detail all the license key which are required in the HANA system along with their validity.
The different license keys which are required for the HANA systems are:
The Temporary License keys are installed automatically during the installation of the HANA
database. These keys are only valid for 90 days and before the expiration of it, you should opt for
the permanent license key from the SAP marketplace.
63. What is the difference between classical ABAP and ABAP on HANA?
Classical ABAP refers to the traditional ABAP programming language used in SAP ERP systems.
ABAP on HANA, on the other hand, specifically focuses on utilizing the capabilities of the SAP
HANA database. The key differences include:
• ABAP on HANA leverages the in-memory computing power of SAP HANA for faster data
processing and analysis.
• ABAP on HANA introduces new programming constructs and optimizations for handling
HANA-specific operations and data modelling.
• ABAP on HANA enables developers to utilize advanced features of SAP HANA, such as
SQLScript, Core Data Services (CDS), and HANA Views.
Code Pushdown refers to the approach of pushing data-intensive operations, such as filtering and
aggregation, to the database layer (SAP HANA) rather than performing them in the application
layer (ABAP). This approach leverages the processing power and optimized algorithms of SAP
HANA, resulting in improved performance. Code Pushdown techniques include using database-
specific SQL statements, CDS views, and SAP HANA native functions.
SAP HANA Live is a pre-defined content package that provides real-time operational analytics on
SAP HANA. It includes a collection of pre-built Analytic and Calculation Views, along with a rich
set of business content and dashboards. SAP HANA Live enables organizations to gain immediate
insights into their operational data without extensive development efforts.
68. What is the difference between AMDP and CDS views in ABAP on HANA?
• ABAP Managed Database Procedures (AMDP): AMDP allows developers to write database
procedures directly in ABAP, leveraging the full power of SQLScript. It enables complex
calculations and transformations to be performed directly in the database layer, enhancing
performance.
• Core Data Services (CDS) Views: CDS views are used to define semantically rich data models
in ABAP. They provide a simplified and consistent way to define database-independent
views that can be consumed by various clients. CDS views can utilize AMDP for data
processing within ABAP on HANA.