0% found this document useful (0 votes)
225 views19 pages

Classic ABAP To ABAP Cloud (Devtoberfest 2023)

Uploaded by

helder da costa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
225 views19 pages

Classic ABAP To ABAP Cloud (Devtoberfest 2023)

Uploaded by

helder da costa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Devtoberfest

from SAP

Classic ABAP to
ABAP Cloud
Volker Drees, SAP SE
Marcel Hermanns, SAP SE
Classic ABAP and ABAP Cloud

CLASSIC ABAP ABAP CLOUD


Developer Extensibility
AUnit
SAP LUW DYNPRO SAP HANA
SAP Fiori
Steampunk CDS
DDIC
Open SQL
PBO/PAI RAP Services Stateless
ABAP List Viewer (ALV)
ABAP Cloud Key User
Transactions Reports
ABAP SQL
Work processes Business Objects User Experience
Screen Painter PF-Status Embedded Steampunk
SPAM/SPAU Upgrade stable

PUBLIC 2
Agenda

01
What is ABAP Cloud?
Why do we need it?
Where is it relevant?

02
What is different compared to classic ABAP
and why?

03
Where can I find more information?

PUBLIC 3
01
What is ABAP Cloud?
Why do we need it?
Where is it relevant?
ABAP Cloud
… is the ABAP development model to build cloud-ready business apps, services and extensions
… comes with SAP BTP and SAP S/4HANA
… works with public or private cloud, and even on-premise

PUBLIC 5
ABAP Cloud – One development model for SAP S/4HANA and for SAP BTP

SAP S/4HANA SAP S/4HANA Cloud, SAP S/4HANA Cloud, SAP BTP,
any premise1 private edition1 public edition2 ABAP Environment

ABAP Cloud development model


to build cloud-ready business apps, services and extensions

Classic ABAP development model

1 SAP S/4HANA any premise or SAP S/4HANA Cloud, private edition release ≥ 2022
2 SAP S/4HANA Cloud, public edition release ≥ 2208, 3-system landscape required

PUBLIC 6
The evolution to ABAP Cloud

(Steampunk) (Embedded Steampunk)

2012 2015 2018 09/10.2022

ABAP Cloud

PUBLIC * SAP Business Technology Platform 7


ABAP Cloud Map

UI SERVICES INTEGRATION SERVICES

Git based transport management with gCTS and abapGit


BUSINESS

Output Management, Jobs, SAP BTP Workflow, XCO,...

Cloud-readiness, IAM4, BC5, extensibility, security,...


SERVICE OData and InA1 OData, Events, HTTP, RFC, SQL

REUSE SERVICES AND LIBRARIES


EXPOSURE for SAP FIORI and analytical clients for application and data integration

ADT6, BAS7, Key User & Monitoring Tools


LIFECYCLE MANAGEMENT
BUILT-IN QUALITIES
DOMAIN-SPECIFIC MODELS
CDS2 entity, RAP3 Business Object, CDS analytical provider

TOOLS
DOMAIN-SPECIFIC
IMPLEMENTATION
DOMAIN-SPECIFIC LOGIC
ABAP, CDS

BUSINESS INTEGRATION SERVICES


DATABASE SAP HANA SERVICE OData, SOAP, Events, HTTP,
SQL and SQL Script CONSUMPTION RFC for application integration

1 Information access 3 ABAP RESTful Application Programming Model 5 Business Configuration 7 Business Application Studio
PUBLIC 8
2 Core Data Services 4 Identity& Access Management 6 ABAP Development Tools
ABAP Cloud – IDE and API examples
Custom ABAP on
SAP S/4HANA Cloud
ABAP development tools in Eclipse
Cloud-optimized ABAP language
Proven ABAP transport management

Access to public SAP APIs ONLY


– otherwise, syntax error!
No access to old Dynpro APIs
No direct select on the MARA table
from SAP

Local APIs from SAP S/4HANA


SELECT products from
SAP S/4HANA tables using the public
I_Product CDS view

PUBLIC 9
02
What is different compared
to classic ABAP and why?
Classic ABAP and ABAP Cloud
End-user perspective
DEMO

PUBLIC 11
Classic ABAP and ABAP Cloud - Developer perspective

DEMO

PUBLIC 12
DEMO ABAP List Viewer (ALV) ALV with integrated data access DEMO

Report ZRAP200_REPORT_CLASSIC_ALV Report ZRAP200_REPORT_IDA_ALV

SELECT-OPTIONS: … SELECT-OPTIONS …

Consider SELECT Make SELECT-OPTIONs


OPTIONS in OpenSQL known to ALV

CALL FUNCTION cl_salv_gui_table_ida=>


