abap platform in sap s/4hana 2020 overview and product … · 2020. 12. 6. · public abap platform...

85
PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview and Product Highlights NOTE: Delete the yellow stickers when finished. See the SAP Image Library for other available images.

Upload: others

Post on 08-Mar-2021

31 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

PUBLIC

ABAP Platform Product Management, SAP

November 2020

ABAP Platform in SAP S/4HANA 2020Overview and Product Highlights

NOTE: Delete the yellow stickers when finished.

See the SAP Image Library for other available images.

Page 2: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

2PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission o f SAP.

Except for your obligation to protect confidential information, this presentation is not subject to your license agreement or any other service

or subscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or any related

document, or to develop or release any functionality mentioned therein.

This presentation, or any related document and SAP's strategy and possible future developments, products and or platforms directions and

functionality are all subject to change and may be changed by SAP at any time for any reason without notice. The information in this

presentation is not a commitment, promise or legal obligation to deliver any material, code or functionality. This presentat ion is provided

without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a

particular purpose, or non-infringement. This presentation is for informational purposes and may not be incorporated into a contract. SAP

assumes no responsibility for errors or omissions in this presentation, except if such damages were caused by SAP’s intentional or gross

negligence.

All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ material ly from

expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates,

and they should not be relied upon in making purchasing decisions.

Disclaimer

Page 3: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

3PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Platform Overview

ABAP Platform 2020 Product Highlights

ABAP development tools

ABAP language today

SAP HANA-centric optimizations

ABAP RESTful Application Programming Model (RAP)

ABAP code analysis tools

Custom code migration to SAP S/4HANA and cloud

ABAP connectivity

SAP S/4HANA extensibility

Further enhancements

SAP Cloud Platform ABAP Environment

Summary

Agenda

Page 4: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

4PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

01ABAP PLATFORM OVERVIEW

Page 5: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

5PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Platform – Some keys and figures

ABAP

PLATFORM

> 100.000 Installed productive SAP systems based on ABAP

02

03

> 10.000Custom ABAP objects per average

SAP system

> 5 MILLIONRegistered ABAP developers

Optimized for business applications

Rock solid and scalable foundation

for mission critical business systems

Comprehensive integrated lifecycle

management

Huge partner and

customer community

Foundation for a large variety of

SAP, partner, and customer

developments

Page 6: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

6PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Platform – Transformation to SAP S/4HANA and SAP Cloud PlatformHigh innovation speed because of SAP HANA and SAP S/4HANA

SAP

Business Suite

SAP NetWeaver

AS ABAP

SAP S/4HANA

ABAP

Platform

SAP HANA

SAP FIORI UX

SAP Cloud Platform

Major

ABAP Platform

innovations needed

for SAP S/4HANA

SAP Cloud Platform,

ABAP Environment

Page 7: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

7PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Platform – Versions and consumers

on premise cloud

SAP NETWEAVER

AS FOR ABAP 7.5x 2

ANY DB & SAP HANA

CLASSIC ABA LAYER

ABAP PLATFORM CLOUD 2011

(indirect shipment only)

SAP HANA ONLY

NEW ABA LAYER

One common ABAP Platform innovation codeline

SAP Business Suite1

SAP NetWeaver hubs

SAP NetWeaver add-ons

Custom applications

SAP S/4HANA On-Premise SAP S/4HANA Cloud

on premise

ABAP PLATFORM 2020

(indirect shipment only)

SAP HANA ONLY

NEW ABA LAYER

Improvements

1 (7.50)

2 (7.50, 7.51 and 7.52)

ABAP-based SaaS solutions

Extensions for SAP S/4HANA

Custom cloud apps

SAP Cloud Platform

ABAP Environment 2011

SAP HANA ONLY

NEW ABA LAYER

PUBLIC INTERFACES

This is the current state of planning and may be changed by SAP at any time.

Page 8: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

8PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP development: Must learn topicsUX, SAP HANA, state-of-the-art development, cloud

Stable cloud extensions

In-app and side-by-side

Cloud-ready apps

Cloud

Secure app development,

high code quality

Agile and test driven

Custom code

management

Efficient developmentUtilize SAP HANA

capabilities

ABAP managed code

pushdown

Focus on user experience

On any device

Role based

Device switch and

collaboration

Browser based

SAP Fiori and SAPUI5

ABAP RESTful application

programming model

ABAP SQL, Core Data

Services and code

pushdown in SAP HANA

ABAP tools,

development methodology

In-app extensibility,

SAP Cloud Platform

Page 9: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

9PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Platform 2020 at a glance

High developer efficiency with enhanced ABAP language and ABAP Development Tools in Eclipse

Easy usage of advanced SAP HANA capabilities

Enriched SAP S/4HANA in-app extensibility with XCO library support

Advanced quality assurance tools fully supporting custom code migration to SAP S/4HANA and Cloud

Real-time events, Industrial IoT, WebSocket RFC, M2M communication, MQTT and AMQP support

ABAP RESTful Application Programming Model for the efficient development of SAP HANA-optimized SAP Fiori applications and Web APIs

01

03

02

04

05

06

Page 10: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

10PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

02ABAP PLATFORM 2020

PRODUCT HIGHLIGHTS

Page 11: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

11PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

02ABAP PLATFORM 2020

PRODUCT HIGHLIGHTS

ABAP DEVELOPMENT TOOLS

IN ECLIPSE

Page 12: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

12PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Modern ABAP development in Eclipse

MODERN DEVELOPMENT TOOLSET

Fully eclipse-based

Syntax check, Code completion

Syntax highlighting, Pretty printing

Navigation, Search, Quick Fixes

QUALITY ASSURANCE

Static code checks (CVA, ATC) with

