14
ABAP on HANA Tolga POLAT

SITIST 2015 Dev - Abap on Hana

  • Upload
    sitist

  • View
    544

  • Download
    9

Embed Size (px)

Citation preview

Page 1: SITIST 2015 Dev - Abap on Hana

ABAP on HANA

Tolga POLAT

Page 2: SITIST 2015 Dev - Abap on Hana

What is HANA?

An in-memory database is a database management

system that primarily relies on main memory for computer

data storage

A column-oriented DBMS is a database management

system (DBMS) that stores data tables as sections of columns

of data rather than as rows of data.

Page 3: SITIST 2015 Dev - Abap on Hana

ABAP in Eclipse

ADT ( The ABAP Development Tools ) for SAP NetWeaver are SAP's state-of-the-art IDE for ABAP development on the open Eclipse platform. They

are designed to significantly increase developers productivity by providing the ABAP developer the unique opportunity to perform development

tasks in the comfortable ABAP environment while at the same time benefiting from the proven usability, speed and flexibility of the well-known

Eclipse platform.

Key Features

Highly flexible, customizable Eclipse UI for ABAP

development tools

High-performance, failover-safe online development

in several ABAP systems simultaneously

Display and edit functionality for multiple ABAP

objects in parallel

Advanced and efficient source code editing including

refactoring support

Fast search and navigation capabilities

Cross-system version management

Ideal support of task-oriented and test-driven

development

Built-in extensibility of the IDE through the

established Eclipse plug-in technology

Powerful SDK for building and integrating custom

ABAP development and testing tools (planned)

Page 4: SITIST 2015 Dev - Abap on Hana

ABAP Development

Database was a black box to ABAP Developer for many years. ABAP Developer was focusing on front-end application and dealing with data in

front-end. ABAP Developer have SE11 ( ABAP Dictionary ) to create or change database table but actual work handled by SAP Database

Interface.

Page 5: SITIST 2015 Dev - Abap on Hana

ABAP Development with HANA

SAP HANA brings new capabilities, but also enforces a

new paradigm ‘code-2-data’ (aka code pushdown)

where data-intensive processing (e.g. costly calculation

on large datasets) - which were until now handled in

the ABAP application layer - can be pushed down to

the database layer.

Page 6: SITIST 2015 Dev - Abap on Hana

Code to DATA

Page 7: SITIST 2015 Dev - Abap on Hana

What is Coming with HANA?

Unicode Only

Integration with ‘R’

Large Tables

Dynamic Tables

ABAP Code Must be Optimized

Eclipse based IDE (ADT)

Optimization for Star Queries

Signification PerformanceImprovements

ALV paging for large results

Page 8: SITIST 2015 Dev - Abap on Hana

CDS Views

ABAP Core Data Services

Define more complex view

Only editing with ADT

Page 9: SITIST 2015 Dev - Abap on Hana

AMDP Class

The ABAP Development Tools (ADT) are better suited for the

editing of database procedures in AMDP methods than Class

Builderin ABAP Workbench. This means that AMDP classes can

only be edited with the ABAP Development Tools (ADT).

Currently, AMDP only supports database procedures from the

SAP HANA database. In principle, however, AMDP is designed

so that stored procedures from other database systems can also

be supported.

ABAP Developer can write Native SQLScript in method

Page 10: SITIST 2015 Dev - Abap on Hana

ALV IDA

The SAP List Viewer with Integrated Data

Access offers application developers the option to

use the in-memory database, such as SAP HANA,

without having to switch to a new programming

environment.

End users can continue to work on the familiar

interface

The standard functions (also ALV services) that have

been used in the ALV for a long time for executing

calculations are still available in ALV with IDA. The

new general programming model

(CodingPushDown) is also optimally supported

when using in-memory databases

Page 11: SITIST 2015 Dev - Abap on Hana

ALV IDA

SAP List Viewer

ALV control is instantiated, and the container is assigned, and if required, the screen too.

Data is selected with one or more SQL statements( selectexpressions) and select options (WHERE clause) aretransferred in the application program.

A simple internal table with no deep structures is transferred to the ALV.

SAP List Viewer with Integrated Data Access

The ALV control is instantiated, and the container is assigned (and ifrequired, the screen too) in the same way (see also,Embedding in SAP GUI)

Select options (see Setting Selection Options) are transferred in ALV API.

A more powerful Data Retrieval interface, such as ComplexConditions, and Text Search Across the Whole Table are available.

The DDIC view/table name is transferred using the createmethod.

Page 12: SITIST 2015 Dev - Abap on Hana

Benefits

Does not impact transaction processing

Enables “reporting without fear” by increasingreporting speeds dramatically

Eliminates SAP as Access Loader

Keeps processing within SAP and not Excel

Avoid using old and/or partial data

Convert batch processes to real-time operations

Enable new big data processes

Page 13: SITIST 2015 Dev - Abap on Hana

SAP HANA Demo System

https://caltdc.hana.ondemand.com/console/tenant_O1VZANM2GZE7#welcome?sap-ui-language=en

Page 14: SITIST 2015 Dev - Abap on Hana

Teşekkürler

Tolga POLAT