Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le...

23
Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business Services

Transcript of Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le...

Page 1: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

Come estendere e integrare le applicazioni nel cloudAntonello Morelli, Innovation & Portfolio Lead, SAP Digital Business Services

Page 2: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

In-app & Side-by-side Extensibility

Page 3: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

3INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Fit-to-Standard Methodology

Customer ABC S/4HANA Cloud

Page 4: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

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

Fit to Standard

In-app extensibility

Side-by-side extensibility

Co-innovation

Machine Learning

CoPilot

Innovation roadmap

Fit-to-Standard Methodology

Customer ABC S/4HANA Cloud

Page 5: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

5INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SAP S/4HANA In-App and Side-by-Side Extensibility

Side-by-side extensibility with SAP Cloud Platform§ Integrate with SAP Cloud apps and third-party

solutions

SAP Cloud Platform: Extend reach. Integrate. IoT.

§ New standalone cloud apps(Internet of Things)

§ Extend core processes by beforeand after steps (for example,customer service or triggers fromsensor data)

§ Input from external users, mobility

In-app extensibility§ Variants of standard processes and business

logic (for example, micro-vertical solutions,localization)

§ Focus on company-owned businessdocuments (for example, legal compliance)

§ Analytics extensibility (for example, tailoredoperationalreporting for minimizedasset allocation)

SAP S/4HANA: Enrich the core

Page 6: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

6INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SAP S/4HANA In-App and Side-by-Side

UI

Application

Database

In-a

ppEx

tens

ions

View Replication *

SAP Identity Management

Open APIsCustomFields

CustomBusiness Logic

CustomBusiness Objects

CustomAnalytics / Reports

CustomUser Interface

CustomForms

CustomCDS Views

ExtensibilityCockpit

ExtensibilityInventory

LifecycleManagement

Side-by-side extensionsIn-app extensions

UI Integration

* Outlook / this is the current state of planning, and can be changed at anytime

Business Events *

UI

Application

Database

SAPAnalytics Cloud

SAP CP IntegrationServices

SAP CP WorkflowServices

e.g. Fiori | …

Java | ABAP * | …

HANA | …

S/4HANACloud SDK

SAP Web IDE

typical architecture

S/4HANA

Page 7: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

In-app Extensibility

Page 8: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

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

SAP S/4HANA In-App Extensibility:In-App Key User Extensibility Scenarios

Cloud

1. Adapt UIsshow/hide/re-arrange/rename identifier of standard and custom fields

2. Create custom fieldsDefine custom fields and publish it for dedicated CDS views, APIs, UIsDDIC is automatically generated, CDS views and OData services areautomatically extended

3. Custom Analytics and FormsAssign defined custom fields for forms

4. Implement Custom Business Logic („BAdIs“)Implement business logic in ‘Restricted ABAP’; access custom fields,read other objects via CDS views; call external web-based services

OData Service

Application(ABAP | CDS)

Database Table

User Interface(Fiori)

UI AdaptationI1

Cus

tom

Fiel

dsI2

Business LogicI4

OData Service OData

Analytics / FormsI3

SAP In-App Extensibility

Page 9: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

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

Implement designated enhancement points within business processes using custom business logicto extend behavior

In-App Extensibility - Custom Business LogicSAP S/4HANA in-app extensions

CreateSalesOrder

Adv.ATP

CreateDelivery

ExecutePicking

PostGoodsIssue

CreateBilling

* simplified, see BD9 for full process

Typical use-cases: custom validation logic, calculations, additional process steps or calls to externalservices…

Page 10: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

10INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

In-App Extensibility - Extensibility Cockpit: Find extension points in abusiness process

Overview about all enhancementpoints within a business process inS/4HANA Cloud

• End-to-end selection from solutionscope, scope item to businesscontext

• On further drill-down, see a full listof extendable objects for theselected business context

• See the already implementedextensions belonging to the filteredBusiness Context objects

• Respective links for navigation toobjects and extensions, e.g.custom fields, standard APIs, CDSviews

UIs APIs BusinessLogic

BusinessScenarios

CDSViews Forms

Page 11: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

11INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

In-App Extensibility - Extend standard objects with custom fields

TODO

YY1_LotNumName Weight

Fields are automatically added to thevirtual data model and database tables

… in email templates, OData services andCustom Business Logic

…and can be used in Custom Analytics,Custom Forms, …

Page 12: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

12INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

In-App Extensibility - example: Gross weight calculation on batch levelSAP S/4HANA in-app extensions

CreateSalesOrder

CreateDelivery

CreateBilling

On before save delivery: Calculate gross weight

DATA total TYPE integer.

LOOP AT delivery-items INTO item.SELECT weight FROM I_Batch WHERE batch = item-batch.ADD weight TO total.

ENDLOOP.

delivery-YY1_GROSSWEIGHT = total.

Usage of acustom field tostore the result

Delivery HeaderYY1_GrossWeight

Delivery Items

I_Batch

Read weight informationon batch level fromstandard CDS views

Delivery Items Invoice