remote and local scenarios

Unit testing incl. isolation frameworks

Test seams and injections

SUPPORTABILITY

Debugging, profiling

Static and dynamic logging

Runtime monitoring and analysis

ABAP DEVELOPMENT TOOLS (ADT)

Page 13: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

13PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

DEVELOPMENT

Create and edit CDS View Entities

Provide documentation for CDS artefacts using Knowledge Transfer Documents (KTD)

More information and enhanced navigation in Element Info popup window

Editing support for Business Add-Ins (BAdIs)

Modern ABAP development in Eclipse – ABAP Platform 2020 feature scope

QUALITY

Support CDS View Entities and Projection Views in CDS Test Double Framework

and ABAP SQL Test Double Framework

Support for ABAP authority-check statements using Test Helper API

TROUBLESHOOTING

Problems View improvements

MISCELLANEOUSEditor for Number Range objects

Transport Organizer improvements

Discontinue support for reading the legacy SAPLOGON.INI file format

Page 14: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

14PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Development Tools in Eclipse (1)

Create and edit BAdI enhancement spots

Create and edit BAdI enhancement

implementations

NEW ECLIPSE

BASED EDITORS

Check out How to extend SAP

standard using ADT

New editor for Number Range objects

Page 15: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

15PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Development Tools in Eclipse (2)

FUNCTIONAL

ENHANCEMENTS

Transport request protection

Only request owner can add

more users

Creating ABAP CDS artefacts based on

references (insert all elements of the

referenced object)

Support for CDS Entity Views

Check out Create CDS

entities with reference

Page 16: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

16PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Development Tools in Eclipse (3)

Create knowledge transfer documents for behavior definitions, CDS views, and service bindings

Check out the videos on YouTube

DOCUMENTABILTY

FOR CDS ARTEFACTS

DISCONTINUED SUPPORT

FOR LEGACY

SAPLOGON.INI FILE

FORMAT

SAP UI Landscape format has become the default format for maintaining SAP GUI connection

information. The legacy saplogon.ini format is deprecated

Check out the documentation

Using System Connections from SAP Logon Pad

Page 17: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

17PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

02ABAP PLATFORM 2020

PRODUCT HIGHLIGHTS

ABAP LANGUAGE TODAY

Page 18: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

18PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Declarative and expression-oriented ABAP language

Inline code documentation with ABAP Doc

Simple and concise ABAP code through new language

features like inline declarations, constructor expressions

Extensively expression-oriented syntax

Advanced table operations like CORRESPONDING( )

operator, grouping and filtering

JSON support in sXML library

Entity Manipulation Language (EML) to control the

transactional business object behavior in the RAP context

MODERN

ABAP

ABAP Unit Testing with test doubles and test seams

Page 19: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

19PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP DICTIONARY

Changes in internal handling of Name Table

ABAP Language – ABAP Platform 2020 feature scope

ABAP SESSIONS

Enhanced maximum number (from 6 to 16) of ABAP sessions per user sessions

DATA TYPES

Indicator structures (new addition INDICATORS to the statement TYPES)

EXPRESSIONS AND FUNCTIONS

Calculation assignments (+=, +=, *=, /= or &&=) can be used behind addition NEXT

in constructor operator REDUCE

STRING PROCESSING

Support of Perl compatible regular expressions

New catchable exception CX_SY_STRING_SIZE_TOO_LARGE

Formatting option CURRENCY for decimal floating point numbers

EXCEPTION HANDLING

Declare exceptions of category CX_NO_CHECK with RAISING

Page 20: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

20PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

02ABAP PLATFORM 2020

PRODUCT HIGHLIGHTS

SAP HANA-CENTRIC OPTIMIZATIONS

Page 21: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

21PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SAP HANA BREAKOUTS

ABAP development for SAP HANA – Mainstream and code breakouts

MAINSTREAM

ABAP Core Data Services (CDS)

ABAP SQL

ABAP Managed Database Procedures

and Functions (AMDP)

CDS Table Functions and Hierarchies

AB

AP

ma

na

ge

d c

od

e p

ush

do

wn

Page 22: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

22PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Evolution of ABAP CDS and Open/ABAP SQL

SAP HANA

CLOUD QUALITIES

(Key User) Extensibility

Allowlisting-support for

CDS & AMDP

DB Administration

Supportability

ABAP RESTful Application

Programming Model support

ANYDB

BREAKOUTS 1

SQL

ANYDB

SQL SQL SQLScript

SAP HANA

SQL

Windowing

CTE

SQLScriptSQL Extensions

Hierarchies

GEO Spatial Support

DB Tuning Objects

(view caches)

Specialized Engines

Graph

OPTIMIZED and SPECIALIZED ACCESS

for SAP HANA

1*CDS Table Functions and ABAP Managed Database Procedures (AMDP)

CLASSIC

ACCESS

BREAKOUTS 1

OPTIMIZED ACCESS

for SAP HANA

CDS / OPEN SQL CDS / OPEN SQL CDS / ABAP SQL2

2 Open SQL renamed to ABAP SQL as of ABAP Platform 1809 (AS ABAP 7.53)

Page 23: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

23PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP CDS – Next-generation data modeling and access

For all application domains

Rich set of built-in functions

Code pushdown capabilities

Declarative access control

Reduced complexity

Extending SQL

CORE

DATA

SERVICES

COMMON

DATA

MODEL

Semantically rich

Declarative

Close to conceptual thinking

IMPROVED

PROGRAMMING

MODEL

CAPTURE

BUSINESS

INTENT

Page 24: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

24PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP CDS – Overview of supported CDS entity types

CATEGORY CDS ENTITY TYPE ABAP CDS STATEMENT

Standard view building CDS View Entity

