Download - In-App Extensibility
In-App ExtensibilityMerve Temel
SAP SE
2 © 2020 ASUG Confidential
Key Outcomes/Objectives
1. Motivation of In-App Extensibility2. Overview of Key User Tools3. In-App Extensibility Scenarios
3 © 2020 ASUG Confidential
Agenda
Motivation for a New Extensibility Concept in S/4HANA
Extensibility Spectrum
SAP S/4HANA Extensibility Scenarios
In-app Key User Extensibility
S/4HANA Key User Extensibility
UI Flexibility
Custom Fields
Data Source Extensions
Custom Business Logic
Custom Business Objects
Custom Reusable Elements
Custom Code List
Tracing
4 © 2020 ASUG Confidential
Agenda
S/4HANA Key User Extensibility
Associations – Custom Fields and Custom Business Objects
Analytics Extensibility – KPI Design
Analytics Extensibility - Custom Analytical Queries (Query Builder)
Analytics Extensibility - Custom CDS Views
Custom Forms
Custom Tiles
Custom Catalog Extensions
Custom Communication Scenario
Custom CDS View OData-Scenario
Lifecycle Management
Extensibility Inventory Application
5 © 2020 ASUG Confidential
ExtensibilityIn-app extensibility and side by side extensibility using SAP Cloud Platform
6 © 2020 ASUG Confidential
Motivation for a New Extensibility Concept in S/4HANA
7 © 2020 ASUG Confidential
Motivation for a New Extensibility Concept in S/4HANA
De-coupling and Lifecycle Stability
Challenge
• Software is always patched and upgraded based on a fixed schedule and new innovations are introduced easily.
Solution
• Only extensibility that does not block SAP software updates and
continue to work after an update without manual steps is allowed.
• Custom extensions are loosely coupled, i.e. the software lifecycle of
extensions is de-coupled from stable systems of records.
− Modification free
− Clash free
− Use whitelisted APIs and extension points
− Compliant with zero-downtime principles
8 © 2020 ASUG Confidential
Motivation for a New Extensibility Concept in S/4HANA
9 © 2020 ASUG Confidential
Extensibility Spectrum
Functional Scope
Laye
rin
g
Personalization
Key User Extensibility
Industry & Globalization Development
Customer & Partner Development
10 © 2020 ASUG Confidential
SAP S/4HANA Extensibility Scenarios
11 © 2020 ASUG Confidential
Extensibility Overview
Key User Tools
Custom Business
Logic
UI Adaptation at Runtime
Custom Business Object
Custom Analytical
QueriesForms
Custom CDS View
KPIs
Custom Fields
12 © 2020 ASUG Confidential
SAP S/4HANA Key User Extensibility: UI Flexibility
With the UI Adaptation Mode, you can
• Hide fields in a form, table, or filter, hide groups and areas
• Rename labels
• Add field to UI from field repository
• Move form field or UI group, create new groups and move fields into
• Combine fields into one line, split combined fields
• Define new filter and table variants
• This feature is available as of S/4HANA version 1506 (cloud) for selected UIs
Figure: UI Adaptation Mode –Adaptation Mode with Drag&DropConfiguration
13 © 2020 ASUG Confidential
SAP S/4HANA Key User Extensibility: Custom Fields
In the Custom Fields and Logic Fiori app, you can
• Create and edit custom fields (extend the SAP table, application, CDS views and OData services)
• Delete an existing custom field (deletion is not possible if a field has been transported)
• Manage the usages of a custom field such as other UIs, reports, forms, service interfaces, processes, search
• Define fields of type associations to custom business objects or to SAP standard business objects
• Extend SAP CDS Views and OData-Services with SAP fields that are available in CDS views in “lower layers” of the virtual data model
Figure: Custom Fields Fiori App
14 © 2020 ASUG Confidential
SAP S/4HANA Key User Extensibility: Custom Business Objects
Figure: Custom Business Objects Fiori App
In the Custom Business Objects app you can
• Create your own business objects and the corresponding database tables
• Add fields to business objects, delete fields and business objects
• 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
• Define fields of type association to other custom business objects and to SAP standard business objects
• Implement custom logic on node level, write to custom business objects from custom logic
• Publish business objects, edit business objects that have already been published
• Reset business objects to their last published version
• Copy or delete an existing custom business object
• Perform a trace
15 © 2020 ASUG Confidential
SAP S/4HANA Key User Extensibility: Custom Business Logic
Web Editor
• 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
• This feature is available for released enhancement options. As of 1711 SAP offers more than 80 enhancement options.
Figure: Custom Business Logic Fiori App
16 © 2020 ASUG Confidential
SAP S/4HANA Key User Extensibility: Analytics ExtensibilityKPI Design
• KPI design Fiori apps
• 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 analysisKey User Fiori App KPI Workspace
17 © 2020 ASUG Confidential
SAP S/4HANA Key User Extensibility: Analytics ExtensibilityCustom Analytical Queries (Query Builder)
•Create Custom Analytical Queries
• Create a query based on a released SAP analytical data source (CDS views of type cube) or a custom analytical data source
• 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 calculated / restricted / converted measures
• Testing included: Preview the results by executing the report (in Design Studio)
Key User Fiori App Custom Analytical Queries
18 © 2020 ASUG Confidential
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
− Perform changes on the properties (“annotation” such as aggregation behavior, semantics) of the fields
− Create calculated fields such arithmetical calculations, case statements, conversions
− Display the parameters of the selected data sources if they contain such
Key User Fiori App Custom CDS Views
19 © 2020 ASUG Confidential
SAP S/4HANA Key User Extensibility: Custom Reusable Elements
Custom Reusable Elements
• With Custom Reusable Elements you can modularize and structure your custom code
• You can create Custom Libraries and organize your methods
• This application is specifically designed for custom code reuse
• Key Features:
• Create a new custom library
• Add a method to your created custom library
• Add details to your method
• Test your custom code, save and publish your custom code and method
• Supported device types:
• Desktop
• Tablet
Video link
Custom Reusable Elements –Labs Preview
28 © 2020 ASUG Confidential
29 © 2020 ASUG Confidential
Demo
30 © 2020 ASUG Confidential
SAP S/4HANA Extension Decision Matrix: How to de-couple from the Core
Differentiate and innovate with customer extensions
31 © 2020 ASUG Confidential
Extensibility of S/4HANA - Helpful Links
32 © 2020 ASUG Confidential
Extensibility of S/4HANA - Helpful Links
Questions?
33 © 2020 ASUG Confidential
For questions after this session, contact us at [email protected]
Thank you.
34 © 2020 ASUG Confidential
Stay connected. Share your SAP experiences anytime, anywhere. Join the ASUG conversation on social media: @ASUG365 #ASUG