1a accelerating abap applications using sap hana
DESCRIPTION
1a Accelerating ABAPTRANSCRIPT
-
Thomas Jung SAP Labs, LLC. December, 2012
ABAP for SAP HANA: Building Business Applications Optimized for In-Memory
-
2012 SAP AG. All rights reserved. 2
Disclaimer
This presentation outlines our general product direction and should not be relied on in making a
purchase decision. This presentation is not subject to your license agreement or any other agreement
with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to
develop or release any functionality mentioned in this presentation. This presentation and SAP's
strategy and possible future developments are subject to change and may be changed by SAP at any
time for any reason without notice. This document is provided without a warranty of any kind, either
express or implied, including but not limited to, the implied warranties of merchantability, fitness for a
particular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in this
document, except if such damages were caused by SAP intentionally or grossly negligent.
-
2012 SAP AG. All rights reserved. 3
Agenda
Overview: ABAP optimized for SAP HANA
Accelerating and extending custom ABAP development with SAP HANA
Code pushdown as paradigm change
Performance guidelines and optimization patterns
ABAP components optimized for SAP HANA
Demo
New development options / advanced topics
Integrated development options across ABAP and SAP HANA
Demo
Summary and Outlook
-
Overview: ABAP for SAP HANA
-
2012 SAP AG. All rights reserved. 5
SAP NetWeaver Application Server ABAP Empowering classic & new SAP products
50.000+ customers of ABAP-based products
Millions of ABAP developers, SCN as community
A thriving partner ecosystem
Proven, robust and scalable
Extends into HANA, Mobility and Cloud
Evolves continuously w/o disruption
Enables hybrid on-premise/on-demand scenarios
SAP NetWeaver Application Server ABAP, a strong pillar i product strategy
HANA
MOBILITY
CLO
UD
SAP NetWeaver in 2013
SAP NetWeaver
Application
Server ABAP
-
2012 SAP AG. All rights reserved. 6
ABAP Platform and SAP HANA
Business values and target groups
Re-use ABAP skills
Reduce Total Cost of Ownership
and Total Cost of Development
Integrated Lifecycle
Management and
operations
New types of applications
(SAP standard and custom development)
Ease the daily life: Accelerate reports and
selections, intuitive value helps, ...
How can you
leverage the
power of
SAP HANA with
AS ABAP?
-
2012 SAP AG. All rights reserved. 7
Step 1
Side-by-side scenarios on
AS ABAP 7.X
Stepwise Adoption of SAP HANA by the Application Server ABAP
Step 2
SAP NetWeaver BW on
AS ABAP 7.3
Step 3
AS ABAP 7.4
(Future/Outlook)
-
2012 SAP AG. All rights reserved. 8
ABAP Platform and SAP HANA
Scenarios and transition options
Influencing factors for Side-by-Side vs. Primary Persistence
Innovation speed (e.g. prerequisities, limitations)
Stability (e.g. impact on productive systems)
TCO (e.g. landscape complexity, data integration)
Transition options for primary persistence
Copy -> Upgrade -
In-place migration (keep landscape (e.g. SID and server))
Side-by-Side
SAP HANA
AS ABAP
RDBMS Replication
App App
BWA RDBMS
AS ABAP
SAP HANA
Primary Persistence
AS ABAP
App App App App
Related Session: TEC-204 How to migrate to SAP HANA Supported by AGS offerings HANA feasibility check and rapid
prototyping (for SAP MaxAttention or ActiveEmbedded)
-
2012 SAP AG. All rights reserved. 9
ABAP Platform and SAP HANA
Options for ABAP custom development with SAP HANA
Accelerate Innovate Extend
Reduce time windows
of batch jobs
Improve response
times for end-users
Address more users
From background jobs
to interactive UIs
Add features and
improve usability
New processes
New applications
New consumption
channels
-
ABAP Development on SAP HANA
-
2012 SAP AG. All rights reserved. 11
Optimizing custom ABAP development for SAP HANA
Based on a concrete example scenario (simplified Open Items Analysis)
Consider the following questions
How can I detect optimizing
potential on SAP HANA?
How can I optimize my existing
code with minimal investments?
How can I fully exploit the power
of SAP HANA?
What are guidelines and best
practices, and how do they differ
from existing recommendations?
Data
selection Analyze Open Items
Authority
check
Custom
Apps Format
output
Detailed steps of Open Items Analysis
Functions and services
Data crunching
Selection interface (user/client, master data)
Currency conversion
Data model
Order
Buyer
Line item
Difference of two dates
Customizing
Aggregation
of amounts
Buyer
segmentation
Average number
of open days
-
2012 SAP AG. All rights reserved. 12
Technology aspects of ABAP on SAP HANA
Key technology aspects of SAP HANA
Support for multi-core architecture ( benefit from massive parallelization)
Row and column based data store ( very fast aggregation and search)
High data compression ( make use of real-life / sparse fill of tables)
Key consequences for developing ABAP on SAP HANA
Database access becomes center of attention ( good DB / SQL knowledge is key)
Performance is not only an expert domain anymore ( tools and guidelines)
-
2012 SAP AG. All rights reserved. 13
The consequence: A paradigm shift
-2-
Characteristics
Data processing code is running inside HANA
Less data transfer between HANA and ABAP
Reuse possible in non-ABAP scenarios
Affected development domains include
Data modelling & access
Process and display logic
Authorization checks
Calculation Orchestration
Orchestration
Presentation
Data Data
Calculation
Presentation User Interface
Layer
Application
Layer
Database
Layer
Classic Database SAP HANA Database