ABAP on HANA
Tolga POLAT
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.
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)
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.
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.
Code to DATA
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 Performance
Improvements
 ALV paging for large results
CDS Views
 ABAP Core Data Services
 Define more complex view
 Only editing with ADT
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
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
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) are
transferred 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 if
required, 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 Complex
Conditions, and Text Search Across the Whole Table are available.
 The DDIC view/table name is transferred using the createmethod.
Benefits
 Does not impact transaction processing
 Enables “reporting without fear” by increasing
reporting 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
SAP HANA Demo System
https://caltdc.hana.ondemand.com/console/tenant_O1VZANM2GZE7#welcome?sap-ui-language=en
Teşekkürler
Tolga POLAT

SITIST 2015 Dev - Abap on Hana

  • 1.
  • 2.
    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.
  • 3.
    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)
  • 4.
    ABAP Development  Databasewas 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.
  • 5.
    ABAP Development withHANA  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.
  • 6.
  • 7.
    What is Comingwith HANA?  Unicode Only  Integration with ‘R’  Large Tables  Dynamic Tables  ABAP Code Must be Optimized  Eclipse based IDE (ADT)  Optimization for Star Queries  Signification Performance Improvements  ALV paging for large results
  • 8.
    CDS Views  ABAPCore Data Services  Define more complex view  Only editing with ADT
  • 9.
    AMDP Class  TheABAP 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
  • 10.
    ALV IDA  TheSAP 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
  • 11.
    ALV IDA SAP ListViewer  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) are transferred 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 if required, 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 Complex Conditions, and Text Search Across the Whole Table are available.  The DDIC view/table name is transferred using the createmethod.
  • 12.
    Benefits  Does notimpact transaction processing  Enables “reporting without fear” by increasing reporting 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
  • 13.
    SAP HANA DemoSystem https://caltdc.hana.ondemand.com/console/tenant_O1VZANM2GZE7#welcome?sap-ui-language=en
  • 14.