What Is Sap HANA?
What Is Sap HANA?
What Is Sap HANA?
SAP HANA is the latest ERP Solution from SAP, which is a combination of
Hardware and Software. HANA has unprecedented adoption by the SAP customers.
SAP HANA is latest, in-memory database, and platform which can be deployed on-
premises or cloud. SAP HANA is a combination of hardware and software, which
integrates different components like SAP HANA Database, SAP SLT (System
Landscape Transformation) Replication server, SAP HANA Direct Extractor
connection and Sybase replication technology
Row Store
Column Store
Mentioned below are the few reasons why to choose SAP HANA –
Real Time – SAP HANA Provides Real-Time Data Provisioning and Realtime
Reporting.
Speed – SAP HANA provide high speeds processing on massive data due to
In-Memory Technology.
Any Data/Source- SAP HANA can access various data source including
Structured and Un-Structured data from SAP or Non-SAP data source.
Cloud- SAP HANA database and application can be deployed to the Cloud
environment.
Simplicity – SAP HANA reduce efforts behind ETL process, Data
Aggregation, Indexing, and Mapping.
Cost – SAP claims that SAP HANA Software can reduce Total IT cost of a
company.
Choice Option – SAP HANA is supported by different hardware vendor and
Software provider, so based on the requirement, the user can choose the best
option.
SAP HANA In-Memory Strategy
SAP HANA has many processes running on the SUSE Linux Server. SUSE Linux
server manages the reservation of memory to all process.
When SAP HANA starts up, Linux OS reserves memory for the program code,
program stack, and static data. OS can dynamically reserve additional data memory
upon request from the SAP HANA Server.
SAP HANA create a memory pool for managing and tracking the consumption of
memory. The memory pool is used to store all the in-memory data and system
tables, thread stack, temporary computations and all other data structure required
for managing the database.
When more memory is required for table growth or temporary computations, the
SAP HANA memorymanager obtains this from the pool.
For an overview, check out the Memory Overview feature of the SAP HANA studio.
To access it, right-click on a System ->Configuration and Monitoring -> Open
Memory Overview in the context menu, as follows:
By In-Memory Technology user can explore and analyze all transactional and
analytic data in real time from virtually any data source.
Data can be aggregated from many sources.
Real-time replication services can be used to access and replicate data from
SAP ERP.
SQL and MDX interface from third party support.
It provides information modeling and design environment.
Currently, SAP HANA also work as in-Memory database for SAP BW, so in this way
SAP HANA able to improve the overall performance of SAP Net weaver BW.
Summary:
SAP HANA is an in-memory database and application, which runs on SAP
authenticated hardware and Software.
SAP HANA have three version – platform, enterprises and extended.
SAP HANA can load data from SAP and Non-SAP data source through SLT,
BODS, DXC, and Sybase.
SAP HANA provide real-time provisioning and reporting.
SAP HANA provide high-performance real-time analytic reporting.
SAP HANA reduces Total IT cost.
Text data and Graph data resides in Text Engine and Graph Engine respectively.
There are some more engines in SAP HANA Database. The data is allowed to store
in these engines as long as enough space is available.
In this tutorial, you will learn-
When main memory limit is reached in SAP HANA, the whole database objects
(table, view,etc.) that are not used will be unloaded from the main memory and
saved into the disk.
These objects names are defined by application semantic and reloaded into main
memory from the disk when required again. Under normal circumstances SAP
HANA database manages unloading and loading of data automatically.
However, the user can load and unload data from individual table manually by
selecting a table in SAP HANA studio in respective Schema- by right-clicking and
selecting the option "Unload/Load".
1. Index Server
2. Preprocessor Server
3. Name Server
4. Statistics Server
5. XS Engine
1. SAP HANA Index Server
SAP HANA Database Main server are index server. Detail of each server is
as below-
Session and Transaction Manager: Session Component manage sessions and connections for SAP
HANA database. Transaction Manager coordinates and control transactions.
SQL and MDX Processor: SQL Processor component queries data and send to them in query
processing engine i.e. SQL/SQL Script / R / Calc Engine. MDX Processor queries and manipulates
Multidimensional data (e,g. Analytic View in SAP HANA).
SQL / SQL Script / R / Calc Engine: This Component executes SQL / SQL script and calculation data
convert in calculation model.
Repository: Repository maintain the versioning of SAP HANA metadata object e.g.(Attribute view,
Analytic View, Stored procedure).
Persistence layer: This layer uses in-built feature "Disaster Recovery" of SAP HANA database. Backup
is saved in it as save points in the data volume.
2. Preprocessor Server
This server is used in Text Analysis and extracts data from a text when the search
function is used.
3. Name Server
This Server contains all information about the system landscape. In distributed
server, the name server contains information about each running component and
location of data on the server. This server contains information about the server on
which data exists.
4. Statistic Server
Statistic server is responsible for collecting the data related to status, resource
allocation / consumption and performance of SAP HANA system.
5. XS Server
There are two types of Relational data stores in SAP HANA: Row Store and Column
Store.
Row Store
Column Store
Column store is the part of the SAP HANA database and manages data in
columnar way in SAP HANA memory. Column tables are stored in Column
store area. The Column store provides good performance for write operations
and at the same time optimizes the read operation.
Read and write operation performance optimized with below two data structure.
Main Storage
Main Storage contains the main part of data. In Main Storage, suitable data
compression Method (Dictionary Encoding, Cluster Encoding, Sparse Encoding,
Run Length encoding, etc.) is applied to compress data with the purpose to save
memory and speed up searches.
We can manually load data in Main memory by option "Load into Memory" and
Unload data from Main memory by "Unload from Memory" option as shown below.
Delta Storage
Delta storage is used for a write operation and uses basic compression. All
uncommitted modification in Column table data stored in delta storage.
When we want to move these changes into Main Storage, then use "delta merge
operation" from SAP HANA studio as below –
Process of moving Data from Delta to Main Storage during delta merge
There is a buffer store (L1-Delta) which is row storage. So in SAP HANA, column
table acts like row store due to L1-delta.
1. The user runs update / insert query on the table (Physical Operator is SQL
statements.).
2. Data first go to L1. When L1 moves data further (L1- Uncommitted data)
3. Then data goes to L2-delta buffer, which is column oriented. (L2- Committed
data)
4. When L2-delta process is complete, data goes to Main storage.
So, Column storage is both Write-optimized and Read-optimized due to L1-Delta
and main storage respectively. L1-Delta contains all uncommitted data. Committed
data moves to Main Store through L2-Delta. From main store data goes to the
persistence layer (The arrow indicating here is a physical operator that send SQL
Statement in Column Store). After Processing SQL Statement in Column store, data
goes to the persistence layer.
Table data is stored on disk in linear format, so below is format how data is stored
on disk for row and column table -
In SAP HANA memory, this table is stored in Row Store on disk as format –
Memory address
Memory address
Data is stored column-wise in the linear format on the disk. Data can be compressed
by compress technique.
The main important sizing component is the Memory, and the second important
sizing component is CPU. The third main component is a disk, but sizing is
completely dependent on Memory and CPU.
In SAP HANA implementation, one of the critical tasks is to determine the right size
of a server according to business requirement.
SAP HANA DB differ in sizing with normal DBMS in terms of –
The Application server CPU and application server memory remain unchanged.
For sizing calculation SAP has provided various guidelines and method to calculate
correct size.
Window XP
Window Vista
Window 7
Window 8
SUSE Linux Enterprises Server: x86 64 Bit version, Red Hat Enterprises
Linux (6.5).
Mac OS 10.9 or Higher.
System Requirement
JAVA JVM – During Installation and updating of SAP HANA Studio, a JVM is
installed or updated.
SAP HANA Client – It is software, by which you will be able to connect any
other database, application.
o SAP HANA Client can be installed on Unix / Linux and Microsoft
Windows and also on SAP HANA Server host during server installation.
SAP HANA Client installed separately from SAP HANA studio.
Software Download
You can download SAP HANA Studio and SAP HANA Client from here
3. Click button.
There is hdbstudio.exe file, by right clicking on it, you can create a shortcut on the
desktop.
When you click "hdbstudio.exe" file, it will open Workspace Launcher screen
displayed below.
1. Workspace is selected by default. We can change Workspace location by
Browse option. Workspace is used to store studio configuration settings and
development artifacts.
2. Select "Use this as the default and do not ask again" option to prevent popup
this screen every time for workspace selection when we open SAP HANA
Studio.
3. Click Button.
SAP HANA Studio Welcome screen appear -
2. Modeler Perspective
This perspective is used to create modeling objects, database object
management in SAP HANA System. This perspective used by modelers for
the following activity –
3. Development Perspective
This Perspective is used to develop an application on HANA for the web
environment. In this Perspective programming language is used – Java
Script, J Query, ODATA, etc.
After Login to SAP HANA Studio, We get below screen for selected HANA System.
Catalog
SAP HANA Studio Catalog node represent SAP HANA data dictionary, in which
Database object (Table, View, Procedure, Index, Trigger, Synonyms, etc.) stores in
Schema Folder. When the user is created in SAP HANA, Schema of the same name
will be created in SAP HANA Database by default. This is a default schema of user
when a user creates any database object. Schema is used to group database
object.
Schema defines a container that hold database objects such as Table, Views,
Trigger, Procedure, Sequence, Function, Indexes, Synonyms, etc.
Schema can be created in SQL Editor by below SQL-
Provisioning
Provisioning is used for selecting source Meta data and importing metadata and
data into SAP HANA.
1. SAP HANA In-Built Tool (Flat file, Smart Data Access, Smart Data Streaming,
etc.)
2. External Tools (SLT, BODS, DXC, etc.)
In SAP HANA Studio Provisioning node, SAP uses a new feature called, "Smart
Data Access" which is Built in Tool.
Smart Data Access combines data from heterogeneous data sources like Hadoop,
Teradata, Oracle, and Sybase.
Data from different sources will store in SAP HANA database as "Virtual Table". The
restriction with virtual tables is, it can be only used to build calculation views in SAP
HANA.
Content
Content Node is Design Time Repository, which hold all information of data models
in the package. All information view e.g.(Attribute View, Analytic View, Calculation
View, etc.) will be created in Package under Content Node.
The package is used for grouping related information object in a structured way. The
package can be created by clicking right click on Content Node ->New->Package.
Security
Security Node in SAP HANA Studio contain 3 Sub-node, they are –
1. Security – Used for Create User Audit Policy, Password Policy, etc.
2. Users – Used for create/Modify/Delete user. Role and Privileges will also
grant to user from this screen.
3. Roles – Used for Create/Modify/ delete Roles. Privileges are added/deleted
from here to Role.
Comment in SQL
Single Line Comment - Double Hyphens "—". This is one line comment.
Multiple Line Comment – "/* */ ".
Numeric Types Tiny Integer TINYINT CS_INT 8-bit unsigned integer, Range 0 To 255
Binary Types Binary Text VARBINARY(n) CS_RAW Store binary data of a specified maximum le
bytes, where n indicates the maximum leng
an integer between 1 and 5000.
LOB Binary LOB BLOB CS_RAW Large amounts of binary data
Types(Large
Object Types)
TEXT TEXT CS_STRING The TEXT data type provide text search feat
data type can be defined for column Store t
not for row store tables.
BINARY Text BINTEXT CS_STRING The BINTEXT data type is similar to data typ
Data and thus supports text search features, but
possible to insert binary data. This data typ
defined for column tables, but not for row t
There are two types of identifiers – delimited identifiers and undelimited identifiers.
The SAP System features a central notification system that helps you record and process various
types of inquiries or problems. You can resolve these problems quickly and easily by defining tasks
and assigning them to individuals who will be responsible for implementing them. In addition to
recording and processing these problems, another important objective is to determine where defects
are likely to occur. The integration of the SAP Business Workflow allows you to optimize the
processing activities and reduce processing times.The SAP System features a central notification
system that helps you record and process various types of inquiries or problems. You can resolve
these problems quickly and easily by defining tasks and assigning them to individuals who will be
responsible for implementing them. In addition to recording and processing these problems, another
important objective is to determine where defects are likely to occur. The integration of the SAP
Business Workflow allows you to optimize the processing activities and reduce processing times.
Continuous Process Improvement
The QM Quality notifications can help you and your company fulfill the requirement for continuous
process improvement. In a quality notification, you can record quality-related problems, document
defects and causes confirmed by a defect analysis, define necessary corrective actions to improve
the quality, and monitor the effectiveness of these actions.
Quality Notifications in the Logistics Chain
Delivery Complaints
You can record the problems found in a goods receipt inspection or in the subsequent processing
stages of production by creating a notification for a complaint against the vendor. When you process
a notification, for example, you can create a letter of complaint or an 8D report, activate additional
goods receipt inspections or trigger a return delivery process. The complaint against a vendor also
serves as the basis for determining a complaint score that is used to evaluate a vendor in the
systems vendor evaluation.
Improved Quality through effective Problem Solving
Complaints in Production
If you confirm defects in an inspection during production, if the action limits in a control chart are
exceeded, or if qualitative characteristics are valuated as not OK, you can also record and monitor
these events in a quality notification.
Customer Complaints
If a customer is not satisfied with the goods received in a delivery, you can record the complaint,
inspect the returned goods, analyze the defects and specify the necessary corrective actions to be
taken. You can perform all of these steps using the functions of the quality notifications.
Defects Recording
In defects recording, you can record the defects confirmed in a quality inspection quickly and easily.
These defects are documented and stored as quality notifications in the system.
Elements of the Quality Notification System
Nonconformity Costs
You can use QM orders to record, settle and evaluate the nonconformity costs incurred while
processing a notification problem.
Status Management
Using the system’ s status management function, you can display the current processing status of a
quality notification or task at any time. You can also evaluate any existing notifications and tasks
based on these statuses.
Action Log
All changes that are made in a notification are documented in the system by change documents.
The action log provides an overview of all changes and processing steps in chronological order.
Action Box
Action Box With the help of the action box, you can define follow-up functions that an authorized
person can execute while processing a notification. The action box can be customized to enhance
the notification’ s range of functions and simplify the problem processing activities, and it allows you
to solve problems in a logical sequence.
Document Flow
The document flow provides an overview of all notification-related documents. It allows you to
identify all originating and subsequent documents that relate to a notification.
Notification Structure
A quality notification contains the following elements:
Notification header: The notification header contains a description of the problem, various
reference objects (for example, material or batch), information relating to complaint quantities and
nonconforming quantities, as well as scheduling dates and status information.
Notification items: A notification item pinpoints a problem in coded form (for example, a defect type
and defect location) and provides the basis for evaluating the notification data
Causes: A cause specifies a reason or event that caused a problem to occur and also identifies the
problem to be solved.
Tasks: A task defines the necessary corrective action(s), responsible organizational units, and
processing deadlines for a notification problem.
Activity: An activity documents any actions that were carried out in the course of processing a
notification problem
Partner: A partner is any internal and external person or organizational unit that is directly or
indirectly involved with the notification problem.
Flexible Worklists
Using worklists, you can select and process notifications or tasks on the basis of various selection
criteria. Monitoring functions in the worklist show you the processing status of all selected objects.
Evaluations
The access to central defect and cause catalogs allows you to analyze your quality data on a
company-wide basis in the QM Information System (QMIS) and Business Information Warehouse
(BW). These tools enable you to flexibly select and summarize the data, and display it graphically.
An Early Warning System allows you to automate the search for unusual trends in results and helps
recognize potential problems early
New Technologies
Notifications on the Internet In the age of electronic commerce, the Internet offers you a wide range
of options for direct communication between customer and vendor. On the Internet, your customer
can record quality notifications quickly and easily. This also allows you to remain in direct contact
with a vendor
Notifications on the Intranet The employees in your company can use the Intranet to record different
types of inquires or problems, and forward them for further processing. Supported by the SAP
Business Workflow component, the system triggers various internal processes to ensure that the
notification is processed promptly.
Telephone Integration Using the SAPphone component, you can create a quality notification on the
basis of an incoming telephone call. Outgoing calls can be dialed directly from the SAP System.
SAP Business Workflow The SAP Business Workflow is a cross-application tool that allows you to
integrate the business tasks across all areas of your company. You can use it to directly notify the
departments or persons who are responsible for processing a given task or notification. This ensures
that all problems are processed quickly and efficiently.
SAP ArchiveLink: SAP ArchiveLink is an integrated communication interface between the SAP
application components and external electronic archives. You can use this component to archive
printed or electronically transmitted documents and link them to a quality notification.
Solution Database: When you record and process notifications, you can use the solution database
to quickly find solutions to previously known problems. You can search the database for specific
symptoms and then assign the corresponding solutions to the notification
Processing Specific Tasks: A person responsible for executing a task in a notification is informed
of the impending work via the SAP Business Workflow or the worklist. Using the function for
processing tasks, this person can call up the task, perform the necessary activities and document
the progress of the work.
mySAP.com Turning Internet Promises into Profit
In the Internet age, businesses in all industries need to move from intra-company integration to
intercompany integration in order to increase competitiveness.
mySAP.com places Web-enabled technology at the heart of all SAP products and services. It
extends the reach of SAP applications into the Internet and enables seamless, end-to-end
integration of both SAP and non-SAP products. mySAP.com creates an open, collaborative business
environment.
mySAP.com also means personalized solutions delivered on demand over the Net. This ensures
that users in all areas of the company receive precisely the functionality and services they need,
when they need them.
By empowering employees, cutting costs, and creating value mySAP.com guarantees business
success.
What is Recurring Inspections type?
In Recurring Inspections type the system can automatically create inspection lots at predefined
intervals for selected batch materials. In other words Recurring Inspections type is used when you
have to inspect the batch material as per the specific time interval.
For e.g if you want that the expiry date of each product has to be inspected at every 6 months...then
if you set up recurring inspection type and enter the inspection interval in material master, then
system will create a inspection lot and you can reject or acccept this batch.
Recurring inspections are triggered by a report that you can execute manually or that the system can
execute automatically (provided it has been planned as a background job). When recurring
inspections are triggered automatically, the background job executes the report, which in turn selects
the batches and creates the inspection lots according to your processing parameters.
The steps for using Recurring inspection type 09.
1) In QM material master view define Inspection Interval.
2) In inspection setup, Activate 09 inspection type by ticking on active.
3) Make quality plan for that material using '09' usage.
4) In QA05 define a variant for recurring inspection lot generation.
5) Select that defined variant and put that material, plant and batch. please tick on " to inspection lot
creation" (in maintain varient screen). If you don't do this lot will not be generated.
6) select the variant and then press schedule tab.
7) click on scedule one / periofically and select the desired frequency.
8) as per defined frequency system will that program and lot will be generated auromatically. If you
want to generate lot immediatly.
9) check the effect of this on that batch, in MSC2N system will display next inspection interval based
on data you maintained.
10) In QA32 put material, batch and 09 type, the lot will be displayed.
Using Digital Signatures in SAP QM to Meet Regulatory Requirements
By: kazama | 08 Jul 2009 6:46 am | 35 Comments
For many SAP customers, the “out of the box” functionality for digital signature should meet their
requirements, particularly in closed systems. If another level of authentication is required, or the
system is open to partners and customers, SAP supports the integration of external security
products (i.e., smart card readers) and the use of public-key technology via the Secure Store &
Forward (SSF) interface (starting with SAP version 4.0b). This is particularly relevant in SAP
applications where digital information is exchanged electronically (i.e., electronic invoices) across
enterprise boundaries.
In these cases, there are two keys involved. The document is signed using a private key, and the
signature is verified using a public key. The private key can be stored on a computer (PC or server)
or on a separate piece of hardware like a smart card. This white paper will focus on “single
key” digital signature authentication. Depending on reader interest, we can potentially follow up this
white paper with a look at the more complex “double key” authentication scenarios.
I. Background on Electronic or “Digital” Signatures
SAP defines a “Digital Signature” in the online documentation as follows:
Logistics - General (LO)
Equivalent to a handwritten signature for the processing of digital data.
The digital signature ensures that:
The signed transaction can only be carried out by users with a special authorization
The signatory identification is unique and forgery-proof
The signatory name is documented together with the signed transaction and the date and time, and
cannot be falsified
The Quality Management (QM) application component uses the simple signature. This means, that a
document is signed or approved by the signature of a single authorized person.
You can use the digital signature for the following functions:
During results recording
At the usage decision
When confirming the physical sample drawing. This means, when releasing the first physical sample
in a physical sample drawing.
II. Configuration (using the IMG)
General Settings:
In order to use the Digital Signature functionality, you must first define the “General Settings.”
A) Time Zones
(standard SAP setting should suffice here—see Figure 1)
Figure 1: Maintain Time Zone
B) Assign Personal Time Zone (maintain User Defaults)
The “Personal Time Zone” for your User ID must be maintained. This assures that the signature
date and time are correct for the individual user who “signs” the document.
This can be done using the following menu path System → User profile → Own data (or
transaction SU3. Make sure to click on the “Defaults” tab (see Figure 2).
The other user status will be set once tasks are completed. It will prohibit deleting tasks.
Now assign the user status profile to the notification type. Customizing path t-code QCC2 -> Quality
Notifications -> Notification Processing -> Status Management -> Define Status Profile ->
Status Profile for Notification Type :
After performing all the setting above the result will look like as shown below:
First please create a new notification in transaction code QM01.
Now create a task. It is a system status is TSOS and user status is dele.
Complete the task: The system status will become TSCO and user status will become NODE.
Now when you try to delete the task. A status error will popup which will avoid the deletion.