You are on page 1of 45

SAP S/4HANA Extensibility – Porting ABAP add-ons to

SAP Cloud Platform


Best Practices for SAP Cloud Platform Partners
Wolfgang Weiss und Werner Wolf, SAP Cloud Platform Product Management, SAP
May 18, 2017
Agenda

SAP S/4HANA and SAP Cloud Platform Overview

SAP S/4HANA Extensibility: Best Practices

SAP S/4HANA Extensibility: Recommendations and Summary

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 2


SAP S/4HANA and SAP Cloud Platform
Overview
DIGITAL BUSINESS FRAMEWORK 2.0

Customer Workforce
INDUSTRY
Experience Engagement

Digital Core
MACHINE LEARNING APIs

Business Intelligent
Transactions Insights

BLOCKCHAIN SECURITY

IoT Spend
& Supply Chain Management

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 4


SAP‘s Digital Transformation Platform

SAP Fiori

Customer
SAP Cloud Specific
Business Applications and 3rd Party
Object Cloud Applications
and Digital
Boardroom
SAP API Business Hub
Business Services UX Services Mobile Services ML Services IoT Services

SAP
SAP S/4 HANA BW/4 HANA SAP Cloud Platform

SAP HANA Vora

Big Data Cloud (Altiscale)


Customers & Partners Differentiate through Extensions

SAP Fiori

Customer
SAP Cloud Specific
Business Applications and 3rd Party
Object Cloud Applications
and Digital
Boardroom

SAP
SAP S/4 HANA BW/4 HANA SAP Cloud Platform

SAP HANA Vora

Big Data Cloud (Altiscale)


Swarovski Loyalty App

Why did Swarovski


choose SAP Cloud
Platform?
 Shared infrastructure
 No impact to internal
Systems
 B2B/B2C User ≠ SU01
 Collaboration with partners
 Patching

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 7


Klöckner & Co: Transportation planning implemented in 6 weeks on SAP
Cloud Platform

link to youtube
(klöckner & co example starts minute
32:50,language German)

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 8


SAP Cloud Platform
The essential element to differentiate your business

6,580+ 800+ 1,350+


SAP Cloud Platform Partners building apps on Apps available on the
customers SAP HANA Cloud Platform SAP App Center

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 9


The Road to SAP S/4HANA and SAP Cloud Platform

New opportunities
Generate Combine
competitive Solutions &
advantage Technology
with for new
Leonardo business

Extend with SAP Cloud Platform


Integrate Seamless
Identify use Start today
external transition to
cases with with
users, S/4 with
decision ERP/Suite
solutions stable logic
matrix backend
and data

Innovate existing custom & partner code


Increase
Check
Adapt Use Fiori Security
Remove S/4HANA
custom for 1st class level of
waste changes
code UX custom
(remotely)
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ code 10
• Benefit from • De-coupled approach
innovations at SAP (whitelisted API’s etc.)
HANA, S/4HANA and adds flexibility for
Cloud Platform upgrades and
custom/partner driven
innovation

Innovations De-coupling

Development Extend
productivity market

• High development • Quickly extend your


productivity based on addressable market:
tools, re-use of Start today on SAP
business services and Cloud Platform and
first class integration connect to multiple
with SAP solutions backend releases
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 11
SAP S/4HANA Extensibility
Best Practices
SAP S/4HANA System conversion
Custom code related process steps

Prepare Phase Realize Phase

t1 t2 t3 t4 t5 t6
t
System Maintenance Custom Code Software Update Application specific
Pre-Checks
Requirements Planner Migration Worklist Manager (SUM) follow-on activities

Unicode Conversion Database Migration


Simplification List
SAP S/4HANA, on-premise edition Software Update

Data Conversion

SAP
Custom code Functional Performance
S/4HANA
evaluation adaptation tuning
checks

Remove obsolete code Check SAP S/4HANA Adapt custom code to SAP Tune performance of critical
based on Usage Procedure related changes HANA and SAP S/4HANA database queries
Log (UPL/SCMON) (Simplification DB) related changes
Check SAP HANA related
changes (NO ORDER)
Adapt modifications in
SPDD/SPAU i Find more about custom code
process on SAP Community
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 13
SAP S/4HANA Extensibility Scenarios

