18
PUBLIC Olga Dolinskaja, SAP April 02, 2020 Move Your ABAP Code to the Cloud NOTE: Delete the yellow stickers when finished. See the SAP Image Library for other available images.

Move Your ABAP Code to the Cloud - Amazon Web Services

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Move Your ABAP Code to the Cloud - Amazon Web Services

PUBLIC

Olga Dolinskaja, SAP

April 02, 2020

Move Your ABAP Code to the Cloud

NOTE: Delete the yellow stickers when finished.

See the SAP Image Library for other available images.

Page 2: Move Your ABAP Code to the Cloud - Amazon Web Services

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 of 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 presentation 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 materially 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: Move Your ABAP Code to the Cloud - Amazon Web Services

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

Agenda

Custom code migration to SAP Cloud Platform ABAP Environment

Summary

Page 4: Move Your ABAP Code to the Cloud - Amazon Web Services

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

Custom code development in the Cloud

SIDE-BY-SIDE EXTENSIONS IN SAP CLOUD

PLATFORM ABAP ENVIRONMENT

Clear separation of core logic and extension logic

Access to business data via remote APIs

Reuse your ABAP skills in the Cloud

Save your investments in the Cloud

End2End developer experience with

ABAP Development Tools in Eclipse

DE-COUPLING

Side-by-side approach adds speed and

flexibility for upgrades and custom /

partner driven innovation

BACKEND SYSTEM

SAP BUSINESS SUITE

SAP S/4HANA on premise

SAP S/4HANA Cloud

…..

SAP HANA TENANT

SAP CLOUD PLATFORM

ABAP Environment

ABAP FOUNDATION

BUSINESS LOGIC

ABAP RESTful Programming Model

Core Data Services & AMDP

ABAP Language version Cloud

Released APIs

SAP FIORI UI

Remote APIs

Page 5: Move Your ABAP Code to the Cloud - Amazon Web Services

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

Main principles for custom code in SAP Cloud Platform ABAP Environment

RETRIEVE

APPLICATION DATA OR APPLICATION LOGIC

Access via remote APIs, e.g. RFC modules, BAPIs

UI

TECHNOLOGIES IN THE CLOUD

SAP Fiori based UIs based on RESTful ABAP

Programming Model (RAP) or

Free style UI via standard HTTP services

DEVELOPMENT

SCENARIOS IN THE CLOUD

Side-by-side extensions

No extension points or modifications possible

ACCESS

FROM CUSTOM CODE TO SAP CODE

Via released APIs

ABAP LANGUAGE

VERSION CLOUD

ABAP language for SAP Cloud Platform

Subset of ABAP statements

SAP HANA

READINESS

Custom code must be ready for SAP HANA

Page 6: Move Your ABAP Code to the Cloud - Amazon Web Services

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

ALL KINDS OF CUSTOM CODE are supported (incl.

modifications and enhancements)

SUPPRESS false-positive findings with pseudo-comments

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

Find more about Remote code analysis with ATC

in the SAP community

Simplification

DB

Page 7: Move Your ABAP Code to the Cloud - Amazon Web Services

7PUBLIC© 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)Find more about Custom code analysis for Cloud

with SAP Fiori App Custom Code Migration in the

SAP community

Page 8: Move Your ABAP Code to the Cloud - Amazon Web Services

DemoAnalyze your custom code for Cloud with SAP Fiori App Custom Code Migration

Page 9: Move Your ABAP Code to the Cloud - Amazon Web Services

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

Custom code transformation to SAP Cloud Platform ABAP Environment

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

SAP NetWeaver AS ABAP SAP CLOUD PLATFORM ABAP ENVIRONMENT

ABAP Development Tools

2

Custom Code Migration App

1 ANALYZE

PUSH

ABAP custom code

CLOUD

CONNECTOR

3 PULL

4 ADAPT

ABAP custom code

Find more about How to bring your ABAP custom code to

SAP Cloud Platform ABAP Environment in the SAP

community

Page 10: Move Your ABAP Code to the Cloud - Amazon Web Services

DemoBring your custom code to Cloud with abapGit

Page 11: Move Your ABAP Code to the Cloud - Amazon Web Services

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

Functional adaptation in ABAP Development Tools (ADT) in Eclipse

ABAP TEST COCKPIT IN ADT

Tightly integrated in development (“Run As…” menu)

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

ATC Result Browser

Display information (e.g. SAP Notes, Referenced Objects) incl.

navigation

Integrate checks in your on-going development activities, e.g.

during transport release

ATC Problems View

Run ATC in ABAP Development Tools in Eclipse

Page 12: Move Your ABAP Code to the Cloud - Amazon Web Services

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

Semi-automatic code adaptation for custom code migration

MASS-ENABLED QUICK FIXES IN ADT IN ECLIPSE TO

MINIMIZE ADAPTATION EFFORTS

Adapt to ABAP Language Version Cloud

Adapt to usage of released objects

EXAMPLES: USE CASES FOR QUICK FIXES

Replace Data Element by

released Data Element (->ABAP_BOOLEAN)

new DDIC Data Element or inline defined type

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

Replace API call by released API call

ABAP custom code

Quick Fixes in ATC Problems View of

ABAP Development Tools in Eclipse

Find more about Semi-automatic custom code adaptation

for SAP Cloud Platform ABAP Environment in the SAP

community

Page 13: Move Your ABAP Code to the Cloud - Amazon Web Services

DemoAdapt your custom code for Cloud with ADT Quick Fixes

Page 14: Move Your ABAP Code to the Cloud - Amazon Web Services

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

Custom code adaptation for SAP Cloud Platform ABAP Environment

POSSIBLE FURTHER ADAPTATIONS

Adjust to ABAP language version ‘Cloud’

Adapt released APIs

Correct SAP HANA functional issues (ORDER BY)

Optimize towards SAP HANA (e.g. code pushdown)

Develop SAP Fiori Uis

Use ABAP RESTful Programming Model

SAP CLOUD PLATFORM ABAP ENVIRONMENT

ABAP Development Tools

ADAPT

ABAP custom code

Page 15: Move Your ABAP Code to the Cloud - Amazon Web Services

15PUBLIC© 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 App SAP Fiori Custom Code Migration App

in SAP Cloud Platform

Required systemCentral ATC check system

(SAP_BASIS 7.52)

Central ATC check system

(SAP S/4HANA >=1909)

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

Analyze Cloud findings

Filter results by scope and Quick Fix

availability

Page 16: Move Your ABAP Code to the Cloud - Amazon Web Services

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

Key takeaways

Technical infrastructure for all static checks on your ABAP custom code

is Remote ABAP Test Cockpit (ATC)

Execute your custom code analysis for cloud using

SAP Fiori App Custom Code Migration

Automated custom code adaptation in a highly efficient way is offered in

ABAP Development Tools in Eclipse with mass-enabled Quick Fixes

02

03

01

Custom code adaptation is necessary for

SAP Cloud Platform ABAP Environment

Optimize your custom code using

code pushdown, performance tuning, ABAP RESTful Programming Model

(RAP)

03

Page 17: Move Your ABAP Code to the Cloud - Amazon Web Services

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

SAP Community for ABAP Testing and Analysis: https://www.sap.com/community/topics/abap-testing-analysis.html

Further information

Page 18: Move Your ABAP Code to the Cloud - Amazon Web Services

Thank you.

Contact information:

Olga Dolinskaja

Product Management of ABAP Platform, SAP SE

[email protected]