Unit 1: The Big Picture: Week 1: Introduction - Abap Restful Application Programming Model
Unit 1: The Big Picture: Week 1: Introduction - Abap Restful Application Programming Model
02 Architecture Overview
03 Involved Technologies
SAP Fiori and SAPUI5, ABAP SQL, Core Data ABAP Development Tools, In-App extensibility,
RESTful protocols Services (CDS), and code development methodology SAP Cloud Platform
pushdown in SAP HANA
Powerful frameworks
Take over technical implementation tasks
Business logic added in code exits on protocol-agnostic layers
SEGW / @OData
Business Service
Referenced Data Source
Best practice freestyle
ABAP programming
Core Data CDS-Based Core Data Behavior Definition
Services (CDS) BOPF Services & Implementation
NEXT UNIT
▪ Week 1 – Unit 2
Architecture Overview
[email protected]
Follow all of SAP
www.sap.com/contactsap
02 Architecture Overview
03 Involved Technologies
Behavior
CRUD, Actions, Functions
Locks, eTag
Authorizations, Feature
Data Model Control, Draft
R 2
?
COMPOSITION TREE
1 3
(root, parent, and child nodes) Runtime Implementation
INTERACTION PHASE
TX buffer
SAVE SEQUENCE
INTERACTION SAVE
PHASE SEQUENCE UNMANAGED
For brownfield developments with available application code for
finalize interaction phase, transactional buffer, and save sequence
➔ Developers in charge of BO runtime: CRUD operations
check_before_save ➔ Adapters needed to integrate the existing code
MODIFY
adjust_numbers
READ
LOCK
save
MANAGED
For greenfield developments with standard implementation
Transactional (opt. unmanaged appl. components: DB tables, lock/PFCG object, update task FM)
buffer ➔ Standard CRUD operations work out-of-the-box
SAP HANA ➔ Developers add BO-specific business logic
BUSINESS OBJECT RUNTIME
AUNIT
Scenario & integration test
AUNIT
Unit test
ADD IMPLEMENT
BEHAVIOR BEHAVIOR
Authority object CDS role
QUERY
DATA CDS-BASED CDS BEHAVIOR
ACCESS DATA MODEL DEFINITION ABAP CODE
CONTROL
AUTHORITY CHECK
Lock object
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7
BUSINESS
SERVICES
2
3
?
1 Tool Support
UI: SAP Fiori elements preview
4
Web API: Swagger UI preview
BIND TO SCENARIO
AND PROTOCOL
SERVICE
AUNIT DEFINITION
Scenario & integration test
DEFINE SCOPE
ADD
BEHAVIOR AUNIT
DATA MODEL BEHAVIOR Unit test
PROJECTION PROJECTION
PROJECT ELEMENTS & ENRICH PROJECT BEHAVIOR
ADD IMPLEMENT
BEHAVIOR BEHAVIOR
Authority object CDS role
QUERY
DATA CDS-BASED CDS BEHAVIOR
ACCESS DATA MODEL DEFINITION ABAP CODE
CONTROL
AUTHORITY CHECK
Lock object
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11
Architecture Overview
Wrap-up
NEXT UNIT
▪ Week 1 – Unit 3
Involved Technologies
[email protected]
Follow all of SAP
www.sap.com/contactsap
02 Architecture Overview
03 Involved Technologies
KEY TECHNOLOGY ASPECTS OF SAP HANA KEY IMPACTS ON ABAP APP DEVELOPMENT
MAINSTREAM
ABAP managed code pushdown
Semantically rich
Declarative
Close to conceptual thinking
COMMON
DATA
MODEL
SERVICES
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5
Involved Technologies
ABAP Core Data Services (CDS) – Combine the best of both worlds
VIEW BUILDING
SQL views with restricted feature
set for SAP HANA capabilities
VIEW BUILDING
ABAP AS
LIFECYCLE MANAGEMENT Advanced data modeling
ABAP lifecycle management Code pushdown with various built-in
e.g. transports SQL functions and expressions
ABAP type system Code breakouts to utilize native
SAP HANA features and capabilities
(CDS table functions)
VIEW BUILDING
+
Specialized views (analytical
views, attribute views, calculated LIFECYCLE MANAGEMENT
views, …)
ABAP CDS
Proven and consistent ABAP lifecycle
management, e.g. transports
LIFECYCLE MANAGEMENT SAP HANA ABAP type system
Non-ABAP lifecycle Consumption in ABAP SQL and ABAP
management, e.g. transports frameworks
Non-ABAP type system
ODATA IS USED IN
SAP Fiori & SAP Fiori elements
ODATA IS EXTENSIBLE SAPUI5
SAP S/4HANA
Allows addition of features required when
building easy-to-use applications, both mobile SAP Cloud Platform
and browser-based SAP Mobile Platform 3.0
SAP Gateway
…
Adaptive
DESIGN
PRINCIPLES Simple
Role-based
Delightful
QUALITY ASSURANCE
SUPPORTABILITY
Debugging, profiling
Static and dynamic logging
Runtime monitoring and analysis
NEXT UNIT
▪ Week 1 Unit 4
Introducing SAP Cloud Platform, ABAP Environment
[email protected]
Follow all of SAP
www.sap.com/contactsap
02 Architecture Overview
03 Involved Technologies
Huge customer and partner base ABAP as proven environment for Growing market adoption of
running ABAP-based solutions with enterprise-ready business SAP S/4HANA Cloud with
custom code applications with competitive cost tailored extensibility for customers
of development and partners
SAP S/4HANA
GIT CODE SAP HANA SAP System
MANAGEMENT SAP CLOUD
CLOUD ON-PREMISE Non-SAP System
PLATFORM
CONNECTOR
CLOUD
NEXT UNIT
▪ Week 1 Unit 5
Preparing Your ABAP Development Environment
[email protected]
Follow all of SAP
www.sap.com/contactsap
02 Architecture Overview
03 Involved Technologies
https://tools.hana.ondemand.com/#abap
HANDS ON
DEMO
NEXT UNIT
▪ Week 1 – Unit 6
Creating Your First ABAP Cloud Console App
[email protected]
Follow all of SAP
www.sap.com/contactsap
02 Architecture Overview
03 Involved Technologies
Package structure
in the Project Explorer
ABAP class
ABAP Console:
The most famous
result of an ABAP app
ever ☺
HANDS ON
DEMO
NEXT UNIT
▪ Week 2
Developing a Read-Only List Report App
[email protected]
Follow all of SAP
www.sap.com/contactsap