s/4hana enterprise management - itml...s/4hana enterprise management voraussetzungen /...
TRANSCRIPT
S/4HANA Enterprise ManagementVoraussetzungen / Migrationspfad für Partner Add-OnsMarkus AndresSolution Center MEE
Introduction
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 3
The World is Changing QuicklyDigital Technologies are Everywhere
Augmented reality
Immersive visualization, e.g.showroom experience, maintenance/ assembly instructions
Internet of things/device interaction
Intelligently connect smart objects to link material and information flows
Advanced robotics
Autonomous, cooperating industrial robots with numerous integrated sensors
3D printing
Manufacture tailored products in smaller lots, more distributed/closer to point of sale/use
Big Data/Predictive analysis
Develop deep insights into supply chains & better forecast, e.g., demand and capacity
Autonomous transportation
Intelligent, autonomous systems, e.g., self-driving vehicles/trucks, unmanned areal vehicles (UAVs)
Shift to the cloud
Highly scalable software-as-a-service apps with remote storage and processing power
Ubiquitous connectivity
"Always-on" access to content and communication capabilities
Social, local, mobile
On-going engagement with customers and communities in a relevant and geo-contextual way
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 3
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 4
SAP S/4HANA, the next generation business suite
SAP S/4HANA build the next-generation business suite
» Innovative in-memory database» New architecture and data models» Renewed applications» New UI technology» Cloud & on-premise deployment models» Natively integrated
SAP S/4HANA is a new product line (it is not a legal successor of any SAP Business Suite product)
The classical SAP Business Suite & SAP ERP is a separate product line and will still be available.
SAP S/4HANACloud EditionSAP S/4HANA
On-premise Edition
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 5
SAP S/4HANA - The Big Picture
Modern Architecture New Design Smart Business
» People Centric
» Any Device
» Browser-Based
» Embedding Workflows
» Communication Enabling
» Decision Support
» Robust and Scalable
» Simple Data Structures
» Speed on Primary Data
» Single Source of Truth
» Flexible Consumption
» Non-Disruptive Journey
» Built for Scalability
» Automation & IoT» Cockpits with Exception-
Based Worklists» Embedded Analytics
» Simulation
» Prediction
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 6
SAP S/4HANA Suite Introducing the next generation core and lines of business solutions for the digital economy
The digital coreThe
digi
tal c
ore
SAP S/4HANA HUMAN RESOURCES
SAP S/4HANA MANUFACTURING
SAP S/4HANA SUPPLY CHAIN
SAP S/4HANA FINANCE
SAP S/4HANA SOURCING & PROCUREMENT
SAP S/4HANA SERVICE
SAP S/4HANA MARKETING AND COMMERCE
SAP S/4HANA SALES
SAP S/4HANA ASSET MANAGEMENT
SAP S/4HANA RESEARCH AND DEVELOPMENT
Streamlined procure to pay
Accelerated plan to product
Optimized order to cash
Enhanced request to
serviceCore finance Core human
resources
Enterprise Management
Building Blocks
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 10
SAP HANA Platform
SAP S/4HANA – The core for your digital journey
LIVE Business
INTELLIGENT
INTEGRATED SAP S/4HANA: Digital Core SAP HANA Cloud Platform
SAP Business Objects Cloud
…
Embedded Analytics
User Experience
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 11
SAP HANA: The Platform Powers the Digital Transformation
SAP HANA PLATFORMON-PREMISE | CLOUD | HYBRID
Web Server JavaScript
Fiori UX Graphic Modeler
Data Virtualization ELT & Replication
Application Services Integration & Quality Services
Columnar OLTP+OLAP
Multi-Core &Parallelization
Advanced Compression
Multi-tenancy
Multi-Tier Storage
Spatial Graph Predictive Search
Text Analytics
DataQuality
SeriesData
Business Functions
ALM
Processing Services
Database Services
Hadoop & Spark Integration
Streaming Analytics
Application Lifecycle Management
High Availability & Disaster Recovery
OpennessData Modeling
Remote DataSync
Admin & Security
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 12
Enterprise Search in SAP S/4HANA
Benefits• Efficient information access / user-centric discovery through a simple
user interface• Take advantage of real-time data for decision making• No additional costs or 3rd party systems
Key capabilities today• Full-text search for business objects and documents• Results ranking along business criteria, e.g. user’s organizational
context• Access to information across multiple systems; navigation along
object relations• Direct navigation into source systems/transactions• Infrastructure for modeling, administration, and monitoring of search
models
Planned Innovations• Document viewer • Integration with text analysis• Migration of Search Models to Open CDS documents • Semantic annotations in Open CDS Search Models to choose the
relevant search algorithm specific for the semantic of the attributes• Including geospatial data as search facets and for boosting• Natural language search
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 13
S/4HANA Simplifying the data model
SIMPLE DATA MODEL» Only main tables remaining, no redundancies» Clear separation of master data from transactional data» Reduction of memory footprint
THROUGHPUT INCREASE» INSERT only on database level (MM-IM),
no locks for standard price valuation
PRINCIPLE OF ONE» Only one valuation method (Material Ledger)
instead of 2 (IM + ML)» Flexible rebate management instead of
cumbersome and expensive redundancies* Actual Data only
Not displayed in lower part: Profit Center Accounting, Cost based CO-PA, Reconciliation Ledger
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 14
Simplifications are the enabler for throughput increase of 10 up to 25
0
200
400
600
800
0 20 40 60 80 100
Thro
ughp
ut
(item
s/se
c)
# Parallel Processes
SAP Business Suite on SAP HANA
Negative stock not allowed No database locks any more
Automotive scenario test case Reporting point backflush
with transfer posting of 100 items each
60% common partslarge OEM back-flush requirement (example)
Parallel postings of large material documents
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 15
Core Data Services (CDS) and Virtual Data Model (VDM)
Application(ABAP | CDS)
Database Table
OData Service
User Interface(Fiori)
Fiori Lauchpad
SAP Virtual Data Model (VDM)The VDM represents the simplified and harmonized business oriented semantically enriched data model of the suite. “Virtual” refers to the fact that the VDM semantical model may deviate from the historically grown persistent model of database tables to make it simpler and easier to understand.There are currently two different implementation approaches:• In SAP S/4HANA the VDM is established by
specifically classified/annotated ABAP CDS Views.
• in HanaLive the VDM is implemented by calculation views.
CDS (Core Data Services)CDS is an enhancement of SQL which provides you with a data definition language (DDL) for defining semantically rich database tables/views (CDS entities) in the database. The enhancements include annotations, associations, and expressions
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 16
Core Data Services (CDS) and Virtual Data Model (VDM)
Transactional Apps (OLTP) Analytical Apps (OLTP)
Exposure of business dataStandardized terms Modelled based on business semanticsProjection of DB tableCore entities withoutdata redundancy
Derived from basic viewsredundant data
Domain-specific views for transactional OData services, analytics, search, …
Private viewsOptional, technical helper views
CDS “Query” View
OData
User Interface (Fiori)
Database Table
OData Service
User Interface (Fiori)
Fiori Launchpad
CDS “Cube” ViewPrivate View(s)
CDS “Basic” ViewPrivate View(s)
CDS “Consumption” ViewPrivate View(s)
CDS “Transact. Object” ViewPrivate View(s)
ABAP
read readwrite
INA
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 17
SAP S/4HANA embedded analyticsSolution OverviewSAP S/4HANA embedded analytics:
Delivers contextualized analytics for SAP S/4HANA embedded within the context of work and tailored to business needs and roles
Consists of Virtual Data Models (based on CDS Views) covering role based operational reports for lines of business
Comes with tools for Business Users, Power Users and Developers to analyze data and manage the lifecycle of reports and KPIs
SAP Highlights Release 1610 on premise:
Continuous extension of the Virtual Data Model more than 6000 views and more than 120 new Embedded Applications (KPI’s) planned
View Browser Fiori Application to show all delivered Views
SAP Smart Business and Analysis Path Framework Integration
BUSINESS USERS POWER USERS
SAP S/4HANAVirtual Data Models
QUERY DESIGNER
SAP FIORI KPI MODELER
ABAP FOR ECLIPSE
DEVELOPERS
FRONTEND
BACKEND
Spend of contract
Incoming Sales Order ….PO Avg. Delivery
TimeNon-managed
purchasing spend
embedded analytics
*CDS: Core Data Service
SAP SMART BUSINESS COCKPITS
QUERY/VIEW BROWSER
MULTI-DIMENSIONAL REPORTS
ANALYTICAL FIORI APPS
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 18
User Experience for SAP S/4HANASAP Fiori Design Evolution
SAP Fiori 2.0 is mandatory for SAP S/4HANA 1610 onwards – with common user experience
Me-area NotificationsWorkspace
Me-AreaReplacing former shell header menuShows recent activities now
NotificationsShown in separate viewport that opens on clicking repective iconin shell header
LinksOption to show apps as links in a tile group
Anchor bar navigationReplacing group menu
Shell headerRevised, launching notification andme-are viewports and Co-Pilot window.Provides navigation menu when app islaunched by clicking on title
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 19
High level stack architecture SAP S/4HANALogical view
This is the current state of planning and may be changed by SAP at any time.
SAP S/4HANA Architecture differs from the classical Business Suite architecture Data structures
(Compatibility provided through Core Data Services)
Application engines Launchpad / SAP Fiori
(SAPGUI for Windows still available for compatibility reasons !!!)
SAP
WEB
DIS
PATC
HER
SAP
MO
BILE
PL
ATFO
RM
SAP HANA
Database Tables
S/4HANA ABAP
Analytics
CDS View
SAP Gateway
Fiori Shell
Fiori Apps(UI5)
Fiori Launchpad(Homepage) Search
(Enterprise-)Search
planned
Transactional Logic
SAP Screen PersonasWeb GUI for SAP
Web Dynpro
oDatahttps oData INA
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 20
Add-on challenges with S/4HANA
• Can I use my existing custom fields in SAP S/4HANA?Are all my table extensions still valid ?
• Is the logic still used / usable ?
• Do we have a proper MVC implementation ?Readiness for addl. user interfaces ?
• How will I support old and new customers ?
• Do they work in SAP S/4HANA Analytics?
• ….
Application
Database
User Interface
Dev Infrastructure
Delivery
Transition paths
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 22
SAP S/4HANAConversion Paths to move to SAP S/4HANA – Details (1/2)
AnyDB or SAP HANA
SAP ERP 6.0, EHP xx
SAP HANA
SAP Simple Finance, on-premise edition 1503
SAP HANA
SAP S/4HANA Finance 1605
SAP HANA
SAP S/4HANA, on-premise edition 1511
SAP HANA
SAP S/4HANA 1610
SAP Business Suite SAP S/4HANA product family
1
2
3
4Start Release Target Release Availability Remarks
SAP ECC 6.0 EHP 0-7SAP Simple Finance
on-premise edition 1503available since:
Q1/2015
Migration to SAP HANA DB [if required], Installation of
Software [EHP7 + sFIN]) 1
SAP ECC 6.0 EHP 0-8SAP S/4HANA Finance 1605
available since: Q2/2016
Migration to SAP HANA DB [if required], Installation of
Software [EHP8 + sFIN]) 2
SAP ECC 6.0 EHP 0-7SAP S/4HANA, on-
premise edition 1511 available since:
Q4/2015
Migration to SAP HANA DB [if required], Installation of
S4CORE Software3
SAP ECC 6.0 EHP 0-8SAP S/4HANA 1610 planned for:
Q4/2016
Migration to SAP HANA DB [if required], Installation of
S4CORE Software4
System Conversion from SAP S/4Finance to SAP S/4HANA
Upgrade within the SAP S/4HANA product family
System Conversion from SAP Business Suite to SAP S/4HANA
Planned
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 23
SAP S/4HANAConversion Paths to move to SAP S/4HANA – Details (2/2)
SAP HANA
SAP Simple Finance, on-premise edition 1503
SAP HANA
SAP S/4HANA Finance 1605
SAP HANA
SAP S/4HANA, on-premise edition 1511
SAP HANA
SAP S/4HANA 1610
SAP S/4HANA family
8
956Start Release Target Release Availability Remarks
SAP Simple Finance on-premise edition
1503
SAP S/4HANA, on-premise edition 1511
available since: Q4/2015
Installation of S4CORE Software
5
SAP S/4HANA Finance,on-premise edition
1605
SAP S/4HANA 1610 planned for: Q4/2016
6
SAP Simple Finance on-premise edition
1503
SAP S/4HANA 1610 planned for: Q4/2016
7
SAP Simple Finance on-premise edition
1503
SAP S/4HANA Finance 1605
available sinceQ2/2016
8
AnyDB or SAP HANA
SAP ERP 6.0, EHP xx
SAP Business Suite
7
SAP S/4HANA, on-premise edition 1511
SAP S/4HANA 1610 9
Installation of S4CORE Software
Installation of S4CORE Software
Installation of sFINSoftware (Upgrade)
planned for Q4/2016
InstallationSoftware (Upgrade)
System Conversion from SAP S/4Finance to SAP S/4HANA
Upgrade within the SAP S/4HANA product family
System Conversion from SAP Business Suite to SAP S/4HANA
Planned
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 24
Discovery / Prepare Phase Realize Phase
tt2
Maintenance Planner
Pre-Checks Custom Code Migration Worklist
Software Update Manager (SUM)
Application specific follow-on activities
t3 t4 t5 t6
Simplification List SAP S/4HANA, on-premise edition
SAP S/4HANA System Conversion: Basic Sequence
Database Migration
Software Update
Data Conversion
System Requirements
t1
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 25
SAP S/4HANA: Releases, FPS, SPS
Initial Shipment
Feature Package Stack 01
Feature Package Stack 02
Support Package Stack 03
Initial Shipment
…
… …
RTC PlannedQ4/2016
RTC PlannedQ4/2016
UpgradeAnyDB or SAP HANA
SAP ERP 6.0, EHP xx
SAP HANA
SAP S/4HANA, on-premise edition 1511
SAP HANA
SAP S/4HANA 1610
Extensibility in SAP S/4HANA
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 27
Extensibility Spectrum
Personalization
Key User Extensibility
Customer & Partner Development
Industry & Globalization Development
Functional Scope
Laye
ring
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 29
The Road to S/4HANAABAP Custom Code Migration
Suite on anydatabase
SAP Business Suite on HANA
SAP S/4HANAon premise
SAP S/4HANA CloudEnterprise EditionSAP HANA and
unicode migration
No modifications allowedOnly cloud-enabled development objectsOnly whitelisted SAP APIs
Simplification changes
Custom code work packages for different target products(Direct Upgrade/Migration path to target products is available)
Side-by-side Extensibility based on HANA Cloud Platform
Custom/partner development with full access to ABAP development tools
Key User In-App Extensibility
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 30
De-coupled Extensions: Side-by-side versus In-app Extensibility
Side-by-Side Extensibilitybased on HANA Cloud Platform
Enable a SAP Fiori and mobile user experience Integrate with other cloud solutions (for example,
from SuccessFactors and Ariba, both SAP companies) and third-party solutions Take advantage of HCP application services
(cloud portal, mobile documents, output management, …) Use a full-fledged development platform to build
extension applications (Java, SAP HANA native development) Use whitelisted SAP APIs from SAP S/4HANA
Key User In-App Extensibility
Loosely coupled custom extensions Cloud-enabled development objects
Custom fields Custom analytics and forms Custom business objects Custom business logic (cloud ABAP Web
editor) No modifications allowed Only whitelisted SAP APIs Software lifecycle of extensions de-coupled from
SAP software updates
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 31
SAP S/4HANA Extensibility Scenarios
Application(ABAP | CDS)
Database Table
OData Service
User Interface(Fiori)
Fiori Launchpad
OData (Open Data Protocol)is an OASIS standard that defines the best practice for building and consuming RESTful APIs.
SAP Fioriis a collection of apps with a simple and easy-to-use experience for broadly used SAP software functions that work seamlessly across devices –desktop, tablet, and smartphone.
CDS (Core Data Services)CDS is an enhancement of SQL which provides a data definition language (DDL) for defining semantically rich database tables/views (CDS entities) in the database. The enhancements include annotations, associations, and expressions
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 32
OData Service
SAP S/4HANA Extensibility Scenarios
Application(ABAP | CDS)
Database Table
OData Service
User Interface(Fiori)
Frontend
Backend: ABAP Server
SAP In-App Extensibility
Application(ABAP | CDS)
Database Table
OData Service
Custom UserInterface (Fiori)
OData
Fiori Lauchpad
UI AdaptationI1
Cus
tom
Fie
lds
I2
Business LogicI4
Cus
tom
Bus
ines
s O
bjec
tsI5
Custom UII6
Analytics / FormsI3
Fiori Launchpad
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 33
Fiori Launchpad
SAP S/4HANA Extensibility Scenarios
Application(ABAP | CDS)
Database Table
OData Service
User Interface(Fiori)
Frontend
Backend: ABAP Server
Application(Java | JS | CDS)
Custom User Interface (Fiori)
Frontend
Backend: HCP
OData Service
Database Table
SAP In-App Extensibility
Application(ABAP | CDS)
Database Table
OData Service
Custom UserInterface (Fiori)
OData
Side-bySide Extensibility
Fiori LaunchpadCustom UI / HCP S1
HC
P application S
2
Biz logic w/ HCP serv. S4
Data Replication S5
HCP app. w/ cust. serv. S3
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 34
SAP S/4HANA ExtensibilityKey User Tools – Developer Tools
Task
com
plex
ity
Feature Richness
I want to
• Perform simple tasks in an easy way
• Fool-prove and life-cycle stable
• WYSIWYG / instant testing included
• Low entry barrier
I want to• Create/change complex business logic
• Rich, modern IDE functionality, incl. debugging, code checks, quality tools
• Support of big projects/teams
Developer
Business Expert, Implementation Consultant“Key User”
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 35
SAP S/4HANA ExtensibilityKey User Tools – Developer Tools
Task
com
plex
ity
Feature Richness
Business Expert, Implementation Consultant“Key User”
Developer
Show / hide / arrange fields and sections on existing UI
Add / manage custom fields
Adopt/add reports, KPIs & forms
Add business logic
Create custom UIs
Create custom business objects
Full blown data modelling (e.g. CDS) and OData service development
Large UI/ABAP/Java applications
• Web-based key user tools(Fiori applications)
• SAP Web IDE
• ABAP Development Tools
• Java Development Tools
Custom code adaptation(Classic Extensibility)
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 37
Challenge for your custom code after a system conversion
Custom code has to be adapted
SAP Business Suite System
Custom code
SAP code Simplified SAP code
Custom code
SAP S/4HANA System
*
*
X XX
X
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 38
Simplification List (Link)
Describes the things which are different in SAP S/4HANA, on premise edition for a dedicated application topic in 3 categories:
- Functionality not available anymore
- Change of existing functionality
- Non-strategic-function
Provides the information about the business impact of this item
Gives additional information (for example regarding the available Pre-Checks and Custom Code adaptation requirements)
Download: Link
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 39
Simplified SAP code
Custom code
SAP S/4HANA System
Adapt your custom code by using Simplification Database
Simplification Database contains a list of simplification items
Each simplification item refers to An SAP Note that describes the impact and how related custom code can
be adadpted Changed or removed SAP objects
SAP provides tools based on the Simplification Database to detect custom code that needs to be adapted to SAP S/4HANA
Simplification Database
*
*
SAP NoteSAP Note
SAP Note
X XX
X
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 40
Prepare Phase Realize Phase
tt2
Maintenance Planner
Pre-Checks Custom Code Migration Worklist
Software Update Manager (SUM)
Application specific follow-on activities
t3 t4 t5 t6
Database Migration
Software Update
Data Conversion
System Requirements
t1
Simplification List SAP S/4HANA, on-premise edition
Unicode Conversion
SAP S/4HANA System conversion: Custom code related process
Remove obsolete code based on Usage Procedure
Log (UPL)
Check SAP HANA related changes like ORDER BY
Check SAP S/4HANA related changes like data
model changes
Custom code evaluation
Adapt custom code to SAP HANA and SAP S/4HANA
related changes
Adapt modifications in SPDD/SPAU
Tune performance of critical database queries
SAP HANA checks
SAP S/4HANA checks
Performance tuning
Functional adaptation
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 41Public
Prepare Phase Realize Phase
tt2
Maintenance Planner
Pre-Checks Custom Code Migration Worklist
Software Update Manager (SUM)
Application specific follow-on activities
t3 t4 t5 t6
Database Migration
Software Update
Data Conversion
System Requirements
t1
Simplification List SAP S/4HANA, on-premise edition
Unicode Conversion
Custom code evaluation
SAP HANA checks
SAP S/4HANA checks
Performance tuning
Functional adaptation
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 42
Custom Code Lifecycle Management tools
Transparency with Custom Code Lifecycle Management (CCLM)1 Monitor usage of your custom code via Usage and
Procedure Logging (UPL) Link Use usage data to prioritize your custom code efforts
Remove Waste with CCLM decommissioning cockpit2 Remove unused code before the S/4HANA conversion Link
Find more about Custom Code Lifecycle Management on SCNi
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 43Public
Prepare Phase Realize Phase
tt2
Maintenance Planner
Pre-Checks Custom Code Migration Worklist
Software Update Manager (SUM)
Application specific follow-on activities
t3 t4 t5 t6
Database Migration
Software Update
Data Conversion
System Requirements
t1
Simplification List SAP S/4HANA, on-premise edition
Unicode Conversion
Custom code evaluation
SAP HANA checks
SAP S/4HANA checks
Performance tuning
Functional adaptations
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 44
Code Inspector checks for SAP HANA
Code Inspector checks for SAP HANA verify whether your custom code Uses DB-specific features like native SQL, DB hints or ADBC Relies on not guaranteed or implicit sorting of database queries Performs DB operations on physical pool/cluster database tables Uses function modules to retrieve technical DB index information
Recommendation Run Code Inspector variant FUNCTIONAL_DB for your custom code Fix all errors and warnings (findings with priority 1 and 2)
For more information see SAP Note 1912445i
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 45Public
Prepare Phase Realize Phase
tt2
Maintenance Planner
Pre-Checks Custom Code Migration Worklist
Software Update Manager (SUM)
Application specific follow-on activities
t3 t4 t5 t6
Database Migration
Software Update
Data Conversion
System Requirements
t1
Simplification List SAP S/4HANA, on-premise edition
Unicode Conversion
Custom code evaluation
SAP HANA checks
SAP S/4HANA checks
Performance tuning
Functional adaptation
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 46
SAP S/4HANA custom code analysis process
Download Simplification Database from SAP Service
Marketplace
Run Custom Code Analyzer towards existing SAP
Business Suite system
Run SAP Code Inspector and transaction SYCM to compare the Simplification
Database against custom code
01Custom code analysisUsed / extended / modified SAP objects
02Simplification databaseChanged/delete SAP objectsSAP Notes 04
Code Inspector Check
03Custom Code OverviewTransaction SYCM Custom
Code Worklist
see SAP Note 2185390 see SAP Note 2241080
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 47
Custom code overview (transaction SYCM)
Transaction SYCM provides an overview about custom code objects using SAP objects stored in Simplification DatabaseNavigate to related SAP Notes to read more information about the impact and recommendationsNavigate to your code to estimate the adaptation efforts
Caution: Do not use this list to analyze material number findings. Use Code Inspector instead
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 48
Code Inspector checks for SAP S/4HANA
SAP provides a Code Inspector variant for checks related to the content in Simplification Database The Field Extension check finds length conflicts in your coding for
material number fields The Search DB Operations check finds write operations on specific
database tables
Available for NW release 7.50*
*) For NW release 7.50 < SP4 apply note 2271900
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 49
Code Inspector check for material number field length extension
Compare with length conflicts
Type conflicts
Move with length conflicts
Concatenate with length conflicts
…
functions
DomainMATNR
Changed from 18 to 40
characters
functions
IssueCustom data elements e.g. ZMATNR(18)
functionsPerformed
checks
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 50
Code Inspector Result - Example
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 51
Setup the Code Inspector checks for S/4HANA
Evaluation SystemSAP Business Suite System
SAP ERP 6.0, EHP 0-8
SAP NetWeaver 7.00 – 7.50
Apply SAP note 2270689 to prepare this system for the export of the data model analyzed by the Code Inspector
Code InspectorExtractor
(RFC)
Repository
Download the newest version of the Simplification Database from SAP Service Marketplace (see SAP Note 2241080) and import it in the system2
Analyze the Code Inspector results5
Run the Code Inspector check with transaction SCI4
CI
Apply SAP Note 2271900 to install the code inspector checks1
≥ SAP NetWeaver 7.50 SP00
Generate Code Inspector variant from Simplification Database by using program SYCM_CREATE_CI_CHECK_VARIANT3
CI
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 52
S/4HANA custom code analysis – Outlook
Integrate S/4HANA readiness checks completely in code inspector
Additional specific checks, e.g. for VBTYP
Automated code adaptations via quick fixes to minimize efforts
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 53Public
Prepare Phase Realize Phase
tt2
Maintenance Planner
Pre-Checks Custom Code Migration Worklist
Software Update Manager (SUM)
Application specific follow-on activities
t3 t4 t5 t6
Database Migration
Software Update
Data Conversion
System Requirements
t1
Simplification List SAP S/4HANA, on-premise edition
Unicode Conversion
Custom code evaluation
SAP HANA checks
SAP S/4HANA checks
Performance tuning
Functional adaptation
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 54
Functional adaptations
Adjust modifications Transactions SPDD and SPAUSame process as in previous upgrades
RecommendationReset as many objects as possible to SAP standard
Fix SAP S/4HANA findingsUse custom code overview and Code Inspector checks related to SAP S/4HANAAdapt findings as described in the referenced SAP Notes
Fix SAP HANA findingsUse Code Inspector variant FUNCTIONAL_DBSame checks as for the migration to SAP Business Suite on HANA
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 55Public
Prepare Phase Realize Phase
tt2
Maintenance Planner
Pre-Checks Custom Code Migration Worklist
Software Update Manager (SUM)
Application specific follow-on activities
t3 t4 t5 t6
Database Migration
Software Update
Data Conversion
System Requirements
t1
Simplification List SAP S/4HANA, on-premise edition
Unicode Conversion
Custom code evaluation
SAP HANA checks
SAP S/4HANA checks
Performance tuning
Functional adaptation
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 56
Performance tuning using SQL Monitor
SQL Monitor allows to get performance data for all SQLs executed in your productive system: What are the most expensive and most frequently executed SQLs? Which SQL reads/writes millions of records? What is the SQL profile of my business process VA01?
SQL Monitor allows to link the monitored SQL to the driving business process
Available for NW release 7.00 and higher
SQL Monitor does not harm your business processes (performance overhead <3%)
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 57
SQL Monitor – Example
Business process list ranked by total DB time SQL Monitor• Displays performance data on process level (report, transaction, …)• Allows to drill down from process level to the single DB operations
Drill down to the SQL profile of report ZSQLM_TEST3 running as batch job (6 SQL statements)
Navigate to the code
Key User In-App Extensibility
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 59
In-app Key User Extensibility
„In-app“ Key User Extensibility Key user tools embedded into the application (Fiori) Lifecycle stable and cloud operable:
− Access to SAP objects via public APIs only− Restricted feature set
Runs in the ABAP stack: − Direct use of ABAP/HANA features− No overhead for stack switch
Integrated into the application
Scope: UI adaptation Custom fields Analytics extensibility, forms extensibility Business logic enhancements Custom Business Objects and Custom UIs
Application(ABAP | CDS)
Database Table
OData Service
User Interface(Fiori)
SAP In-App Extensibility
Application(ABAP | CDS)
Database Table
OData Service
Custom UserInterface (Fiori)
OData
Fiori Lauchpad
UI AdaptationI1
Cus
tom
Fie
lds
I2
Cus
tom
Bus
ines
s O
bjec
tsI5
Custom UII6Fiori Launchpad
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 60
De-coupled and Layered Extensions: In-app Extensibility – Key User Tools
E-Mail Template DesignerReport AdaptationUI Adaptation Mode Forms Designer
Application
Database Table
OData Service
Vide
o lin
k
Maintain Custom Fields Maintain Custom Logic
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 61
SAP S/4HANA Key User Extensibility: UI Flexibility
UI Adaptation at Runtime (RTA)
• Drag & drop UI elements
• Cut & paste UI elements
• Rename UI elements
• Add field to UI from field repository
• Hide fields
• Combine/split fields
• Add/delete field groups, sections
• Undo, redo, discard changes
• Define new filter and table variants
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 62
SAP S/4HANA Key User Extensibility: Custom Fields
E-Mail Template DesignerReport AdaptationUI Adaptation Mode Forms Designer
Application
Database Table
OData Service
Video link
Custom Fields
• Definition of custom fields
• Manage the usages of a custom field such as other UIs, reports, forms, service interfaces, processes (data flows), search.
MaintainCustom Fields
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 63
SAP S/4HANA Key User Extensibility: Custom Fields
1 Switch Your Application to Adaptation Mode 2 UI Adaptation: Hide/move/add fields
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 64
SAP S/4HANA Key User Extensibility: Custom Fields
3 New Custom Field 4 Managed the Usages of the Custom Field
Go Back to UI Adaptation and Add Custom Field to the UI
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 65
SAP S/4HANA Key User Extensibility: Custom Fields
ABAP Application / DDIC
Application development creates DDIC include (“extension include“) as „public contract“ for extension development.
Key User Tool appends custom fields to the extension include („append“) . Custom field is moved through the ABAP application („move-corresponding“ etc.)
Core Data Services (CDS)
Application development creates CDS view (“extension include view“) as „public contract“ for extension development.
Key User Tool creates extension view and adds custom field to this view. Custom field is moved through the CDS hierarchy as join
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 66
SAP S/4HANA Key User Extensibility: Analytics ExtensibilityCustom Analytical Queries
Create Custom Analytical Queries• Copy a query from a SAP delivered standard
analytical query• Add or remove or customize fields 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 User Input Fields• Create custom fields such as restricted measures
or calculated measures• Define Hierarchies• Testing included: Preview the results by executing
the report
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 67
SAP S/4HANA Key User Extensibility: Analytics ExtensibilityCustom CDS Views
Create Custom CDS Views• Display a list of all pre-delivered public data
sources (VDM CDS views) and already existing custom CDS views and Preview the available data sources (CDS views)
• Create new custom CDS views
− Choose a primary data source
− Add one or more associated data sources according to your needs
− Select the fields and associations that should be used in the new custom CDS view
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 68
SAP S/4HANA Key User Extensibility: Analytics ExtensibilityS/4HANA Smart Business
Define new KPIs for your organization based on CDS Views / ODATA Services• Modify SAP delivered KPIs by copying them and
adjusting to your business needs• Define drill downs to analyze the KPIs to better
understand your business situation• Apply filters on the drill down to narrow down to
your area of interest.• Save the filtered analysis to launch the same
analysis at a later point in time• Define associations between KPIs so that they
are available during analysis at runtime.• Navigate to transactional apps to take action
based on your analysis
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 69
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
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 70
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 removed from the syntax
Video link
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 71
SAP S/4HANA Key User Extensibility: Custom Business Objects
Custom Business Objects• Create your own business objects and the
corresponding database tables• Add fields to business objects, delete fields
and business objects that have not yet been transported to your production system
• Create CDS views, OData services and UI to enter data through a UI or data load from other customer systems
• Create multiple sub-nodes for one business object
• Implement custom logic on node level• Publish business objects, Edit business
objects that have already been published
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 74
SAP S/4HANA Key User Extensibility: 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.
• The transport of adaptations from the test to the production system is performed by the key user without interaction with the service provider and outside of the maintenance window of the service provider.
On Premise• Customer manages SAP updates and customer transport
with “classical” transport tools (correction and transport system, CTS)
Video link
Side-by-Side Extensibility
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 76
Side-by-Side Extensibility with SAP HANA Cloud Platform (HCP)
Customer/partner development Custom applications loosely coupled to the ABAP
back-end of SAP S/4HANA using remote APIs. Benefits from open standards and from a
ecosystem of partners that contribute value to existing solutions and services.
Scope HCP UI Extension Scenarios HCP Side-By-Side Extension Scenarios Integration Scenarios (HCI)
Fiori Launchpad
Application(ABAP | CDS)
Database Table
OData Service
User Interface(Fiori)
Application(Java | JS | CDS)
Custom User Interface (Fiori)
Frontend
Backend: HCP
OData Service
Database Table
OData
Fiori Launchpad
Custom UI / HCP S1
HC
P application S
2
Biz logic w/ HCP serv. S4
Data Replication S5
HCP app. w/ cust. serv. S3
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 77
Secure Tunnel
Basics: Extending S/4HANA On-Premise
Connects on-premiseBackends to Apps on the SAP HANA Cloud
Platform
SAP HANA Cloud Connector
Runs Apps that can beaccessed from the
Internet and that canaccess S/4HANA on-
premise
SAP HANA Cloud Platform
Firewall I N T E R N E T
Application Frontend
User
C O R P O R A T E N E T W O R K
S/4HANAOn-Premise
HTTPS
Provides Apps andData to Users with
appropriatePermissions.
HTTPS / RFC
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 78
Side-by-Side Extensibility: HCP UI Extension Scenarios
Build a new UI application with SAP Web IDE on HCP Use UI5 technology, UI5 templates, editors,
testing capabilities Build UI applications with offline support Deploy to SAPUI5 ABAP repository or to
HCP account
Extend an existing S/4HANA UI application with SAP Web IDE on HCP Deploy the extension to the SAPUI5 ABAP
Repository
Destinations
Web IDE
Fiori Launchpad
Application(ABAP | CDS)
Database Table
OData Service
User Interface(Fiori)
Custom User Interface (Fiori)
Frontend
Backend: HCP
OData
Fiori LaunchpadCustom UI / HCP S1
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 79
HCP Side-By-Side Extension Scenarios
Custom applications loosely coupled to the S/4HANA system using remote (OData) APIs. JavaScript (backend) Java Native HANA Development
Benefits from open standards and from a partner ecosystem that contribute value to existing solutions and services.
Destinations
Web IDE
Eclipse
Fiori Launchpad
Application(ABAP | CDS)
Database Table
OData Service
User Interface(Fiori)
Application(Java | JS | CDS)
Custom User Interface (Fiori)
Frontend
Backend: HCP
OData Service
Database Table
OData
Fiori Launchpad
HC
P application S2
Summary & Call to action
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 82
Summary of the Extensibility Capabilities of SAP S/4HANA
Extensibility based on SAP HANA Cloud Platform Custom Fiori UIs, UI extension scenarios Integrate with other cloud solutions (for example, from
SuccessFactors and Ariba, both SAP companies) and third-party solutions Completely new solutions
Typical: self-contained applications, loosely coupled to S/4, reaching out to customers-of-customers
Take advantage of application and database services for SAP HANA Cloud Platform (cloud portal, mobile documents, output management, ...)
Use a full-fledged development platformJava, SAP HANA native development, WebIDE
Key User Extensibility Custom fields and tables, analytics and forms Change or add business rules and business logic
(cloud ABAP Web editor) UI flexibility
On-premise
SAP S/4HANAIn-app extensibility:Context-aware extensions, focus on tight integration
Side-by-side extensibility with SAP HANA Cloud Platform:Learn from the outside, weave external content into your solutions+
Cloud
Classic Extensibility Full access to ABAP, keep existing extensions
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 83
Embrace the change
• Upskill your resources(ABAP 7.50, ADT, CDS, Fiori, …)
• Define a development and delivery strategy
• Make your extensions S/4HANA ready!!
• Re-validate your business model
“The possibilities are numerous once we decide to act and not react.”
George Bernard Shaw
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 84
Q & A
Thank you.Contact information:
Markus AndresSolution Center MEESAP AG+41 79 251 21 [email protected]