You are on page 1of 26

In-App Extensibility

Merve Temel

SAP SE
Key Outcomes/Objectives

1. Motivation of In-App Extensibility


2. Overview of Key User Tools
3. In-App Extensibility Scenarios

2 © 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

3 © 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

4 © 2020 ASUG Confidential


Extensibility
In-app extensibility and side by side extensibility using SAP Cloud Platform

5 © 2020 ASUG Confidential


Motivation for a New Extensibility Concept in S/4HANA

6 © 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

7 © 2020 ASUG Confidential


Motivation for a New Extensibility Concept in S/4HANA

8 © 2020 ASUG Confidential


Extensibility Spectrum

Functional Scope

Personalization

Layering
Key User Extensibility

Customer & Partner Development

Industry & Globalization Development

9 © 2020 ASUG Confidential


SAP S/4HANA Extensibility Scenarios

10 © 2020 ASUG Confidential


Extensibility Overview

UI Custom Custom
Key User Custom
Tools
Adaptation Business Business
at Runtime Fields
Object Logic

Custom
Custom
Analytical KPIs Forms
CDS View
Queries

11 © 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&Drop


Configuration

12 © 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
Figure: Custom Fields Fiori App
• Extend SAP CDS Views and OData-Services with SAP fields that are
available in CDS views in “lower layers” of the virtual data model

13 © 2020 ASUG Confidential


SAP S/4HANA Key User Extensibility: Custom Business Objects

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

Figure: Custom Business Objects Fiori App


• Reset business objects to their last published version

• Copy or delete an existing custom business object

• Perform a trace
14 © 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

15 © 2020 ASUG Confidential


SAP S/4HANA Key User Extensibility: Analytics Extensibility
KPI 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.
Key User Fiori App KPI Workspace • Navigate to transactional apps to take action based on your analysis

16 © 2020 ASUG Confidential


SAP S/4HANA Key User Extensibility: Analytics Extensibility
Custom 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
Key User Fiori App Custom Analytical Queries • Testing included: Preview the results by executing the report (in
Design Studio)

17 © 2020 ASUG Confidential


SAP S/4HANA Key User Extensibility: Analytics Extensibility
Custom 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

Key User Fiori App Custom CDS Views − Create calculated fields such arithmetical calculations, case
statements, conversions
− Display the parameters of the selected data sources if they
contain such

18 © 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
Custom Reusable Elements – Labs Preview
• Tablet

Video link
19 © 2020 ASUG Confidential
28 © 2020 ASUG Confidential
Demo

29 © 2020 ASUG Confidential


SAP S/4HANA Extension Decision Matrix: How to de-couple from the Core
Differentiate and innovate with customer extensions

30 © 2020 ASUG Confidential


Extensibility of S/4HANA - Helpful Links

31 © 2020 ASUG Confidential


Extensibility of S/4HANA - Helpful Links

32 © 2020 ASUG Confidential


Questions?
For questions after this session, contact us at merve.temel@sap.com

33 © 2020 ASUG Confidential


Thank you.
Stay connected. Share your SAP experiences anytime, anywhere.
Join the ASUG conversation on social media: @ASUG365 #ASUG

34 © 2020 ASUG Confidential

You might also like