RAP vs CAP
Once you start learning about BTP, you will come to know these two major programming models.
In which we (As an ABAPer ) usually prefer to go with RAP as it supports ABAP and it consists of a set of concepts, tools, languages, and powerful frameworks that help developers to build innovative, cloud-ready SAP Fiori applications, local and Web APIs.
Now let's discuss in detail.
RAP
RAP (Restful ABAP Programming) is a programming model which is specifically used for SAP S/4 HANA environment either on-premise Or cloud. This leverage creates OData services and it exposes existing ABAP business logic through modern APIs.
RAP offers a standardized development flow based on Core Data Services (CDS), modernized and extended ABAP language, concept of business object (BO), Business Service etc., and Eclipse-based ABAP Development Tools (ADT).
Different types of services(Odata based services), local APIs, and business events can be developed and modelled with RAP. SAP recommends customers and partners to use RAP to build new ABAP based applications for SAP S/4HANA, SAP S/4HANA Cloud and SAP BTP.We can develop RAP based application using Eclipse-based ABAP Development Tools (ADT).
The major strength of RAP is to use ABAP, Possibility to reuse code from the SAP system. Build full-fledged and upgrade-stable extensions on SAP S/4HANA or SAP S/4HANA Cloud and Build ABAP based cloud solution on SAP BTP, ABAP environment.
CAP
CAP (Cloud Application Programming) is a development framework which supports various programming languages like Java and node.js.
It's focusing on developing cloud native applications. It's Available with SAP BTP Cloud Foundry and Kyma Environment. We can develop CAP based applications using SAP Business Application Studio. It also supports local development using Visual Studio Code.
Example use case, Build a web application, which connects to an SAP HANA Cloud to retrieve and display real-time sales data.
Follow my blog for more interesting topics. See you soon in next Blog.
Comments
Post a Comment