Académique Documents
Professionnel Documents
Culture Documents
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.
Introduction
Multiple Expectations and Key Players
SAP NetWeaver AS ABAP 7.4 meets all requirements
Scalable landscapes
Efficient operations
Integrated and simplified Build on existing ABAP skills and
Lifecycle Management knowhow
Integrated developer experience: ABAP,
SAP HANA, SAPUI5, SAP NetWeaver
Cloud
SAP NetWeaver Application Server ABAP 7.4
Whats in it for you ?
Management
& Integration
Connectivity
Gateway
Lifecycle
Security
in Eclipse
SAP Business Suite powered by SAP SAP NetWeaver BW powered by develop completely new applications
HANA available since January 2013 SAP HANA available since (often running side-by-side with SAP
November 2011 Business Suite)
transition existing ABAP custom
developments to SAP HANA significant new features for specifically design the applications for
Enterprise Data Warehousing / Big leveraging SAP HANA
optimize and develop new add-ons
Data avaiable since December 2013
for SAP Business Suite
ABAP custom developments in
context of SAP NetWeaver BW
based on ABAP 7.4 = the to-go release for all SAP HANA based
ABAP applications
How can my ABAP code benefit from SAP HANA?
The new paradigm
Calculation
AS ABAP
SAP HANA
Database
Calculation
1. Detect
Execute Performance measurements
Analyze and prioritize Detect
2. Optimize Optimi
Use new features for Optimizations on ze
existing code
Innovate
3. Innovate
Use new features, resources and possibilities
to enhance your business
ABAP 7.4
Best in class for End-2-End Development
Demo
ABAP for HANA End-2-End App
An End-2-End Example
App Architecture
Frontend
Fiori App Modern Browser for Javascript &
HTML 5
Fault-tolerant value
helps (using HANA
Analytical side-panels
fault-tolerant text
using advanced HANA
search)
capabilities
Navigate through
large data sets using
ALV
with Integrated Data
Access (ALV on Accelerate data access
HANA) by pushing operations to
SAP HANA
What changed:
Interface
Only select data to be displayed
User
Perform aggregations, grouping,
sorting and paging in the db
Declare constraints on data
AS ABAP
(e.g. required authorizations,
ranges, or complex conditions)
Experience:
Result is retrieved much faster Classical New ALV
ALV IDA
Reduced memory consumption
No truncation of selected data
HANA
SAP
Available in SAP GUI and Floorplan Manager
Demo
ALV IDA
Code Pushdown starts with Open SQL!
Open SQL
Open SQL Extensions in ABAP 7.4
Less Restrictions More Freedom!
Aggregate functions
Operators like BETWEEN or > SELECT so~currency_code,
so~gross_amount,
can be used for comparisons bp~company_name,
CASE so~delivery_status
And more WHEN ' ' THEN 'OPEN'
WHEN 'D' THEN 'DELIVERED'
ELSE so~delivery_status
Extensively expressions- END
enabled
FROM snwd_so AS so
RIGHT OUTER JOIN snwd_bpa AS bp
ON so~buyer_guid = bp~node_key
INTO TABLE @lt_advanced.
Open SQL Extensions in ABAP 7.4
Whats New in Open SQL? (2/2)
SQL Calculatio
Any Other SQLScript
Engine n Engine
Database
Select Name
list list
Joins
built-in
built-in
functio
functions
ns
And many more
Diverse annotations
Alias Unions
Associations
Where Case
clause statement Path expressions
View on View Entity
Standard ABAP class methods are used as containers for the implementation of AMDPs
Marker
interface for
HDB
CLASS CL_AMDP_SAMPLE DEFINITION.
only ABAP PUBLIC SECTION.
code possible INTERFACES IF_AMDP_MARKER_HDB.
METHODS method_1
IMPORTING it_param TYPE type1
EXPORTING et_param TYPE type2.
specific parameter
METHODS method_2 interface required
IMPORTING VALUE(it_param) TYPE type1
EXPORTING VALUE(et_param) TYPE type2.
ABAP or SQLScript CHANGING VALUE(ch_param) TYPE type3
code possible
ENDCLASS.
AMDP on HANA at a Glance - Class Implementation
Whether AMDP or ABAP method? The Decision is taken in the method implementation!
Only if ABAP code relies on technical specifics of the old database, ABAP code changes
might be necessary
Optimize Custom Code for SAP HANA
Tooling
How can I find the ABAP code which shall be optimized or which
has potential for massive acceleration using code push down to SAP HANA
In general no changes are necessary if your SQL code follows the golden
Open SQL rules
Use static checks to find SQL patterns that violate the golden Open SQL
rules
Add runtime performance data from production to rank the findings and to
find potential for massive acceleration
Example: A productive ERP System
with 6000 concurrent users
Where to start an
optimization?
Find tunable Custom ABAP Code efficiently
Enhanced Code scans such as ABAP Test Cockpit and Code Inspector
finding critical open SQL statements in your custom code
Which open SQL statements are
not HANA-compliant?
- Complete check
3
coverage
- Prioritized worklist for
performance
Development Efficient analysis with improvement
/ Q- System SQL Performance Tuning Worklist
Combined View with flexible Navigation Options
Transaction SWLT
(1) Ranked worklist
You want to migrate to SAP Business Suite on SAP HANA, and ensure that your in-
house ABAP developments meet the requirements of the HANA database? With this
service, we can help you.
Service# 50119018
Outlook & more information
SAP NetWeaver AS ABAP 7.4 on SAP HANA
Where the Journey is going to
LM & Operations
Code Pushdown Code Services Improved Operations
HANA
Type harmonization Co-Deployment
CDS views Aligned HA setup
Database procedures Zero Downtime Mgmt
and functions Workload Mgmt
SAP CodeJam
Accelerate your business Add competitive advantage through Extend your ROI on existing
processes completely new scenarios investments
BEST PRACTICES
Learn about toolset for optimizing your ABAP code
for SAP HANA