39
.consulting .solutions .partnership The S/4HANA Programing Paradigm Welcome to the Future of ABAP Development

The S/4 HANA Programing Paradigm

Embed Size (px)

Citation preview

Page 1: The S/4 HANA Programing Paradigm

.consulting .solutions .partnership

The S/4HANA Programing ParadigmWelcome to the Future of ABAP Development

Page 2: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Agenda

© msg | October 2016 | IT Conference on SAP Technologies 2

1. What is S/4HANA?

2. What are the paradigms?

3. What does this mean for SAP Development?

4. A look beyond the Horizon

Page 3: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

© SAP SE

S/4HANA – A truly new Product

© msg | October 2016 | IT Conference on SAP Technologies 3

Page 4: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

© SAP SE

S/4HANA – A Global Glance

© msg | October 2016 | IT Conference on SAP Technologies 4

Page 5: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

The Paradigms of S/4HANA (Core)

© msg | October 2016 | IT Conference on SAP Technologies 5

Principle of One Cloud First

HANA only Fiori as UX

Page 6: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

The Development model: First of all …

© msg | October 2016 | IT Conference on SAP Technologies 6

https://www.spreadshirt.com/abaps+not+dead-A105364067

Page 7: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

The S/4 Development Model – The Journey Map

© msg | October 2016 | IT Conference on SAP Technologies 7

© SAP SE

Page 8: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Cross Topic: ABAP Language

© msg | October 2016 | IT Conference on SAP Technologies 8

ABAP Syntax was renewed

• Idea: The developer should focus on WHAT he does and not HOW to do it

Code Push Down should be enabled

• Open SQL enhancements (� Support of SQL92 standard)

• New Artefacts to support Code PushDown:− ABAP Core Data Service (CDS) Views− ABAP Managed Database Procedures (AMPD)− Table Functions

Page 9: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Cross Topic: Tooling

© msg | October 2016 | IT Conference on SAP Technologies 9

Page 10: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Image courtesy of Stuart Miles at FreeDigitalPhotos.net

Before we start … a little “Disclaimer”

© msg | October 2016 | IT Conference on SAP Technologies 10

Page 11: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Every Journey starts with the first step …

© msg | October 2016 | IT Conference on SAP Technologies 11

© SAP SE

Let’s start here

Page 12: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

A new Player in the Game – ABAP CDS Views

© msg | October 2016 | IT Conference on SAP Technologies 12

• ABAP Core Data Service Views (CDS Views) are one pillar of Code Push Down

• New way to model views: Overcome the limits of the classical SE11 view modelling

• Create reusable SQL views with an enhanced syntax

• Semantical enrichment of ABAP CDS Views via annotations

� Creation of an ABAP managed Virtual Data Model (VDM)

Page 13: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

ABAP CDS Views

© msg | October 2016 | IT Conference on SAP Technologies 13

DEMO

Page 14: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

The S/4 Development Model

© msg | October 2016 | IT Conference on SAP Technologies 14

© SAP SE

Let’s go to the outside

Page 15: The S/4 HANA Programing Paradigm

SAP Gateway – The Connection to the Outside

• SAP Gateway is a secure communication layer between backend system and client devices

• It uses OData as open industry standard protocol

• Arbitrary apps can be built on this basis

• The communication layer in S/4HANA

The S/4HANA Programing Paradigm

© msg | October 2016 | IT Conference on SAP Technologies 15

© SAP SE

Page 16: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Expose CDS Views via OData

© msg | October 2016 | IT Conference on SAP Technologies 16

Available options

• Build service “manually” via SAP Gateway Service BuilderImport or reference DDIC structure (CDS view)

• Use annotation to automatically create the necessary artefacts� Only registration of the service has to be done once

Page 17: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Expose CDS Views via OData

© msg | October 2016 | IT Conference on SAP Technologies 17

DEMO

Page 18: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

The S/4 Development Model

© msg | October 2016 | IT Conference on SAP Technologies 18

© SAP SE

Let’s give it some face

Page 19: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Recap UI5

© msg | October 2016 | IT Conference on SAP Technologies 19

http://openui5.org/

• Enterprise-Ready Web Toolkit (HTML5)

• Consistent User Experience

• Feature-Rich UI Controls

• Responsive

Page 20: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

© SAP SE

Implementing the UI – Options

© msg | October 2016 | IT Conference on SAP Technologies 20

Page 21: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

© SAP SE

