SlideShare a Scribd company logo
1 of 30
#HANATechNight
Sören Schlegel
UNLEASH THE
BEAST
© CONSILIO GmbH
• https://www.linkedin.com/in/soeren-schlegel-55171bb4/
• https://twitter.com/SoSchlegel87
• https://www.xing.com/profile/Soeren_Schlegel2/cv
• https://www.consilio-gmbh.de/
2
WHO AM I?
© CONSILIO GmbH
What‘s the beast?
Look into the Past
Back to the Future
3
AGENDA
© CONSILIO GmbH
WHAT‘S S/4HANA?
4
© CONSILIO GmbH
CODE TO DATA
5
© CONSILIO GmbH
A LOT OF LOGIC TO THE DATABASE?
6
© CONSILIO GmbH
What‘s the beast?
Look into the Past
Back to the Future
7
AGENDA
© CONSILIO GmbH
BRINGING HANA AND ABAP TOGETHER
8
© CONSILIO GmbH
APPROACHS AS ABAP < 7.4 SP02
9
SAPHANAASABAP
SAP HANA
Views
Stored
Procedures
Consume using
native SQL
Consume using
native SQL
LM
transport
SAP HANA
Transport
Container
Delivery Unit
© CONSILIO GmbH
CONSUMING STORED PROCEDURES
10
© CONSILIO GmbH
CONSUMING STORED PROCEDURES
11
© CONSILIO GmbH 12
© CONSILIO GmbH
APPROACHS AS ABAP ≥ 7.4 SP02
13
SAPHANAASABAP
SAP HANA
Views
Stored
Procedures
LM
transport
SAP HANA
Transport
Container
Delivery Unit
External Views
expose
Stored
Procedure
Proxy
expose
© CONSILIO GmbH
USING DATABASE PROCEDURE PROXIES
14
© CONSILIO GmbH 15
© CONSILIO GmbH
What‘s the beast?
Look into the Past
Back to the Future
16
AGENDA
© CONSILIO GmbH
APPROACHS AS ABAP ≥ 7.4 SP05
17
SAPHANAASABAP
SAP HANA
Views
Stored
Procedures
LM
Standard ABAP
Transport (CTS)
CDS Vies
deploy
AMDP
deploy
© CONSILIO GmbH 18
CREATING AMDP - DEFINITION
© CONSILIO GmbH 19
CREATING AMDP - IMPLEMENTATION
© CONSILIO GmbH
SEARCH FOR AMDP
T-Code: DBA-Cockpit
© CONSILIO GmbH 21
CDS VS. HANA VIEWS
• CDS Views are enough for 95% of
Demands
• „real“ HANA Views are more powerful!
© CONSILIO GmbH
• CDS-Views are the Core Development Objects!
• Used by:
• OData
• BOPF / RAP
22
S/4HANA AND CDS
© CONSILIO GmbH
Bring CDS and AMDP
together!
23
MORE POWERFUL CDS?
© CONSILIO GmbH 24
HOW DOES THIS WORK?
© CONSILIO GmbH 25
CREATING AMDP – TABLE FUNCTION DEFINITION
© CONSILIO GmbH 26
CREATING AMDP – TABLE FUNCTION IMPLEMENTATION
© CONSILIO GmbH 27
PERFORMANCE?
© CONSILIO GmbH 28
EXECUTION PLAN
© CONSILIO GmbH 29
RECAP
• HANA offers a lot of Power  Use it!
• Try to avoid multiple Lifecycles
• Use Code-Pushdown via
• CDS
• Better ABAP SQL
• AMDP
• AMDP + CDS  Table Functions
• Do the right things right!
VIELEN DANK
FÜR IHRE AUFMERKSAMKEIT!
Sören Schlegel
Managing Consultant
CONSILIO GmbH
Einsteinring 22 | 85609 Aschheim
soeren.schlegel@consilio-gmbh.de

More Related Content

Similar to Unleash the beast

SplunkLive! Zurich 2017 - Splunk Add-ons and Alerts
SplunkLive! Zurich 2017 - Splunk Add-ons and AlertsSplunkLive! Zurich 2017 - Splunk Add-ons and Alerts
SplunkLive! Zurich 2017 - Splunk Add-ons and Alerts
Splunk
 

Similar to Unleash the beast (20)

BethClip Pitch Deck 2017 for İnvestors
BethClip Pitch Deck 2017 for İnvestorsBethClip Pitch Deck 2017 for İnvestors
BethClip Pitch Deck 2017 for İnvestors
 
SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...
SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...
SkillsMatter June 2018: Java in the 21st Century: Are You Thinking Far Enough...
 