CDS Projection View

CDS DDIC-based View

DEFINE VIEW ENTITY*DEFINE VIEW ENTITY AS PROJECTIONDEFINE VIEW

Transactional behaviour definition of business

objects within the ABAP RESTful Application

Programming Model (RAP)

CDS Behavior Definition

CDS Behavior Projection

DEFINE BEHAVIOR

Modification-free extension CDS Metadata Extension

CDS View Extension

CDS View Entity Extension

ANNOTATE VIEWEXTEND VIEWEXTEND VIEW ENTITY*

SAP HANA breakout CDS Table Function

CDS Hierarchy

DEFINE TABLE FUNCTIONDEFINE HIERARCHY

External implementation CDS Custom Entity

CDS Abstract Entity

DEFINE CUSTOM ENTITYDEFINE ABSTRACT ENTITY

Access control CDS Role DEFINE ROLE

* Available starting with ABAP Platform 2020

Page 25: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

25PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

NEW CDS ENTITY TYPES SUPPORTED

CDS view entities and CDS extension view entities as the successors of CDS DDIC-

based views are supported

ABAP Core Data Services (CDS) – ABAP Platform 2020 feature scope

ENHANCED CDS PROJECTION VIEWS

Definition of new associations supported

ENHANCED CDS ACCESS CONTROL

Checking the left side operand in a literal condition for (non) initial values

Check alias or assigned business partner instead of username in user conditions allowed

Data type RAW now allowed for left side operand of an access condition

Addition bypass when to specify a bypass condition for an element

Page 26: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

26PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Core Data Services (CDS) – CDS view entity as of ABAP Platform 2020

CDS VIEW ENTITIES

SIMPLIFIED DEFINITION, CONSUMPTION & LIFECYCLE MANAGEMENT

Only ONE name for a CDS view entity – No SQL view name required

Optimized creation of SAP HANA database artefacts

Optimized CDS activation and performance

Client handling completely transparent for the developer

Stricter syntax- & semantic-checks to indicate problematic situations more explicitly

(e.g. annotation checks)

Improved type safety within CDS Expressions

Check out Blog on CDS View Entities

Page 27: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

27PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP SQL – ABAP Platform 2020 feature scope (1)

NEW BUILT-IN AGGREGATE FUNCTIONS

ALLOW_PRECISION_LOSS in combination with aggregate function SUM to improve the

performance at the cost of accuracy of the result

Aggregate functions MEDIAN (statistical median), STDDEV (standard deviation), VAR(variance), CORR (Pearson product momentum correlation coefficient), and