Include the gross weight ondelivery slip and invoice

Page 13: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

13INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

In-App Extensibility - Custom Business Logic – code editor

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

- The following statements are not allowed: any DBoperation except selects from released views,tweaking new tasks, dynamic programming, codegeneration

§ Simplicity: obsolete ABAP statements are removedfrom the syntax

Key User Fiori App Custom Fields and Logic

Page 14: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

14INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SAP S/4HANA Cloud In-App Extensibility:Customer Development Extensions

SAP In-App Extensibility

ApplicationLogic

Database

(external) ODataService

User interfaceC

usto

mBu

sine

ssO

bjec

tsI5

Develop you extension in ABAP

• Define own data object structures(custom tables) and add businesslogic in ABAP.

• A Fiori UI can be automaticallygenerated and adapted with the WEBIDE

• Use business logic (e.g. BADIs) torun actions or validate the entries

• use your business object to createyour custom OData services(read/write)

• Maintain custom tile on Launchpad

• Associate to custom fields or othercustom business objects

Business LogicI4

Cloud

Page 15: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

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

In-App Extensibility - Store arbitrary data in Custom Business ObjectsSAP S/4HANA in-app extensions

ID Seats ServiceTechnician

Database tables are automaticallygenerated…Store custom data in table-like structures

As well as a Fiori based maintenance UI

(formerly known as Z-tables)

Page 16: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

Side-by-side Extensibility

Page 17: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

17INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

A side-by-side extension is a customerdeveloped and operated application,running next to SAP S/4HANA

• De-coupled integration via APIs,events and replication services

• Lifecycle independent

• Separated application stacks

• Highly productive developmentenvironment with the SAP WebIDEand S/4HANA Cloud SDK

• Supports hybrid scenarios

What is a custom side-by-side extension?Custom extension applications

Custom UserInterface (Fiori)

Fiori Launchpad

Application(Java | JS | CDS)

OData Service

Database Table

Fiori Launchpad

Database Table

User Interface(Fiori)

Application(ABAP | CDS)

OData Service

Side-by-SideSAP

S/4HANA

Page 18: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

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

SAP S/4HANA Extensibility map

Simple In-App ExtensionsCustom Fields, Business Objects, Reports,Analytical reports- Persona: Consultant / Key user

Complex In-App Extensions in SAP S/4HANACustom applications running natively within SAP S/4HANA Cloud- Persona: Consultant / Developer- Integrated in SAP S/4HANA Cloud- Limited business logic (‘Cloud ABAP’)- Custom UI (built in the WebIDE, based on UI5)- Target group: internal business user- Operated by SAP (SaaS)

Side-by-Side Extension on SAP Cloud PlatformStandalone applications running side-by-side to SAP S/4HANA Cloud- Persona: Developers / Partners- Loosely coupled to full standalone- Single instance / Multi-tenant / SaaS- IDE: Eclipse or WebIDE or others- Libraries: SAP S/4HANA Cloud SDK- Complex business logic (3rd party integration, mobile apps, complexpersistence requirements)- Target group: internal business user, externals, consumers- Platform operated by SAP (PaaS)

S/4HANA

Page 19: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

Integration Options

Page 20: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

20INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Integration options for SAP S/4HANA Cloud

1. APIs: SAP releases APIs for SAP S/4HANACloud and other SAP Cloud Products to enablecustomers digitizing their business to securelyconnect apps to other systems.Published on SAP API Business Hub§ oData/REST§ SOAP

2. CDS Views: SAP releases CDS Views for SAPS/4HANA Cloud to read data from SAP S/4HANACloud system. Could be consumed as oDataservices using custom communicationarrangements.

3rd Party On-Premise

3rd PartyCloud

SAPOn Premise

SAP S/4HANACloud

3. Traditional APIs: released BAPIs/Idocs can be used toconnect SAP S/4HANA Cloud with on-premiseapplications.

Published and released via SAP Note§ BAPI§ IDoc

Page 21: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

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

The SAP API Business HubCustom extension applications: Basics

Provides easy access to APIs from SAP S/4HANA, cloud LoB apps, industry apps, partners …

� Discover, test and learn about APIs across different SAPsolutions and platforms in a central catalog� API documentation based on OpenAPI format� Access to APIs in sandbox systems for immediate trial� Integrated with SAP Cloud Platform development tools

SAP API Business Hub

Page 22: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

22INTERNAL© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Thank you!

Antonello MorelliInnovation & Portfolio Lead,SAP Digital Business ServicesE: [email protected]

Page 23: Come estendere e integrare le ... - assets.dm.ux.sap.com · Come estendere e integrare le applicazioni nel cloud Antonello Morelli, Innovation & Portfolio Lead, SAP Digital Business

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software componentsof other software vendors. National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliatedcompanies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that areset forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or releaseany functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products,and/or platforms, directions, and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. Theinformation in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risksand uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, andthey should not be relied upon in making purchasing decisions.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company)in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies.See www.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.

© 2018 SAP SE or an SAP affiliate company. All rights reserved.