Preface – This post is part of the SAP ABAP RAP series.
Table of Contents
SAP has introduced various programming models helping the organizations via development of efficient applications that meets their business needs. Over time, with changing requirements and technologies, these programming models have evolved from DYNPRO and list programming models for SAP GUI based applications to WEB DYNPRO model for web-based applications and thereafter to SAP ABAP programming model for SAP Fiori.
While SAP ABAP programming model for SAP Fiori is a key advantage in terms of evolving landscape, flexibility and efficient modelling for SAP Fiori, SAP HANA; lacks certain criteria like simplicity and typed access to business entities which seems to be the basic need for application development. Here RAP, a new programming model by SAP, fills the gap.
SAP ABAP RAP provides the intrinsic approach to build SAP Fiori based applications that are optimized for S/4 HANA and can run over on-premise as well as on the cloud.
What is ABAP on Cloud?
SAP now provides an option to create an instance of ABAP on cloud foundry. This instance is known as ABAP environment. This instance lets you to create extensions for ABAP based products so that you can extend your existing ABAP based code to cloud. The IDE used for writing ABAP on cloud is eclipse of SAP HANA Studio.
You can perform following activities using ABAP on cloud:
- Expose OData services
- Perform RFC calls via Cloud Connector in SAP Cloud platform
- Consume External services
- Create ABAP cloud project with ADT that can be connected to ABAP system
- Use Software Component Lifecycle Management in place of git
- Deploy your application in the ABAP Environment
What is SAP RAP?
SAP ABAP RESTful Application Programming Model (RAP) was introduced by SAP Cloud Platform ABAP environment and is available with 1808 release and higher.
The RESTful Application Programming model is built on the top of the semantic data model (CDS) and the transactional services are exposed in behaviour definition and implementation in implementing behaviour class. It also allows adapting the existing applications to be modelled which is intended to be used over a long time. You can start from scratch (greenfield implementation) or you can reuse existing business logic (brownfield implementation).
One can develop the following end-to-end scenarios:
- SAP Fiori service
- Service consumption
- Web APIs
Difference between ABAP on Cloud and SAP RAP
|ABAP on Cloud||SAP RAP|
|ABAP on Cloud is PaaS (Platform as a Service) which provides option to extend ABAP code in cloud.||SAP RAP is a model based Architecture that is used to create services in on-premise and cloud.|
|ABAP on Cloud is used by SAP RAP for Cloud Services.||SAP RAP utilizes ABAP on Cloud to create cloud based services.|
|ABAP on Cloud is a PaaS.||SAP RAP is a framework.|
|It supports only Cloud.||It supports both Cloud and On Premise.|
Read more about SAP ABAP on Cloud via its official documentation: https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/11d62652aa2b4600a0fa136de0789648.html
Read more about SAP RAP on its official documentation: https://help.sap.com/viewer/923180ddb98240829d935862025004d6/Cloud/en-US/289477a81eec4d4e84c0302fb6835035.html
Learn about SAP RAP on GoCoding tutorials: https://gocoding.org/sap-abap-rap/