'REUSE_ALV_GRID_DISPLAY' create_for_cds_view(…)
Open SQL became ABAP SQL
Provide selected Execute real-time ❖ With extended feature set
data as iTab query including
CDS View ❖ Optimized for SAP HANA
paging, filtering, ❖ Extended for new CDS modeling
OpenSQL Queries SELECT.. sorting, text search
capabilities
❖ For all supported databases WHERE…
with common feature set Authority-Check
ABAP CDS1 Modeling
DCL CDS View ❖ Extensibility as first-class citizen
❖ Manual authority check END SELECT. ❖ Associations as manifested join
needed for each query

Authority DDIC DB Authority DDIC DB ❖ Annotations for further semantics


DDIC Modeling Object Table Object Table ❖ View layering, e.g. to separate
interface and consumption layer
❖ For reuse in multiple places
❖ Including field extensibility
Data Data ABAP CDS includes DCL2
Elements Elements
❖ Performed on database level with
better performance
Value Help Value Help
❖ All queries cover DCL and ensure
consistent reuse

SAP HANA QUERY PUSHDOWN


PUBLIC 1
2
Core Data Services (CDS) 13
Data Contraint Language (DCL)
MODEL-DRIVEN ARCHITECTURE
ALV with integrated data access SAP Fiori List Report
Service Bindings: protocol specific end-points
SAP FIORI → For Fiori related OData V4 (and V2) services
Report ZRAP200_REPORT_IDA_ALV
→ InA, SQL,…
Service Binding (OData V4)
SELECT-OPTIONS … Service Definition and Service Projection:
ZRAP200_UI_TRAVEL_O4
relevant scope for service
Make SELECT-OPTIONs
known to ALV → One architecture blueprint helps understandability of
overall architecture
cl_salv_gui_table_ida=>
create_for_cds_view(…) CDS Service Definition → Reuse of underlying data models and business logic
→ Quick creation of further scenarios
(example: SQL binding)
CDS → End-to-end extensibility
CDS View Metadata CDS View
Extension → No technical glue code
Execute real-time
query including DEMO
paging, filtering,
sorting, text search CDS Annotations
DCL CDS View DCL CDS View → Data model related semantics added declarative
(e.g. selectionField, textSearchRelevant, valueHelp)
Authority DDIC DB Authority DDIC DB
Object Table Object Table

Data Data
Elements Elements → Added in CDS View or CDS Metadata Extension
→ UI technology independent
Value Help → Multi-layering and extensibility
→ Rich feature set
SAP HANA QUERY PUSHDOWN → UI related annotations: Fiori Feature Showcase App DEMO

PUBLIC 14
Classic ALV SAP Fiori List Report ONE MODEL-DRIVEN ARCHITECTURE

Report ZRAP200_REPORT_CLASSIC_ALV SAP FIORI Behavior Definition (BDEF)


Service Binding (OData V4)
→ Represents a business object (e.g. SalesOrder)
ZRAP200_UI_TRAVEL_O4
→ Declarative approach for modeling business logic
→ Implementation hooks in ABAP (see below)
CDS Service Definition
→ Scenario specific projection
→ End-to-end extensibility (example: actions)

CDS
Metadata CDS View BDEF ABAP: Business Logic Implementation
Extension
→ Business Logic Implementation in hooks: RAP takes over
technical orchestration and glue code

DCL CDS View BDEF

Authority DDIC DB Authority DDIC DB


Object Table Object Table

Data Data
Elements Elements
→ ABAP: Entity Manipulation Language: Call behavior via
standardized, ABAP integrated and typed API: Entity
Manipulation Language (EML)
Value Help

SAP HANA QUERY PUSHDOWN


PUBLIC
DEMO (?) 15
Summary

MODEL-DRIVEN ARCHITECTURE
ABAP Cloud and RAP define an architecture blueprint
→ To be cloud-ready
→ To achieve all development and cloud qualities (e.g. extensibility, security/IAM, transactional/data consistency,…)
→ To reduce technical coding and implementation efforts

→ ABAP CLOUD DEVELOPMENT MODEL MANIFESTS SAP’S BEST PRACTICES

PUBLIC 16
03
Where can I find more information?
More information

SAP Community ABAP Cloud Roadmap Embedded Steampunk – Some more


details for ABAP developers | SAP
Blogs
How to use Embedded Steampunk in SAP S/4HANA
Cloud, private edition and in on-premise –
The new ABAP extensibility guide | SAP Blogs

The new ABAP extensibility guide SAP documentation Developer Discussion: ABAP Cloud
PUBLIC 18
Thank you

Contact information:
Volker Drees, SAP SE
Marcel Hermanns, SAP SE

© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy