abap development tools for sap cloud platform abap

22
PUBLIC Product Management Technology Platform, SAP September, 2018 ABAP Development Tools for SAP Cloud Platform ABAP Environment

Upload: khangminh22

Post on 05-Feb-2023

1 views

Category:

Documents


0 download

TRANSCRIPT

PUBLIC

Product Management Technology Platform, SAP

September, 2018

ABAP Development Toolsfor SAP Cloud Platform ABAP Environment

2INTERNAL© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ

After completing this learning module, you will be able to

Enable SAP Cloud Platform ABAP Environment for ABAP Development Tools (ADT)

Connect to ABAP System with ADT in the SAP Cloud Platform ABAP Environment

Create your first ABAP Cloud Project

Browse and search whitelisted ABAP development objects

Write ABAP source code considering whitelist

Objectives

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

Agenda

SAP Cloud Platform ABAP Environment in a Nutshell

Motivation

Main use cases

Vital parts

ABAP Development Tools

Overview

Enable SAP Cloud Platform ABAP Environment for ADT

Connect to ABAP System

Develop considering whitelisted ABAP development objects and restricted ABAP

Summary

SAP Cloud Platform ABAP Environment

In a Nutshell

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

Motivation

Customer Base Transition to CloudEnterprise Readiness

Huge customer and partner base

running ABAP based solutions with

custom code

ABAP as proven environment for

enterprise ready business

applications with competitive cost

of development

Growing market adoption of

SAP S/4HANA Cloud with

tailored extensibility for customers

and partners

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

TRANSFORMATION

TO CLOUD

MARKET

OPPORTUNITIES

FOR PARTNERS

AGILE INNOVATION ON NEWEST

TECHNOLOGY POWERED BY SAP HANA

DELEGATE INFRASTRUCTURE AND

SYSTEM OPERATIONS

WHY ABAP

IN SAP CLOUD

PLATFORM?

7INTERNAL© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ

TRANSFORMATION TO CLOUD

MARKET OPPORTUNITIES

FOR PARTNERS

Develop ABAP cloud apps decoupled

from the digital core

Leverage your ABAP know how in the

cloud

Reuse your existing ABAP assetsCommercialize your apps via SAP Cloud

Platform

Benefit from large SAP customer base

Network with ABAP community

SAP CLOUD

PLATFORM ABAP

ENVIRONMENT

MAIN USE CASES

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

AGILE INNOVATION ON NEWEST

TECHNOLOGY POWERED BY SAP HANA

DELEGATE INFRASTRUCTURE AND

SYSTEM OPERATIONS

Benefit from newest ABAP

Programming Model

Exploit SAP HANA capabilities

Consume SAP Cloud Platform

services like SAP Leonardo

Regular delivery of innovations

by SAP

Scale with your business needs

Support for multiple cloud

providers

Pay per use

SAP CLOUD

PLATFORM ABAP

ENVIRONMENT

MAIN USE CASES

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

Vital parts of SAP Cloud Platform ABAP Environment

SAP

CLOUD

PLATFORM

BACKEND SYSTEM

e.g. SAP S/4HANA

Cloud, SAP S/4HANA,

SAP ERP, SAP

NetWeaver AS ABAP

ABAP

DEVELOPMENT

TOOLS IN

ECLIPSE

SAP HANA

ABAP PLATFORM AS A SERVICE CLOUD

COCKPIT

HTTP SERVICES AND NEW

RESTful ABAP PROGRAMMING

MODEL utilizing

SAP Fiori

Core Data Services

Cloud optimized ABAP language

SERVICES

ECOSYSTEM

User Management

IoT

GIT CODE

MANAGEMENT

EXTERNAL HTTP

SERVICE

ABAP Development Tools

for SAP Cloud Platform ABAP Environment

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

▪ Flexible UI, powerful source code editor incl. refactoring

▪ SQL tools incl. data preview and SQL console

▪ ABAP for SAP HANA support

▪ Toolset for Core Data Services development

