5. 5
1. 従来のオンプレABAP(NetWeaver)と同様のものがクラウドで提供されるの︖
→ クラウド環境に最適化された新しいアーキテクチャのABAPインスタンスです︕(DBはHANA)
2. SAP GUIでアクセスできるの︖
→ 開発できるアプリケーションはFioriアプリケーションのため、ブラウザアクセスです。
3. Tr-cd: SE80 (ABAP Workbench)で開発できるの︖
→ EclipseのABAP Development Tool(ADT)プラグインを利⽤した開発環境です。
4. 既存のオンプレABAPのアドオンをそのまま移⾏できるの︖移送で︖
→ 新しいプログラミングモデルが採⽤されているため、ソースコードの修正が必要です。(移⾏ツール, 分析/コード
修正ツールの提供あり)
5. SAP CPのCloud Foundry環境で提供されるということは、ABAPのBuildpackが提供されているの︖
→ Cloud Foundry基盤のランタイムでの実⾏ではなく、VM上での実⾏。(CFの他サービスとの連携は可)
SAP Cloud Platform ABAP 環境って︖︖(よく頂く質問)
6. 6
SAP Cloud Platform ABAP 環境の全体アーキテクチャ
SAP CLOUD
PLATFORM
IoT
User Mgmnt.
Analytics
…
SAP Cloud
Platform
Services
SAP CLOUD PLATFORM ABAP
ENVIRONMENT
ABAP PLATFORM AS A SERVICE
connectivity
SAP HANA
CLOUD
ON PREMISE
SAP System
Non SAP SystemSAP CLOUD
CONNECTOR
CLOUD
WEB APIWEB APIWEB APIWEB API
HTTP SERVICES AND
NEW ABAP RESTful
PROGRAMMING MODEL
utilizing
Core Data Services
Cloud optimized ABAP
language
CLOUD
COCKPIT
GIT CODE
MANAGEMENT
ABAP
DEVELOPMENT
TOOLS IN ECLIPSE
引用1: SAP TechEd 2019, CAA388, SAP Cloud Platform ABAP Environment: Extension and Integration Scenario P8
7. 7
ABAP プログラミングモデルの進化
ABAP Platform ≤ 7.5 ABAP Platform ≥ 7.5 SAP Cloud Platform ABAP Environment ≥ 1808 *
CLASSIC
ABAP PROGRAMMING
ABAP PROGRAMMING MODEL
FOR SAP FIORI
新しいプログラミングモデルの準備を︕
ABAP RESTful
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
現在のS/4HANAでのベストプラクティス
今後の⽅向性
本⽇のセッションはこれがメイン
Safe investments! Integration planned for 2020
* Reduced scope available on-premise as of SAP S/4HANA 1909
引用2: SAP TechEd 2019, CAA103, Get the Big Picture of the ABAP RESTful PROGRAMMING MODEL P7
8. 8
ABAP Development Tools in Eclipse for all development tasks
Easy developer onboarding
End-to-end development flow
Language: ABAP and CDS
Standard implementation tasks via typed APIs supporting
static code checks, auto-completion, element info
Frameworks
Take over technical implementation tasks
Business logic added in code exits on protocol agnostic layers
ABAP RESTful Programming Model – 主要な構成要素
引用3: SAP TechEd 2019, CAA103, Get the Big Picture of the ABAP RESTful PROGRAMMING MODEL P8
9. 9
ABAP RESTful Programming Model – 全体概要
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
引用4: SAP TechEd 2019, CAA103, Get the Big Picture of the ABAP RESTful PROGRAMMING MODEL P9
10. 11
ABAP RESTful Programming Model – Development flow
CDS BEHAVIOR
DEFINITION
ADD
BEHAVIOR
IMPLEMENT
BEHAVIOR
ABAP CODE
DEFINE SCOPE
SERVICE
DEFINITION
DEFINE SCENARIO and PROTOCOL
SERVICE
BINDING PREVIEW
CDS BASED
DATA MODEL
BEHAVIOR
PROJECTION
ADD
BEHAVIOR
DATA MODEL
PROJECTION
PROJECT ELEMENTS & ENRICH PROJECT BEHAVIOR
引用5: SAP TechEd 2019, CAA103, Get the Big Picture of the ABAP RESTful PROGRAMMING MODEL P19
DATA MODELING &
BEHAVIOR
BUSINESS
SERVICES
PROVISIONING
SERVICE
CONSUMPTION
データモデル定義
(Interfaceビュー)
UI定義
プロジェクションビュー
(Consumptionビュー)
ODataサービスの定義
UIとサービスのバインド
トランザクション処理の定義
(アクション・バリデーション)
トランザクション処理の実装
(ABAP)
UI定義によりFiori UIが⽣成
11. 12
SAP Cloud Platform ABAP 環境へのカスタムコードの移⾏
BACKEND SYSTEM
e.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
引用6: SAP TechEd 2019, CAA260, Move Your ABAP Code to the Cloud P10
12. 13
1. This is the current state of planning and may be changed by SAP at any time without notice.
SAP Cloud Platform ABAP Environment
Product road map overview – Key innovations
ABAP RESTful Programming Model
§ Simplified consumption of remote OData services by
providing code snippets
§ Test class wizard for writing OData integration tests
ABAP Language and Development Tools
§ Dynamic Programming: CREATE DATA, CREATE
OBJECT, CALL METHOD, ASSIGN
§ ADT support for Eclipse 2019-03 (4.11)
§ Mass enabled object deletion in ADT
§ Support of deprecation status for released SAP
objects
§ Support of released objects handling for customer-
defined objects
§ Conversion exit ALPHA for customer-defined domains
Connectivity / Integration
§ Simplified setup of SAP Web IDE integration
Security
§ Instance-based authorization checks using business
roles (w/o custom restriction types and fields)
ABAP RESTful Programming Model
§ Support for greenfield application development via
managed scenario without draft support
ABAP Language and Development Tools
§ Dynamic ABAP SQL
§ Support new SAP HANA data types in ABAP and DDIC
§ SQL Trace via ADT & Technical Monitoring Cockpit
Custom Code Transformation
§ SAP Fiori App: Custom code migration to SAP
S/4HANA
§ Quick fixes to adapt to ABAP language version and to
adapt to released objects
Connectivity & Infrastructure
§ RFC support from on-premise via synchronous RFC
(SAP delivered communication scenarios)
§ Support an AWS data center in US
Certifications
§ ISO 27001 and SOC 1 compliance
ABAP RESTful Programming Model
§ Support of metadata extensions
§ Transport of business configuration content
ABAP Language and Development Tools
§ Release of runtime type information API
§ ADT editors for BAdI implementations
Custom Code Transformation
§ SAP Fiori App: Custom code migration to SAP Cloud
Platform ABAP Environment
Infrastructure
§ Trial offering
§ Support additional sizing options (SAP HANA memory)
Released reuse services
§ Application Jobs
§ Change Documents
§ Parallel Processing
Partner Development
§ Partners can develop, offer and run applications for their
customers
ABAP RESTful Programming Model
§ Draft support
§ Support of business events
§ OData V4 support
§ Enhanced supportability
§ Extensibility and verticalization
§ Integration of draft-enabled BOPF business objects
ABAP Language and Development Tools
§ Support for custom-developed ATC checks
§ abapGit: Push from cloud to cloud and to on-premise
Custom Code Transformation
§ Migration support from CDS-based BOPF to the
ABAP RESTful Programming Model
Data Integration
§ Data replication between ABAP Environment system and
other SAP S/4HANA system, cloud and on-premise edition
Analytics / Enterprise search
§ CDS-based reporting: KPIs & Reports via analytical engine
§ SAP Analytics Cloud integration via analytical engine
§ Enablement of CDS-based Enterprise Search
Certifications
§ SOC 2 compliance
Delivered with V1905 Delivered with V1908 V1911 – Planned Q4/20191
2020+ – Product Direction1
引用7: SAP TechEd 2019, CAA388, SAP Cloud Platform ABAP Environment: Extension and Integration Scenario P24
13. 14
1. SAP CP ABAP環境は、クラウドに特化した新しいアーキテクチャのABAP環境。開発ツールはADT。
(S/4HANAオンプレ・クラウドの拡張シナリオをサポート)
2. 既存のABAPコードをそのまま移⾏できるものではなく、新しいプログミングモデル(RAP)への対応が必要
(移⾏ツール、コード修正・分析ツールが提供予定)
3. オンプレミスのS/4HANA1909からもRAPをサポート。将来のクラウド化を⾒据え今からキャッチアップを︕
少なくともS/4HANAからサポートされたCDS・BOPFベースの開発を推進することで移⾏が容易。
4. ABAP開発者のスキル・リソースを、クラウドでも⽣かすことが可能。CDS・BOPFベース開発の経験があると
スキル拡張が容易。
5. 直近、オンプレミス/STEのS/4HANA導⼊の場合は、CDS・BOPFベースの開発(ABAP
Programming Model for Fiori)がベストプラクティス。⼀⽅で、S/4HANA Cloud(MTE)向け導⼊に
おいて、ABAP開発者が豊富にいる場合には、ABAP Cloudでの開発も選択肢。
ポイント – SAP CP ABAP 環境と RESTful Programming Model
14. 15
n SAP CP ABAP Environment トライアル
https://cockpit.hanatrial.ondemand.com/
n RESTful ABAP Programming Model ヘルプ
https://help.sap.com/viewer/923180ddb98240829d935862025004d6/Cloud/en-
US/289477a81eec4d4e84c0302fb6835035.html
n チュートリアル (トライアル環境のセットアップからトランザクションアプリの作成まで)
https://developers.sap.com/tutorials/abap-environment-trial-onboarding.html
まずはここから︕
15. 16
引⽤1︓SAP TechEd 2019, CAA388, SAP Cloud Platform ABAP Environment: Extension and
Integration Scenario P8
引⽤2︓SAP TechEd 2019, CAA103, Get the Big Picture of the ABAP RESTful PROGRAMMING
MODEL P7
引⽤3︓SAP TechEd 2019, CAA103, Get the Big Picture of the ABAP RESTful PROGRAMMING
MODEL P8
引⽤4 : SAP TechEd 2019, CAA103, Get the Big Picture of the ABAP RESTful PROGRAMMING
MODEL P9
引⽤5 : SAP TechEd 2019, CAA103, Get the Big Picture of the ABAP RESTful PROGRAMMING
MODEL P19
引⽤6 : SAP TechEd 2019, CAA260, Move Your ABAP Code to the Cloud P10
引⽤7 : SAP TechEd 2019, CAA388, SAP Cloud Platform ABAP Environment: Extension and
Integration Scenario P24
引⽤⼀覧