in-app extensibility

26
In-App Extensibility Merve Temel SAP SE

Upload: others

Post on 14-Jul-2022

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: In-App Extensibility

In-App ExtensibilityMerve Temel

SAP SE

Page 2: In-App Extensibility

2 © 2020 ASUG Confidential

Key Outcomes/Objectives

1. Motivation of In-App Extensibility2. Overview of Key User Tools3. In-App Extensibility Scenarios

Page 3: In-App Extensibility

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

Page 4: In-App Extensibility

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

Page 5: In-App Extensibility

5 © 2020 ASUG Confidential

ExtensibilityIn-app extensibility and side by side extensibility using SAP Cloud Platform

Page 6: In-App Extensibility

6 © 2020 ASUG Confidential

Motivation for a New Extensibility Concept in S/4HANA

Page 7: In-App Extensibility

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

Page 8: In-App Extensibility

8 © 2020 ASUG Confidential

Motivation for a New Extensibility Concept in S/4HANA

Page 9: In-App Extensibility

9 © 2020 ASUG Confidential

Extensibility Spectrum

Functional Scope

Laye

rin

g

Personalization

Key User Extensibility

Industry & Globalization Development

Customer & Partner Development

Page 10: In-App Extensibility

10 © 2020 ASUG Confidential

SAP S/4HANA Extensibility Scenarios

Page 11: In-App Extensibility

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

Page 12: In-App Extensibility

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

Page 13: In-App Extensibility

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

Page 14: In-App Extensibility

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

Page 15: In-App Extensibility

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

Page 16: In-App Extensibility

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

Page 17: In-App Extensibility

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

Page 18: In-App Extensibility

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

Page 19: In-App Extensibility

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

Page 20: In-App Extensibility

28 © 2020 ASUG Confidential

Page 21: In-App Extensibility

29 © 2020 ASUG Confidential

Demo

Page 22: In-App Extensibility

30 © 2020 ASUG Confidential

SAP S/4HANA Extension Decision Matrix: How to de-couple from the Core

Differentiate and innovate with customer extensions

Page 23: In-App Extensibility

31 © 2020 ASUG Confidential

Extensibility of S/4HANA - Helpful Links

Page 24: In-App Extensibility

32 © 2020 ASUG Confidential

Extensibility of S/4HANA - Helpful Links

Page 25: In-App Extensibility

Questions?

33 © 2020 ASUG Confidential

For questions after this session, contact us at [email protected]

Page 26: In-App Extensibility

Thank you.

34 © 2020 ASUG Confidential

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