▪ Eclipse-based ABAP Dictionary editors

▪ ABAP Unit test tools

▪ Troubleshooting tools

▪ Documentation capabilities with ABAP Doc

▪ Major restrictions

SAP GUI Integration

SAP Web Dynpro/Floorplan Manager Tools

Debugger read-only

No modifications

Development only in own namespaces

SAP HANA Tools, z.B. DB Procedure Proxy Editor

ABAP Development Tools in Eclipse (ADT)ABAP development in context of SAP Cloud Platform ABAP Environment

Find more details in the ABAP Development User Guide for

SAP Cloud Platform ABAP Environment

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

Access to SAP Cloud Platform Cloud Foundry

▪ Get a global account, setup subaccounts

▪ Get access to the relevant SAP Cloud products

▪ Configure your environment:

– adapt ABAP system (=service instance) to your needs

– technical setup: ADT, infrastructure to distribute your apps

Logon to SAP Cloud Platform Cloud Foundry

▪ User account for service instance

▪ Service key in JSON format for ADT access:

– URL of service instance, system ID, oauth client for

authentication on server

Enable SAP Cloud Platform ABAP Environment for ADT

•System ID•oauth client for authentication of the business user across the URL on the authentication server

•Further service binding information, for example an environment or a version of the service key

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

Create ABAP Cloud Project

▪ Access and log on an ABAP system

▪ View ABAP development objects in an ABAP system

– Local Objects: ZLOCAL and /DMO/<user_id>

– Favorites

– Released Objects: whitelisted APIs and objects

Connect to ABAP System in SAP Cloud Platform ABAP Environment

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

Object types

▪ Source code objects

▪ Dictionary objects

▪ Package

▪ Core Data Services (CDS)

▪ Message classes

▪ Connectivity (HTTP Service)

▪ …and more

How to find out which ABAP development objects are available

▪ Menu File->New->ABAP Repository Object

Get overview of ABAP development objectsWhitelisted ABAP development objects in SAP Cloud Platform ABAP Environment

Find released objects

Get overview of available

development objects

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

Object types

▪ Function modules, ABAP Dictionary objects, ABAP classes and interfaces,

Type pools, XSLT transformations, BAdI definitions, CDS views,…

How to work with released APIs

▪ Check the API state of object in the API State tab of the Properties view.

▪ Find released objects

– Open ABAP Development Object or Ctrl+Shift+A and enterapi:use_in_sap_cloud_platform

– Configure Project Explorer tree/folder with Released Objects andproperty api:RELEASED

▪ Change the release state of your own objects

Whitelisted ABAP development objectsReleased for use in SAP Cloud Platform ABAP Environment

Find released objects

Check the API state

16INTERNAL© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ

Inspect whitelisted ABAP development objects

Search for whitelisted

ABAP classesWhitelist Browser

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

Custom code development – Restricted ABAP

Invalid Statements

ABAP Language Version

Whitelist Check

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

Whitelisted ABAP development objectsReleased for use in SAP Cloud Platform ABAP Environment

Use case Development Object

Core development ABAP package, ABAP class, ABAP function group, ABAP function module, Interface, Simple transformation (ST),

Transformation (XSLT), Message Classes, Authorization Objects, Authorization Object Classes

ABAP Dictionary Domain, Data element, Database table, Lock object, Structure, Type Group, Table Type

Core Data Services

(CDS)

CDS Data Definition (DDLS) and CDS Access Control (DCLS)

Business objects Behavior definition, Behavior implementation

Business services Service definition, Service binding

Identity

management

App, Business catalog

Connectivity HTTP service

Summary

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

You should now be able to

Enable SAP Cloud Platform ABAP Environment for ABAP Development Tools (ADT)

Connect to ABAP System with ADT in the SAP Cloud Platform ABAP Environment

Create your first ABAP Cloud Project

Browse and search whitelisted ABAP development objects

Write ABAP source code considering whitelist

Summary

© 2019 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

Partner logo

Thank you.