Derek Johnson / Zane Connally / Sheldon Edelstein, SAP Labs, Inc.
October 2013
EA161
Consuming SAP HANA Predictive Functions with
SAP Business Planning and Consolidation
© 2013 SAP AG or an SAP affiliate company. 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.
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 3
Agenda
What is SAP Business Planning and Consolidation (BPC), Predicative Analytics (PA), and
HANA?
A high level overview of BPC, Predictive Analytics, and HANA.
Planning using SAP Predictive Analysis (using offline BPC data extracts)
BPC data extracts are imported/exported into the SAP Predictive Analytics tool for forecast creation.
Planning using SAP Predictive Analysis (accessing SAP HANA Online)
The ability to connect to a live HANA system is emphasized, focusing on accessing BPC data from a live HANA
system, executing predictive and filtering functions on BPC data, and writing a result set back into a live HANA
table.
Planning using BPC and SAP HANA PAL (Predictive Analytics Library)
Seamlessly execute HANA Predictive Analytics Library functions automatically and on demand via a Dashboard
in the BPC Web Admin interface.
Overview of BPC, Predictive
Analytics, and HANA
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 5
What is SAP Business Planning and Consolidation used for?
Financial reporting and analysis
Ad hoc
Variance analysis
Driver analysis (industry, growth, capacity, etc.)
Forecasting and consensus building
Rolling forecasts
Continuous planning
Collaboration
Business planning
Budgeting
Sales/revenue planning
Capital expenditure planning
Headcount/staffing
Expense planning
Cash flow/liquidity planning
Consolidation
Intercompany matching/reconciliation
Intercompany eliminations
Management roll-ups
Legal consolidation
Planning, budgeting, forecasting and financial consolidation in one application
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 6
47%
30%
23%
Financial Analyst time
Collecting and validating data
Administering the process
Providing value-added analysis
Less than a quarter of Finance’s time is being spent on providing
value-added analysis to the business!
Source: APQC. 2012
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 7
In-memory technology enables better planning and analysis
Tackles the Big Data challenge
Supports real-time planning and analysis
Enables cross functional detailed planning
Shrinks decision cycle-time
Enables cross functional Enterprise Business
Planning
Facilitates dynamic forecasting
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 8
SAP Business Planning and Consolidation, version for SAP
NetWeaver – Powered by SAP HANA
Reporting and Data Entry
Business Calculations
* All figures are based on best case scenario that we could build (reasonable test case) * A query optimization POC was introduced in the internal system. Similar code optimization will be introduced in the product in a later SP
200x improved query
performance
60x faster report
refresh
2.3x improved allocation
performance
2.4x faster driver-based
planning calculations
14x quicker input of large
data volumes
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 9
HANA Application Function Library
Real-Time Data
SAP Data Spatial Data
Spatial Data
Business Data
Spatial
Functions
Calc Model
/ Views
Text
Analysis
Geo-
Services Predictive
Functions
Non-SAP Data
Store, process,
manipulate, retrieve,
and share data
Unified Modeling
Platform
Predictive Analysis
Text Analysis
Geo-spatial (planned)
Optimized in-memory
processing
SAP HANA
Real-Time Data
OLTP Analytics Planning Predictive Text Spatial
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 10
Challenges
Forecasting
Key
Influencers
Trends
Anomalies
Relationships
How do historical sales, costs, key
performance metrics, and so on, translate to
future performance? How do predicted
results compare with goals?
What are the main influencers of customer satisfaction, customer churn, employee turnover, and so on, that impact success?
What are the trends: historical /
emerging, sudden step changes,
unusual numeric values that
impact the business?
What are the correlations in
the data? What are the
cross-sell and up-sell
opportunities?
What anomalies might
exist and conversely
what groupings or
clusters might exist for
specific analysis?
Predictive analytics examples
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 11
Extend your analytics capabilities
Analytics maturity
Co
mp
eti
ve
ad
van
tag
e
Sense & respond Predict & act
Raw
Data
Cleaned
Data
Standard
Reports
Ad Hoc
Reports &
OLAP
Generic
Predictive
Analytics
Predictive
Modeling
Optimization
What happened?
Why did it happen?
What will happen?
What is the best that
could happen?
The key is unlocking data to move decision making from sense and respond, to predict and act
Exercise Group 1 Planning using SAP Predictive Analysis
(using offline BPC data extracts)
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 13
Planning using SAP Predictive Analysis (using offline BPC data extracts)
SAP HANA
HANA Tables
supporting BPC
model
BW BPC BPC
Model
BI Reporting
EPM Reporting
ERP
1. In the first set of exercises, you will create
a flat file extract of BPC data
2. Import it into the SAP Predictive Analysis
application
3. Execute predictive algorithms to generate
a forecast
4. Enter the results into BPC using a web
input schedule SAP
Predictive
Analysis
Transaction
1
2
3
4
Exercise Group 2 Planning using SAP Predictive Analysis
(accessing SAP HANA Online)
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 15
Planning using SAP Predictive Analysis (accessing SAP HANA Online)
SAP HANA
HANA Tables
supporting BPC
model
BW BPC BPC
Model
BI Reporting
EPM Reporting
ERP
1.In this set of exercises, you will read the
BPC data directly from the supporting
HANA database tables, importing this
data directly into the SAP Predictive
Analysis application
2.Execute predictive algorithms to filter
and/or generate a forecast
3.Export the results to a table in HANA for
BI reporting or potentially inclusion into
the BPC dataset.
SAP
Predictive
Analysis
Transaction
1
2
3
Analytic View
Transient Provider
Composite Provider
not part
of today’s
workshop
Exercise Group 3 Planning using BPC and SAP HANA PAL
(Predictive Analytics Library)
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 17
Planning using BPC and SAP HANA PAL (Predictive Analytics Library)
SAP HANA
HANA Tables
supporting BPC
model
BW BPC BPC
Model
BI Reporting
EPM Reporting
ERP 1.In this exercise, you will use a BOBJ
Dashboard in the BPC web admin client
which executes an ABAP method
automatically via the BPC Write Back BAdI
2.The ABAP method will trigger a stored
procedure in HANA that calls the PAL
function
3.Forecast data generated by HANA
procedure is written to a HANA BW
schema table supporting a BW DSO
4.Forecast data in DSO and BPC Finance
data in InfoCube are UNIONed with the
system generated BPC MultiProvider
Transaction
1
2
3
4
HANA Table supporting
DSO model
DSO containing
generated
forecast
BPC Multi
Provider
Predictive functions
from HANA PAL
(Predictive Analytics
Library)
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 18
Further Information
Important SAP Notes
Note 1650957 - SAP HANA Database: Starting the Script Server
Note 1612696 - "Invalidated view" error when using analytical views
Note 1605168 - SAP HANA - Handling priviledges after upgrade to Revision 12
SQL Script
SAP HANA SQLScript Reference
SAP HANA SQL Reference Manual
Predictive Analytics Library
SAP HANA Academy Video Tutorials on how to use the PAL (Predictive Analytics Library)
SAP Help - PAL (Predictive Analysis Library)
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 19
Further Information
SAP Education and Certification Opportunities
www.sap.com/education
Watch SAP TechEd Online
www.sapteched.com/online
SAP Public Web
http://scn.sap.com/community/epm/planning-and-consolidation-for-netweaver
http://scn.sap.com/community/predictive-analysis
http://scn.sap.com/community/developer-center/hana
http://scn.sap.com/community/epm/planning-and-consolidation-for-netweaver/blog/2013/08/09/why-
you-need-sap-business-planning-and-consolidation-version-for-sap-netweaver--powered-by-sap-
hana-today
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 20
SAP TechEd Virtual Hands-on Workshops and SAP TechEd Online Continue your SAP TechEd education after the event!
SAP TechEd Virtual Hands-on Workshops
Access hands-on workshops post-event
Available January – March 2014
Complementary with your SAP TechEd registration
SAP TechEd Online
Access replays of keynotes, Demo Jam, SAP TechEd
LIVE interviews, select lecture sessions, and more!
View content only available online
http://saptechedhandson.sap.com/
http://sapteched.com/online
Feedback Please complete your session evaluation for EA161.
Derek Johnson [email protected]
Zane Connally [email protected]
Sheldon Edelstein [email protected]
Thanks for attending this SAP TechEd session.
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 22
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and
SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth
in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and
other countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.