Power of SPL Workshop
Power of SPL WorkshopPower of SPL Workshop
Power of SPL Workshop
 
Machine Data 101
Machine Data 101Machine Data 101
Machine Data 101
 
Delivering New Visibility and Analytics for IT Operations
Delivering New Visibility and Analytics for IT OperationsDelivering New Visibility and Analytics for IT Operations
Delivering New Visibility and Analytics for IT Operations
 
SplunkLive! London 2017 - Splunk Enterprise for IT Troubleshooting
SplunkLive! London 2017 - Splunk Enterprise for IT TroubleshootingSplunkLive! London 2017 - Splunk Enterprise for IT Troubleshooting
SplunkLive! London 2017 - Splunk Enterprise for IT Troubleshooting
 
"Native App & Hybrid App, what is at stake?" by Olivier Berni
"Native App & Hybrid App, what is at stake?" by Olivier Berni"Native App & Hybrid App, what is at stake?" by Olivier Berni
"Native App & Hybrid App, what is at stake?" by Olivier Berni
 
SplunkLive! London 2017 - DevOps Powered by Splunk
SplunkLive! London 2017 - DevOps Powered by SplunkSplunkLive! London 2017 - DevOps Powered by Splunk
SplunkLive! London 2017 - DevOps Powered by Splunk
 
SAP Teched for Integration takeaway 2017
SAP Teched for Integration takeaway 2017SAP Teched for Integration takeaway 2017
SAP Teched for Integration takeaway 2017
 
SplunkLive! Zurich 2017 - Splunk Add-ons and Alerts
SplunkLive! Zurich 2017 - Splunk Add-ons and AlertsSplunkLive! Zurich 2017 - Splunk Add-ons and Alerts
SplunkLive! Zurich 2017 - Splunk Add-ons and Alerts
 
Future State of SEO 2017
Future State of SEO 2017 Future State of SEO 2017
Future State of SEO 2017
 
SEO 2017 Strategy & Presentation
SEO 2017 Strategy & PresentationSEO 2017 Strategy & Presentation
SEO 2017 Strategy & Presentation
 
Prince2 agile samplepaper_1_v4.0
Prince2 agile samplepaper_1_v4.0Prince2 agile samplepaper_1_v4.0
Prince2 agile samplepaper_1_v4.0
 
Splunk Discovery Day Milwaukee 9-14-17
Splunk Discovery Day Milwaukee 9-14-17Splunk Discovery Day Milwaukee 9-14-17
Splunk Discovery Day Milwaukee 9-14-17
 
GraphQL, The New Black?
GraphQL, The New Black?GraphQL, The New Black?
GraphQL, The New Black?
 
ScotSoft 2018 - A DevOps Story: 70k deployments a day
ScotSoft 2018 - A DevOps Story: 70k deployments a dayScotSoft 2018 - A DevOps Story: 70k deployments a day
ScotSoft 2018 - A DevOps Story: 70k deployments a day
 
Flink Forward San Francisco 2019: Using Flink to inspect live data as it flow...
Flink Forward San Francisco 2019: Using Flink to inspect live data as it flow...Flink Forward San Francisco 2019: Using Flink to inspect live data as it flow...
Flink Forward San Francisco 2019: Using Flink to inspect live data as it flow...
 
Snowflake_Template_light-2019.pptx
Snowflake_Template_light-2019.pptxSnowflake_Template_light-2019.pptx
Snowflake_Template_light-2019.pptx
 
Snowflake_Template_light-2019.pptx
Snowflake_Template_light-2019.pptxSnowflake_Template_light-2019.pptx
Snowflake_Template_light-2019.pptx
 
dmexco 2014 Speakers Corner - SEO for International and Multilingual Websites...
dmexco 2014 Speakers Corner - SEO for International and Multilingual Websites...dmexco 2014 Speakers Corner - SEO for International and Multilingual Websites...
dmexco 2014 Speakers Corner - SEO for International and Multilingual Websites...
 

Recently uploaded

Recently uploaded (20)

The Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion ProductionThe Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion Production
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024
 
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
 
Malaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptxMalaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptx
 
Weeding your micro service landscape.pdf
Weeding your micro service landscape.pdfWeeding your micro service landscape.pdf
Weeding your micro service landscape.pdf
 
SQL Injection Introduction and Prevention
SQL Injection Introduction and PreventionSQL Injection Introduction and Prevention
SQL Injection Introduction and Prevention
 
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
 
architecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdfarchitecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdf
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdf
 
The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test Automation
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand
 
Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdfMicrosoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 
The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)
 

Unleash the beast