Fiori Lauchpad
I6 Custom UI
Custom User User Interface
Interface (Fiori) (Fiori)
I1 UI Adaptation
Frontend
Backend: ABAP Server

OData Service OData


OData
Service
ServiceOData
I5 Custom Business Objects

Custom Fields

Application Application I3 Analytics / Forms


(ABAP | CDS) (ABAP | CDS)
I4 Business Logic
I2

Database Table Database Table

SAP In-App Extensibility


© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 14
SAP S/4HANA Key User Extensibility: UI Flexibility

Runtime Authoring in UI Adaptation


Mode
• Hide fields in a form, table, or filter
• Rename labels
• Add field to UI from field repository
• Move form field or UI block
• Define new filter and table variants

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 15


SAP S/4HANA Key User Extensibility: Custom Fields

UI Adaptation Mode Report Adaptation Forms Designer E-Mail Template Designer

Maintain
Custom Fields

Custom Fields
OData Service
• Definition of custom fields
• Manage the usages of a
Application custom field such as other
UIs, reports, forms, service
interfaces, processes (data
Database Table flows), search.
Video link
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 16
SAP S/4HANA Key User Extensibility: Custom Business Logic

Web editor with key user experience


• Easy exploration of APIs, key user documentation
• Syntax check, syntax highlighting, code
completion
• Draft (sandboxing) / published, testing included
• Restricted ABAP:
• Robustness / security / data consistency
• For example, the following statements are not
allowed: any DB operation except selects from
released views, tweaking new tasks, dynamic
programming, code generation
• Simplicity: obsolete ABAP statements are
Video link removed from the syntax
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 17
S/4HANA Key User Extensibility: Custom Business Logic

Custom Business Objects


• Table extensibility: New (standalone) custom
tables that are not child tables of SAP tables
• CDS views and OData services and UI to
feed data through a UI or data load from
other customer systems
• Creating a new application with simple
business logic
• Business object node extensibility: add
tables to SAP business contexts in a 1:n
relation (future scope)

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 18


S/4HANA Key User Extensibility: Custom Business Logic

Object Definition
• Data structure
• Business logic in events with sandbox testing
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 19
SAP S/4HANA Key User Extensibility: Forms Extensibility

Adobe Forms Designer: Create a new form template


• as a copy of a SAP standard form
• based on an existing data source (ODATA service)
• based on an extended ODATA service using already existing
fields and associations from published CDS views
• based on a new data source (ODATA service)

E-Mail Template Designer Create a new e-mail template


• based on an existing data source (CDS View)
• based on an extended SAP data source (CDS View)
• based on a new data source (CDS View)

Video link
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 20
SAP S/4HANA Key User Extensibility: Analytics Extensibility

Query Builder

• Copy a query from a SAP delivered standard


analytical query
• Add or remove or customize field defined in the query
(defining new labels for a field, display data as key or
text, show or hide result rows etc.)
• Add or remove filters (pre-configured fixed value filters
or user input values filters)
• Create parameters to read the values from the user
• Create custom fields such as restricted measures or
calculated measures
• Testing included: Preview the results by executing the
report

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 21


Lifecycle Management

Public Cloud
• SAP updates:
• All extensibility capabilities offered to customers must continue to work
after an SAP software update without manual work;
• in other words: SAP software updates do not depend on adaptations by
the customer.
• Transport of custom objects:
• transport from the test to the production system
• performed by the key user without interaction with the service provider
• outside of the maintenance window of the service provider.
Key User Fiori App for transport of custom objects (cloud)
On Premise
• Customer manages SAP updates and customer transport with
“classical” transport tools (correction and transport system, CTS)

Video link
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 22
SAP S/4HANA Extensibility Scenarios

Fiori Lauchpad Fiori Lauchpad


Custom UI / HCP S1
Custom User User Interface Custom User
Interface (Fiori) (Fiori) Interface (Fiori)
Frontend Frontend
Backend: ABAP Server Backend: SAP CP

OData Service OData Service OData OData Service

HCP application
HCP app. w/ cust. serv. S3

Application Application Application


(ABAP | CDS) (ABAP | CDS) Biz logic w/ HCP serv. S4 (Java | JS | CDS)

S2
Database Table Database Table Database Table
Data Replication S5
SAP In-App Extensibility Side-bySide Extensibility
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 23
Whitelisted API

All API whitelist scenarios are documented in the API Hub


APIs for S/4HANA Enterprise Management Cloud

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 24


SAP S/4HANA Extensibility
Recommendations and Summary
Decision Matrix
SAP S/4HANA SAP Cloud Platform

Consumer, External,
Target Group S/4 User, Employee
S/4 User, Employee
User
"Freestyle“, mobile,
Design Pattern based
Web App, Pattern based
UI
Joined Analytics with S/4HANA Object X
Heavy usage of S/4HANA only data X
1 0 101
1
Build Data Hub S/4 internal usage SAP / non-SAP
01
0
1 0 0
1
0
1 1 Big Data (e.g IoT) X
Data
Distributed scenarios X
Integrate other Cloud Solutions X
Stand alone App / occasional S/4HANA X* X*
Functions Build calculation services X* X*
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 26
* DETAILS BELOW
• Benefit from • De-coupled approach
innovations at SAP (whitelisted API’s etc.)
Summary HANA, S/4HANA and adds flexibility for
Cloud Platform upgrades and
custom/partner driven
innovation

Innovations De-coupling

Development Extend
productivity market

• High development • Quickly extend your


productivity based on addressable market:
tools, re-use of Start today on SAP
business services and Cloud Platform and
first class integration connect to multiple
with SAP solutions backend releases
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 27
Thank you.
Contact information:
Werner Wolf
Wolfgang Weiss
SAP SE
Product Management SAP Cloud Platform
werner.wolf@sap.com
wolfgang.weiss@sap.com
Act now!
Turn the cloud trend based
on SAP’s PaaS into
business opportunities

Please contribute and share additional


topics and your own best practices ulrike.fempel@sap.com

If not yet in SAP PartnerEdge – Build:


Visit the partner center for more details
www.sapadpc.com
and sign-up now!
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 29
Appendix
CUSTOM FIELDS OR CUSTOM TABLES IN
JOINED REPORTING WITH S/4HANA DATA

Contact Joined Reporting


Ext Field

Contact UI
Custom
Business
Object
Segmentation

In-App SAP
NEW S/4HANA PROCESS STEP (BEFORE) (1)

Product Sales
Order
Ext Field

Bonus Management Financials

Bonus
Entitlement
Financial
Posting
Bonus
Plan

In-App SAP
NEW S/4HANA PROCESS STEP (BEFORE) (2)

X X

Bonus Management
Product Sales Custom CDS View Bonus
Order OData Service Entitlement
Ext Field

Bonus
Plan
Financials

Financial
Posting

Side-by-Side
In-App SAP
WEB APPLICATION FOR TARGET GROUP CONSUMER

X X

Contact Interaction Contact us

Ext Field

Whitelisted
OData Service
Ext Field

Side-by-Side
In-App SAP
BUILD DATA HUB (1)

Custom
Custom
Business
Custom
Business
Object
Custom
Business
Object
Business Hybris Marketing
Object
Object

Segmentation

In-App SAP
BUILD DATA HUB (2)
Sensor
data

X
Customer
engagement

Production Promotion
data offering

Side-by-Side
In-App SAP
APPROVAL FOR S/4HANA PROCESS STEP

X X
Employee Data

Approval Step

Payroll

Side-by-Side
In-App SAP
Excurse: Platform-as-a-Service
Separation of Responsibilities
Infrastructure-as-a- Platform-as-a- Software-as-a-
On-Premise
Service Service Service

Applications Applications Applications Applications


Data Data Data Data
Runtime Runtime Runtime Runtime
You manage

Middleware Middleware Middleware Middleware

Vendor
Operating System Operating System Operating System Operating System

Vendor
Virtualization Virtualization Virtualization Virtualization
Vendor

Server Server Server Server


Storage Storage Storage Storage
Networking Networking Networking Networking

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 38


SAP Cloud Platform
Technical and Business Services
App Center New Apps / App Extensions

SAP Cloud Platform (PaaS)


On-Premises /
SaaS
Managed 2

Cloud
Service Enablement | API Management

SAP S/4HANA SAP S/4HANA


Runtimes Dev
Business Services Commerce1 Loyalty Mgmt2 Billing2
& SAP SuccessFactors
SAP Business Suite
Ops
Java SAP Cloud for
SAP Business
Warehouse
Platform Services Integration IoT Security Analytics
Customer
XSJS
UX Mobile Collaboration SAP Ariba
HTML5
Concur
Node.js2
Data & Storage SAP ASE Redis2
Big Data Services SAP Fieldglass
Other2 Services HANA / Vora2 Hadoop2
PostgreSQL2 MongoDB2 SAP Business
ByDesign

2 SAP Data Centers


IaaS & Virtual Machines Partner Data Centers2 Customer Data Centers2

1) beta functionality, 2) planned innovations / future direction


© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 39
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 40
A high level process view of the PostNL landscape

Commerce Rating and Billing Business Support

Financial
Consumer Portal
Administration

Planning and
Business Portal Billing and Invoicing
Consolidation
Business Partners

Contract & Service Human Resource


Event Based Rating
Management Management

Logistical Order Logistical Network


Event Management Workforce planning
Management routing
Logistics

Warehouse Point of Sale Resourceplanning


Field Services
Management transactions and scheduling

41
SAP Business Solutions support Rating, Billing, Finance and HR

SAP Hybris Billing SAP Business ByDesign


• Runs in SAP Hana Enterprise Cloud • Is SaaS
• SAP Mediation • One tenant for domestic PostNL
• SAP Convergent Charging • +/- 40 different legal entities
• SAP Convergent Invoicing
• SAP CRM

SAP BO Planning and Consolidation


• Runs in SAP Hana Enterprise Cloud

SAP SuccessFactors
• Is SaaS
• Will include SAP Payroll

SAP Concur
• Is SaaS

Operational Project
42
Side-by-Side Extensibility: Big Picture & Roadmap

1. Business artefacts on LoB solutions (SAP S/4HANA, SuccessFactors, Hybris etc.) are available and can be
consumed in SAP Cloud Platform “in the same way” as in their home area
2. Qualities (Decoupling, scaling, resilience, etc, …) achieved via configuration and not implementation
SAP LoB Solutions Integration SAP Cloud Platform
UI Integration
Fiori UI One Launchpad | SSO | UI Extensibility Fiori UI
User Integration
Users & Roles Users & Roles
Catalog | Federation | Provisioning | Authentication | SSO | Authorization

Rules & Workflow


Business Rules Business Rules
Catalog | Tools | Replication | Synchronization

Process Integration
Business API Business API
Catalog | Tools | API Management | CDS | OData

Events Integration
Business Events Business Events
Catalog | Tools | Messaging | Notification

Data Integration
Business Data Business Data
Catalog | Tools | Replication | Virtualization | VDM | CDS
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 43
Internet-of-Things on SAP Cloud Platform
Behind the scenes

Machine Cloud (SAP)

IoT Applications
End Customer Business owner
(SAP, Partner and
(On site) (SAP Customer)
Custom apps)
Machine SAP Cloud Platform SAP Cloud Platform Process Business Suite
SAP Integration IoT Services Integration Integration Systems
Device Connector
(ERP, CRM , etc.)

SAP Cloud Platform

Data Processing
In-Memory
Engines
Extended Storage

Hadoop
Storage

Streaming

HANA Big Data Platform

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 44


Sample Customer Architecture

Mobile Apps
Analytics with SAP
SAP Fiori Launchpad (Central Cockpit) (WebApp, iOS SDK, Hybris
BOC
Driver Portal, ..)

User Interfaces / Applications Custom Applications

REST API
Services (Data, Analytics, Geo, etc.) Custom Services

Data Transformations Custom Data Transformations

Thing Data Model

Business Integration
Vehicle Communication

Vehicle Insights Services Customer CP Instance

SAP Cloud Platform


© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 45