CORR_SPEARMAN (Spearman's rank correlation coefficient)

NEW BUILT-IN CONVERSION FUNCTIONS

CURRENCY_CONVERSION - for converting between currencies

TIMESTAMPL, DATS and TIMS – to convert time stamps into dates or times, and vice versa

TO_CLOB and TO_BLOB, and geometry conversion function AS_GEO_JSON to support

streaming and locators on SQL expressions

NEW STRING FUNCTIONS

REPLACE_REGEXPR, LIKE_REGEXPR, and OCCURRENCES_REGEXPR - supporting regular

expressions

Page 28: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

28PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP SQL – ABAP Platform 2020 feature scope (2)

DATE AND TIME FUNCTIONS

UTCL_CURRENT, UTCL_ADD_SECONDS, and UTCL_SECONDS_BETWEEN – to perform

operations on time stamps

DATN_DAYS_BETWEEN, DATN_ADD_DAYS, and DATN_ADD_MONTHS – working with arguments

of the built-in data types DATN and DATS

NEW WINDOW FUNCTIONS

FIRST_VALUE and LAST_VALUE in window expressions – to return the first and the last

value of a sorted set of values

NTILE in window expressions – to divide the rows of a window into n buckets with the

goal of filling all buckets with the same number of rows

ENHANCED HIERARCHY FUNCTION

New addition LOAD BULK | INCREMENTAL | load_option – to specify the load policy for a

generated hierarchy

ENHANCED SQL CONDITIONS

SQL functions and cast expressions now supported as operands on the right side of

comparison operators

The operator IN can now be used with a subquery that returns value tuples

Page 29: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

29PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP SQL – ABAP Platform 2020 feature scope (3)

VARIOUS OTHER ENHANCEMENTS AND IMPROVEMENTS

Enhanced SELECT, INTO target statement – Inline declaration of host variables allowed

for dynamic FROM-clauses with statically specified SELECT list

NULLS FIRST and NULLS LAST after the ORDER BY clause - determine whether null

values are placed before or after non-null values

Specification of set indicators after the UPDATE FROM-clause - indicate columns for update

STRING and RAWSTRING - allowed for elementary SQL expressions

TYPED LITERALS IN READ POSITIONS

Typed literals for many ABAP Dictionary data types can be used in read positions of

statements where host variables are possible and where it is always treated as an

elementary SQL expression of the specified data type

Page 30: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

30PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

02ABAP PLATFORM 2020

PRODUCT HIGHLIGHTS

ABAP RESTful APPLICATION

PROGRAMMING MODEL

Page 31: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

31PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Evolution of the ABAP programming model

ABAP Platform ≤ 7.5 ABAP Platform ≥ 7.5 SAP Cloud Platform ABAP Environment

SAP S/4HANA ≥ 1909

CLASSIC

ABAP PROGRAMMING

ABAP PROGRAMMING MODEL

FOR SAP FIORI

ABAP RESTful APPLICATION

PROGRAMMING MODEL

Best practice freestyle

ABAP programming

SEGW / @OData

Referenced Data Source

Core Data

Services (CDS)

CDS-based

BOPF

Business Service

Core Data

Services

Behavior Definition

& Implementation

Page 32: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

32PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP RESTful Application Programming Model (RAP) – In a nutshell

The ABAP RESTful APPLICATION

PROGRAMMING MODEL consists of …

CONCEPTS

TOOLS

FRAMEWORKS

LANGUAGES

… for the efficient development of

ENTERPRISE-GRADE APPLICATIONS

Service development

SAP Fiori UI services

Web APIs

Available on-premise

and in the cloud

SAP S/4HANA

SAP Cloud Platform

ABAP environment

Universally usable

programming model

Greenfield

developments

Brownfield

developments

BEST PRACTISES

Get started with the ABAP RESTful Application Programming Model

Page 33: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

33PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Development Tools in Eclipse for all development tasks

Easy developer onboarding

End-to-end development flow

Languages: ABAP and CDS

Standard implementation tasks via typed APIs supporting

static code checks, auto-completion, element info

Powerful frameworks

Take over technical implementation tasks

Business logic added in code exits on protocol-agnostic layers

RAP – The key players

Page 34: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

34PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

RAP – The big picture

BUSINESS OBJECTS QUERIES

DATA MODELING &

BEHAVIOR

SERVICE BINDING - Bind to protocol version and scenario

BUSINESS

SERVICES

PROVISIONING

SAP Fiori UI

Consume OData UI services

Web API

Consume OData Web APIs

SERVICE

CONSUMPTION

CDS: Data modeling

BDEF: Behavior definition

ABAP: Behavior implementation

CDS: Data modeling

SERVICE DEFINITION - Define scope to be exposed

BDEF: Behavior projection

BUSINESS OBJECT PROJECTION

ABAP: Behavior implementation

CDS: Projection views

Page 35: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

35PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

RAP – What is a business object?

Data Model

1 3

2

COMPOSITION

TREE

(root, parent and child nodes)

Behaviour

CRUD, Actions, Functions

Locks, eTag

Authorizations, Feature Control

Draft

Runtime Implementation

INTERACTION PHASE

SAVE SEQUENCE

TX buffer

R

Page 36: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

36PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

RAP – Business object (BO) runtime implementation types

MANAGED

For greenfield developments with standard implementation

(opt. unmanaged appl. components: DB tables, lock/PFCG object, update task FM)

➔ Standard CRUD operations work out-of-the-box

➔ Developers add BO-specific business logic

UNMANAGED

For brownfield developments with available application code for

interaction phase, transactional buffer, and save sequence

➔ Developers in charge of BO runtime: CRUD operations

➔ Adapters needed to integrate the existing code

SAP HANA

finalize

SAVE

SEQUENCE

MO

DIF

Y

RE

AD

INTERACTION

PHASE

check_before_save

adjust_numbers

save

Transactional buffer

LO

CK

BUSINESS OBJECT RUNTIME

Page 37: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

37PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

RAP – What is a business service?

1

32

Service Binding

Protocol: OData V2 or OData V4?

Scenario: Web API or UI?

Tool support

UI: SAP Fiori Elements preview

Web API: Swagger UI preview

Web API Lifecycle

Release

Versioning

Deprecation

4

R

BO Projection View: which elements?

Behavior Projection: which behavior?

Service Definition: which entities?

Page 38: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

38PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

RAP – Development flow

CDS BEHAVIOR

DEFINITION

ADD

BEHAVIOR

IMPLEMENT

BEHAVIOR

ABAP CODE

Authority object

AUTHORITY-CHECK

Lock object

CDS

access controlQUERY

DATA ACCESS

CONTROL

AUNIT

Scenario & integration test

CDS BASED

DATA MODEL

AUNIT

Unit test

DEFINE SCOPE

SERVICE

DEFINITION

DEFINE SCENARIO and PROTOCOL

SERVICE

BINDING PREVIEW

RoleDEFINE ROLES

BEHAVIOR

PROJECTION

ADD

BEHAVIOR

DATA MODEL

PROJECTION

PROJECT ELEMENTS & ENRICH PROJECT BEHAVIOR

DATABASE

TABLES

Page 39: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

39PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

MANAGED BUSINES OBJECT

External and UUID-based numbering

Determinations and validations for create, update, delete, and field trigger

Break-outs: Unmanaged lock/save, additional save, persistence mapping

RAP – ABAP Platform 2020 feature scope

DRAFT HANDLING

Draft support for universally unique identifier (UUID)-based behavior definitions

BUSINESS OBJECT (BO)

SAVE message mapping

Instance-based authorization and feature control

Operation precheck

BO viewer (relation explorer)

BO projection layer

TESTABILITY

BO test double framework

DOCUMENTABILITY

Knowledge transfer documents for CDS views, behavior definition, and service binding

Page 40: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

40PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

02ABAP PLATFORM 2020

PRODUCT HIGHLIGHTS

ABAP CODE ANALYSIS TOOLS

Page 41: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

41PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Code Analysis ToolsAdvanced quality assurance

SQL Monitor for runtime SQL performance analysis in productive

ABAP-based systems

Classic performance monitoring and trace tools

(SQL Trace, ABAP runtime analysis/Profiler…)

ABAP Test Cockpit for static quality checks and unit tests

Page 42: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

42PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Technical infrastructure for custom code analysis

CENTRAL ATC SYSTEM TO ANALYZE CUSTOM CODE

in whole system landscape

REMOTE stubs return a model from custom code

CHECK LOGIC is executed on central system

RESULT is analyzed in central system

INTEGRATED in development environment

MOST CUSTOM CODE is supported (incl. modifications and

enhancements, Adobe Forms, Smart Forms, SAP Queries)

SUPPRESS false-positive findings with pseudo-comments

e.g. for MATNR findings

INSTALL Simplification DB via Note 2241080

ESSENTIAL for custom code migration to SAP S/4HANA

Central Check System

Checked System A

(>=7.00)

Customer

Code

Checked System B

(>=7.00)

Checked System C

(>=7.00)

RFC RFC RFC

ABAP Test Cockpit (ATC)

Remote Stubs

Customer

Code

Customer

Code

Simplification

DB

Check out Remote code analysis with ATC

Page 43: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

43PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ATC Statistics View for better analysis of findings

USE STATISTICS VIEW with display criteria:

SAP Note number

Referenced Object

Application component

USE DOUBLE-CLICK NAVIGATION from ATC result

Navigate to SAP Notes, Referenced Objects, ATC

findings

USE SAP S/4HANA SIMPLIFICATION INFORMATION in

ATC result with filtering and sorting capabilities:

SAP Note number incl. title

Referenced object

Application component

ATC Statistics View with Simplification Item information

Page 44: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

44PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

BASELINE CONCEPT

Take over individual ATC results into the baseline

Options:

suppress all findings (exclude from the ATC result)

indicate the findings as exempted

assign the low priority to the findings

The baseline is effective as long as the related code sections

remain unchanged

BASELINE ACTIVITIES

Adding/Removing individual check results

Deleting baseline (reset the test system to original state)

Baseline in ATC – Focus on findings in new or recently changed code

Baseline management

Check out Working with Baseline in ATC

Page 45: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

45PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Using ATC as Developer

ABAP TEST COCKPIT (ATC)

Tightly integrated in development (`Run As…` menu)

Browse all ATC check runs of the system (filter by users)

using ATC Result Browser

For custom code migration to SAP S/4HANA conversion:

Simplification Item information (e.g. SAP Notes, Referenced

Objects)

Integrate checks in your on-going development activities,

e.g. during transport release

AUTOMATIC CODE ADAPTATIONS

Quick Fixes to minimize adaptation efforts

Examples: No Order-Check

Quick Fixes in the ATC Problems View

Quick Fixes in the Source Code Editor

Run ATC in ABAP Development Tools in Eclipse

Page 46: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

46PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Performance tuning using SQL Monitor

PERFORMANCE DATA FOR ALL SQLs executed in your productive

system

What are the most expensive and most frequently executed SQLs?

Which SQL reads/writes millions of records?

What is the SQL profile of transaction VA01?

LINK the MONITORED SQLs TO the driving TRANSACTION

AVAILABLE FOR SAP NETWEAVER >= 7.00

SQL MONITOR DOES NOT HARM YOUR BUSINESS PROCESSES

(performance overhead < 3%)

Check out SQL Monitor Guide and Best Practices

Page 47: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

47PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SQL Monitor – Example

DRILL DOWN

SQL PROFILE OF REPORT ZSQLM_TEST3 RUNNING AS BATCH JOB (6 SQL STATEMENTS)

BUSINESS PROCESS LIST RANKED BY TOTAL DB TIME

CODE

NAVIGATE

Page 48: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

48PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

02ABAP PLATFORM 2020

Product Highlights

CUSTOM CODE MIGRATION TO

SAP S/4HANA AND CLOUD

Page 49: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

49PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Transformation to SAP S/4HANA and cloud – Your custom ABAP code

on premise cloud

SAP NETWEAVER

AS FOR ABAP 7.x

SAP BUSINESS SUITE

ABAP PLATFORM 2020

SAP S/4HANA

ABAP PLATFORM CLOUD 2011

SAP S/4HANA CLOUD

JAVA or Node.js APPS &

EXTENSIONS

ABAP APPS & EXTENSIONS

SAP CLOUD PLATFORM

ABAP ENVIRONMENT 2011

SAP Cloud Platform

supports SAP S/4HANA

and Cloud

transformation

Save harbor for loosely

coupled custom

extensions

extend extend extend

SAP CLOUD PLATFORM

CUSTOM CODE ADAPTATION

Page 50: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

50PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SAP S/4HANA system conversionCustom code related process

Application specific

follow-up activitiesCustom code preparation

Preparation phase Realization phase

System

requirements

Maintenance

plannerSI checks

Software Update

Manager (SUM)

Usage tracking of custom code in production

(SCMON/SUSG or UPL)

Custom Code Migration App

to detect unused code

Remove unused code via SUM

Custom code scoping

Adjust modifications in SPDD/SPAU

ADT for Eclipse

Quick Fixes for semi-automated

custom code adaptation

Functional adaptation

Custom code preparationApplication specific

follow-up activities

Remote ATC to check for S/4HANA related changes

(Simplification DB)

Custom Code Migration App

for efficient custom code analysis

Custom code analysis

Custom code optimization

Performance tuning

Code pushdown

Simplification

User experience

Check out Custom Code

Adaptation process

Page 51: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

51PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

MONITOR usage of your custom code via the ABAP Call Monitor

(transaction SCMON)

AGGREGATE usage data in your production system with

SUSG transaction (without SAP Solution Manager *)

ANALYZE usage data in SAP Fiori App Custom Code Migration

to define custom code migration scope

REMOVE unused code during the SAP S/4HANA conversion

automatically via SUM

Custom code scoping

Aggregate usage data in SUSG transaction

Scoping in SAP Fiori App Custom Code Migration

* Custom code evaluation with CCLM/UPL tools of SAP Solution Manager is still possible

Page 52: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

52PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

USE PREDEFINED FILTERS

Findings by SAP Note

In which SAP S/4HANA simplification areas you

get the most findings?

Findings by Scope

How many findings are in the custom code you

take over to SAP S/4HANA?

Findings by Priority

What are the most important (urgent) findings?

Findings by Quick Fix Availability

Which findings can be fixed automatically?

AGGREGATION AND FILTERING OF FINDINGS

FOCUS ON USED CUSTOM CODE

DRILL-DOWN TO ATC RESULTS

Analysis of SAP S/4HANA findings in SAP Fiori App Custom Code Migration

Analysis in SAP Fiori Custom Code Migration App

Check out SAP Fiori App Custom Code Migration

Page 53: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

53PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Semi-automatic custom code adaptation in ADT for SAP S/4HANA

QUICK FIXES to minimize adaptation efforts

Order By

MATNR and Amount Field Length Extension

Field length extension of field VBTYP (SD document category) and

elimination of field VBTYP_EXT

Reduce findings for VBRK and VBRP

Data Model Changes, e.g.

KONV

VBUK/VBUP

BSEG

MASS-ENABLED Quick Fixes to adapt whole work

packages in one step

Mass-enabled Quick Fixes in the ATC Problems View

Quick Fixes in the Source Code Editor

Check out Semi-automatic custom code adaptation

Page 54: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

54PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Custom code analysis for Cloud with SAP Fiori App Custom Code Migration

Analysis for Cloud in SAP Fiori App Custom Code MigrationCUSTOM CODE MIGRATION FIORI APP BASED ON

REMOTE ABAP TEST COCKPIT

AUTOMATIC SCOPING OF CUSTOM CODE

DEPENDENT OBJECTS

DETECT USAGE OF NON SUPPORTED

TECHNOLOGIES (e.g. DYNPRO)

DETECT USAGE OF NON-RELEASED OBJECTS

DETECT INCOMPATIBILITIES WITH ABAP LANGUAGE

VERSION CLOUD

EVALUATION FOR AUTOMATED CODE ADAPTATION

(QUICK FIXES IN ADT)

Check out Custom code analysis for Cloud

with SAP Fiori App Custom Code Migration

Page 55: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

55PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Custom code transformation for SAP Cloud Platform ABAP Environment

BACKEND SYSTEMe.g. SAP ERP, SAP S/4HANA,

SAP NetWeaver AS ABAP SAP CLOUD PLATFORM ABAP ENVIRONMENT

ABAP custom code

PUSH2

Custom Code Migration App

1 ANALYZE

CLOUD

CONNECTOR

4 ADAPT

ABAP custom codeABAP Development Tools

3 PULL

Check out How to bring your ABAP custom code to SAP Cloud Platform ABAP Environment

Page 56: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

56PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Semi-automatic code adaptation for custom code migration to Cloud

MASS-ENABLED QUICK FIXES IN ADT IN ECLIPSE TO

MINIMIZE ADAPTATION EFFORTS

Adapt to ABAP Language Version Cloud

Adapt to usage of released objects

API calls instead of direct access to SY fields

EXAMPLES: USE CASES FOR QUICK FIXES

Replace Data Element by

released Data Element (->ABAP_BOOLEAN)

Replace syntax element by new syntax element (e.g. MOVE)

ABAP custom code

Quick Fixes in ATC Problems View of

ABAP Development Tools in Eclipse

Check out Semi-automatic custom code adaptation

for SAP Cloud Platform ABAP Environment

Page 57: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

57PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Configure SAP Fiori App Custom Code Migration in the Cloud with CIAS

Page 58: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

58PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Custom code analysis options

Remote ATC with SAP GUI SAP Fiori Custom Code Migration AppSAP Fiori Custom Code Migration App

in SAP Cloud Platform

Required system Central ATC check system 1 Central ATC check system 2 SAP Cloud Platform,

ABAP Environment

System location in customer landscape in customer landscape cloud

Remote connectivity via RFC via RFC via RFC and SAP Cloud Connector

Technical configuration manual manual with CIAS

Analyze Cloud findings 3

Analyze SAP S/4HANA findings

Simplification information in ATC

result

Filter results by scope and Quick Fix

availability

Define custom code migration scope

based on usage data

Remove unused code during system

conversion via SUM

1 SAP_BASIS 7.52 2 SAP S/4HANA >=1809

3 Only SAP S/4HANA >=1909

Page 59: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

59PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SAP FIORI APP CUSTOM CODE MIGRATION

Available in SAP Cloud Platform, ABAP environment

Technical configuration in the cloud with Cloud Integration Automation Service (CIAS)

Support for Greenfield projects

Analysis of source code complexity

Integration of ATC check results into SAP Readiness Check 2.0

Custom code analysis tools feature scope

QUICK FIXES IN ABAP DEVELOPMENT TOOLS IN ECLIPSE

Provide comments for quick-fixed source code in Quick Fixes

New Quick Fix for SD Billing Documents (for DB accesses to VBRK, VBRP)

Improve Quick Fixes for VBTYP

Page 60: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

60PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Custom code analysis tools (1)

SAP Fiori app Custom Code Migration now

supports SAP S/4HANA greenfield projects

Check out Comments for the ADT Quick Fixes

Quick Fixes provide comments for the original source code

Download ATC check results in SAP Fiori app Custom

Code Migration for upload to SAP Readiness Check 2.0

Page 61: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

61PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Custom code analysis tools (2)

Check out Custom Extensions in SAP S/4HANA Implementations - A Practical Guide for Senior IT Leadership

COMPLEXITIY ANALYSIS IN SAP FIORI APP

CUSTOM CODE MIGRATION

Spot the top complex executables and

development packages in your custom code

Identify candidates for redesign to save

adaptation effort and future maintenance costs

Remove complex development packages from

scope

Page 62: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

62PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

02ABAP PLATFORM 2020

PRODUCT HIGHLIGHTS

ABAP CONNECTIVITY

Page 63: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

63PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP PUSH CHANNELS – CONNECTING THE WORLD

Direct communication with sensors/machines

Push sensor data directly to UIs or to the Cloud

Extended protocol support:

WebSocket

native TCP/IP protocols (AS ABAP 7.50)

MQTT (ABAP Platform 1809)

ABAP MESSAGING CHANNEL – COLLABORATION

Transport sensor data across ABAP sessions

Publish sensor data to bound WebSocket connections immediately

Real-time monitoring and Industrial IoT with ABAP Channels

ABAP SYSTEM

ABAP Push Channel

Direct TCP/IP communication

USER INTERFACESENSORS /

MACHINES

Application

Server

User session

Application

Server

User sessionABAP Messaging

Channel (pub/sub)

Check out ABAP Connectivity

Page 64: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

64PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SUPPORTABILITY

Standard ABAP supportability tools for debugging, runtime analysis

and performance, kernel trace

Transaction SMWS shows active WebSocket, TCP Socket and

MQTT subscriptions on each app server

Supportability tools integrated into SAPC, SMWS transactions

TCP log

SECURITY

Virus scan profile for messages, authorization for involved

addresses and domains

Secure communication using SSL (TCPS for TCP Sockets and

WSS for WebSockets)

Supportability and security for ABAP Channels

TCP log

SMWS

Page 65: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

65PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Daemons

Always available ABAP sessions to handle real-time events

Implement a daemon application

Monitor active daemons with SMDAEMON

FEATURES

Daemon session with event handling capabilities

Similar to Windows Services or Linux cron jobs

Long-lived: once started, there is no limit for the lifetime

Robust against errors (E/A/X messages)

Event-driven programming model (ABAP Channels like)

Monitoring & Supportability

USAGE EXAMPLES

Events scheduling

Tracing & Logging

Health Check, clean up of resources, synchronization

of caches and error handling

Proxy-Session for external communication

Check out ABAP Daemons

Page 66: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

66PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

WebSocket RFC

RFC IS READY FOR INTERNET USE

WebSocket RFC uses standard HTTP infrastructure: Reverse

proxies, HTTP routers, etc. instead of proprietary SAP router

VPN tunneling no longer needed for RFC connections across

business networks

Same CALL FUNCTION statement for RFC over WebSocket and

CPIC

Use new destination type “W” for RFC calls via WebSocket

Security: HTTPS enforced and UCON protection for WebSocket

RFC with dedicated allowlist to make Function Modules

accessible from the internet.

Limitations by WebSocket RFC: RFC callbacks

and calling function modules that open SAP GUI-based user

interfaces not supported

WebSocket RFC

Check out WebSocket RFC

Page 67: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

67PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ABAP Connectivity– ABAP Platform 2020 feature scope

AMQP SUPPORT IN ABAP

API to implement AMQP Clients (AMQP specification 1.0)

Communication

Point-to-point or publish-and-subscribe (via a message broker)

ABAP to ABAP, ABAP to non-ABAP

Based on ABAP Push Channel technology

Connection types: WebSocket and TCP Socket

Event-driven programming model (ABAP Channels like)

APC Security and Supportability

SYSTEM-INTERNAL RFC FUNCTION MODULES

Develop RFC function modules for purely system-internal use

AMQP-based message exchange via a broker

System-internal RFC function module

Page 68: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

68PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

02ABAP PLATFORM 2020

PRODUCT HIGHLIGHTS

SAP S/4HANA EXTENSIBILITY

Page 69: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

69PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SAP S/4HANA Extensibility

In-app extensibility and side by side extensibility

SAP Cloud Platform

for side by side extensions

and cloud integration

Key user can do

easy changes directly

in the app

Page 70: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

70PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SAP S/4HANA Extensibility

In-app extensibility

SAP S/4HANA

UI

Database

In-app

extensionsApplication

Custom fields

Custom user interface

Custom Business Objects

Custom business logic

Custom reports / queries

Custom forms / reports

Extensibility inventory

Extensibility cockpit

Page 71: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

71PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

XCO LIBRARY

Use XCO (Extension Components) library for efficient development experience

In-app Extensibility – ABAP Platform 2020 feature scope

CUSTOM BUSINESS OBJECTS

Select which operations (create, update, and/or delete) are allowed for the root node

and each sub-node when custom business object is accessed via UI or service

Select the value of a field to be the title of the details page on the generated UI.

CUSTOM FIELDS AND LOGIC

Select custom fields on the Data Source Extensions tab

Specify a logic to control the visibility of your custom field dynamically in the UI

Define a label and tooltip for your data source extension fields

Add value help for your data source extension fields

Page 72: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

72PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

02ABAP PLATFORM 2020

PRODUCT HIGHLIGHTS

FURTHER ENHANCEMENTS

Page 73: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

73PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

APPLICATION PLATFORM AND INFRASTRUCTURE

New client management tools

Debugging of ABAP batch jobs in transaction SM37

SAP Web Dispatcher supports 1 million concurrent client connections on Linux

Time-Based One-Time Passcodes (TOTP) for Credential Validation Workflows

Further enhancements – ABAP Platform 2020 feature scope

Page 74: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

74PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Further enhancements in ABAP Platform 2020

NEW CLIENT MANAGEMENT TOOLS

Page 75: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

75PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

03SAP CLOUD PLATFORM

ABAP ENVIRONMENT

Page 76: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

76PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Vital parts of SAP Cloud Platform, ABAP environment

SAP Cloud

Platform

AI business

services

Process

automation

Analytics

SAP CloudPlatform

services

SAP Cloud Platform, ABAP environment

ABAP platform as a service

Connectivity

SAP HANA

Cloud

On premise

SAP system

Non-SAP systemSAP Cloud Platform

Connectivity service

Cloud

WEB APIWEB APIWEB APIWEB API

HTTP services and new ABAP RESTful

programming model

utilizing

Core data services

Cloud-optimized ABAP

language

Cloudcockpit

GIT code management

ABAPdevelopment

tools in Eclipse

Page 77: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

77PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SAP Cloud

Platform

SAP CloudPlatform

Services

SAP Cloud Platform ABAP

Environment

ABAP extension

connectivity

SAP HANA

Use SAP Cloud Platform, ABAP

environment, to extend

SAP S/4HANA Cloud or other cloud

solutions from SAP.

Cloud solutions from SAP such as SAP

S/4HANA Cloud provide in-app extensibility to

extend SAP applications and processes. But

there is no support for classic custom ABAP

development on top of SAP S/4HANA Cloud.

SAP Cloud Platform is the foundation to

develop and run custom cloud extensions. The

ABAP environment shall be used for ABAP-

based cloud extensions.

Extension scenario 1: Cloud ERPExtend SAP S/4HANA Cloud or other SAP cloud offerings with cloud extensions

CLOUD

AI Business

Services

Process

Automation

Analytics

Page 78: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

78PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

ON PREMISE

Extension scenario 2: Innovation PlatformDevelop and run innovative ABAP apps on a PaaS in the Cloud

Benefit from the newest ABAP Platform and

SAP HANA database technologies independent

from your existing on-premise system

landscape

Build your Fiori apps with the new future proof

ABAP RESTful Programming Model

Utilize SAP Cloud Platform services like IoT,

machine learning etc. in your cloud extension

Delegate operation of the ABAP PaaS and new

technologies to SAP

SAP ERP

SAP Cloud

Platform

SAP CloudPlatform

Services

SAP Cloud Platform, ABAP

environment

ABAP EXTENSION

connectivity

SAP HANA

AI Business

Services

Process

Automation

Analytics

SAP Cloud Platform

Connectivity service

Page 79: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

79PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

SAP Cloud

Platform

SAP CloudPlatform

Services

SAP Cloud Platform, ABAP

environment

ABAP extension

connectivity

SAP HANA

Extension scenario 3: Hub-like usage Decouple ABAP implementations from your core business systems

External user group

Make your cloud app available to a broader audience that does

not have access to your core business systems (e.g. consumer

apps)

Integration hub

Integrate in your cloud extension multiple cloud/on-premise

systems with SAP/non-SAP cloud services

Data integration

Collect data from multiple sources in your cloud extension for

further processing and analysis

Decoupled extension

Cloud extensions use only well defined (remote) APIs of the

Business system. This reduces the risk and effort for business

system upgrades.

ON PREMISE

SAP S/4HANA

SAP System

Non-SAP System CLOUD

WEB APIWEB APIWEB APIWEB API

AI Business

Services

Process

Automation

Analytics

SAP Cloud Platform

Connectivity service

Page 80: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

80PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Trial offering – available NOW: https://cockpit.hanatrial.ondemand.com

For educational purposes only

Shared

Trial

Offering

No content separation between

different users

Trial users share the same

backend system

365 days lifetime1month onboarding

Lifetime

of a trial

system

System will be deleted

after 365 days

RULES OF THE GAME

ACCESS TO TRIAL SYSTEM

SAP Cloud Platform trial access

https://cockpit.hanatrial.ondemand.com

ABAP Trial is part of Cloud Foundry trial

Access via SAP Cloud Platform Cockpit

Local Eclipse and ADT installation required

Page 81: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

81PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

04SUMMARY

Page 82: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

82PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

01

01

03

03

03

Summary – Key takeaways

ABAP Platform 2020

01First class development experience in Eclipse using enriched

ABAP language and tools

Enhanced ABAP CDS, ABAP SQL and various SAP HANA

optimizations for advanced data modelling and access

Enhanced feature scope of the ABAP RESTful Application

Programming Model (RAP) – incl. support of managed scenarios

and draft handling

Real-time events with ABAP Channels and ABAP Daemons,

Industrial IoT, and M2M communication, WebSocket RFC,

MQTT and AMQP support

Best quality assurance with code analysis tools, efficient custom

code adaptation for SAP S/4HANA and Cloud

Enhanced In-App extensibility and side-by side extensibility with

SAP Cloud Platform

Page 83: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

83PUBLIC© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Further Information

SAP HELP PORTAL

What‘s New in ABAP Platform in SAP S/4HANA 2020

SAP COMMUNITY

ABAP Developmenthttps://community.sap.com/topics/abap

ABAP Testing and Analysishttps://community.sap.com/topics/abap-testing-and-analysis

ABAP Connectivityhttps://community.sap.com/topics/abap-connectivity

ABAP Extensibilityhttps://community.sap.com/topics/abap-extensibility

SAP Cloud Platform ABAP Environment https://community.sap.com/topics/cloud-platform-abap-environment

DEVELOPERS ON SAP.COM

ABAP Platform: https://developers.sap.com/topics/abap-platform.html

Tutorials: https://developers.sap.com/tutorial-navigator.html?search=abap

Page 84: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

Contact information:

Carine Tchoutouo Djomo

Product Management

Technology Core Platform, SAP SE

[email protected]

Olga Dolinskaja

Product Management

Technology Core Platform, SAP SE

[email protected]

Thank you.

Page 85: ABAP Platform in SAP S/4HANA 2020 Overview and Product … · 2020. 12. 6. · PUBLIC ABAP Platform Product Management, SAP November 2020 ABAP Platform in SAP S/4HANA 2020 Overview

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

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 components of 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 affiliated companies 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 are set 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 release any 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. The information 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 risks and uncertainties that could cause actual results to differ

materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they

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/copyright for additional trademark information and notices.

www.sap.com/contactsap

Follow us