Smart Templates – or How To Accelerate the UI Development

© msg | October 2016 | IT Conference on SAP Technologies 21

Page 22: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

CDS Views and Annotations

© msg | October 2016 | IT Conference on SAP Technologies 22

• With SAP NetWeaver 7.50 the ABAP CDS Views can be (heavily) annotated

• The annotations cover different aspects/use cases (analytics, search, …)

• The group mainly relevant for Smart Templates is the UI Annotations group @UI.*

Page 23: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Build a UI with CDS UI Annotations

© msg | October 2016 | IT Conference on SAP Technologies 23

DEMO

Page 24: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

The S/4 Development Model

© msg | October 2016 | IT Conference on SAP Technologies 24

© SAP SE

What about Transactions?

Page 25: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

The Framework for Business Objects and their Logic - BOPF

© msg | October 2016 | IT Conference on SAP Technologies 25

• The programing model of S/4HANA for transactions is based on the Business Object Processing Framework (BOPF)

• BOPF is a framework for ABAP OO-based application development, providing services that support the entire software development lifecycle

Page 26: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

BOPF – Further Benefits

© msg | October 2016 | IT Conference on SAP Technologies 26

Page 27: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

CDS to BOPF

© msg | October 2016 | IT Conference on SAP Technologies 27

Page 28: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

CDS to BOPF – Just an Annotation away

© msg | October 2016 | IT Conference on SAP Technologies 28

• CDS Views can be annotated to be represented by a BOPF object

• This includes the persistency

• The business logic can then be implemented within the BOPF tools

Page 29: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

BOPF BO via CDS

© msg | October 2016 | IT Conference on SAP Technologies 29

DEMO

Page 30: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

© SAP SE

Goals for Transactional Applications in S/4HANA

© msg | October 2016 | IT Conference on SAP Technologies 30

• Start on one device – continue on other device

• Start now – let someone else continue later

• Start now – save incomplete – continue later

• Keep working – data is saved automatically and asynchronously

• No data loss connectivity disruption or session time-out

NW 7.51

Solution

Draft Concept

Page 31: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

The S/4 Development Model – We’re through ☺

© msg | October 2016 | IT Conference on SAP Technologies 31

© SAP SE

Page 32: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Topics we did not touch …

© msg | October 2016 | IT Conference on SAP Technologies 32

• Code Push Down on the Edge: ABAP Managed Database Procedures and Table Functions

• It is all about the Cloud :− Key User Extensibility− Restricted ABAP− Guided Configurations

• Extension Scenarios (In App and Side-to-Side)

• Integration Scenarios (Preconfigured connectors, HANA Cloud Platform, API Management, …)

Page 33: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

Let’s wrap it up

© msg | October 2016 | IT Conference on SAP Technologies 33

• S/4HANA triggered a renewal of the SAP development

• The trigger touches the complete development ecosystem− Tooling− Language Features − Paradigms (Code Push Down, Draft)− Frameworks (BOPF)− Integration Technologies (SAP Gateway and OData)− User Interfaces (Fiori 2.0)

• The good news : a lot of those functionalities can be used without S/4HANA underneath � Technological basis is part of SAP NetWeaver ☺

Page 34: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

© msg | October 2016 | IT Conference on SAP Technologies 34

Image courtesy of Master isolated images at FreeDigitalPhotos.net

Page 35: The S/4 HANA Programing Paradigm

.consulting .solutions .partnership

msg systems ag (Headquarters)Robert-Buerkle-Str. 1, 85737 Ismaning/MunichGermany

www.msg-systems.com

Dr. Christian LechnerPrincipal IT Consultant

[email protected]

https://twitter.com/lechnerc77

https://people.sap.com/christian.lechner/

Thanks for your Attention &

Enjoy the Conference + CodeJam

Page 36: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

© SAP SE

What is S/4HANA – The Pillars

© msg | October 2016 | IT Conference on SAP Technologies 36

Page 37: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

© SAP SE

Draft in Detail

© msg | October 2016 | IT Conference on SAP Technologies 37

Page 38: The S/4 HANA Programing Paradigm

SAP Gateway – Detailed Architecture

The S/4HANA Programing Paradigm

© msg | October 2016 | IT Conference on SAP Technologies 38

© SAP SE

Page 39: The S/4 HANA Programing Paradigm

The S/4HANA Programing Paradigm

BOPF – A Closer Look

© msg | October 2016 | IT Conference on SAP Technologies 39