Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
CarineTchoutouo
Product and Topic Expert
Product and Topic Expert

Last edit: January 2024



🔥Check out the new SAP Community page State-of-the-art ABAP Development with ABAP RESTful Programming Model (RAP) for more getting started information! 🔥
 

The ABAP RESTful Application Programming Model (RAP) is generally available in the cloud on the SAP Business Technology Platform (SAP BTP) - formerly known as SAP Cloud Platform, SAP S/4HANA Cloud Public Edition, SAP S/4HANA Cloud Private Edition, and SAP S/4HANA as of release 1909.
This blog post provides a collection of materials such as presentations, tutorials and videos to help you get started with the topic, and will be updated regularly.
For more getting started information, visit the SAP Community page State-of-the-Art ABAP Development with RAP.

CarineTchoutouo_0-1710954754187.pngIntroduction

The ABAP RESTful Application Programming Model (short: RAP) offers developers an efficient way to build enterprise-ready, SAP HANA-optimized, OData-based Fiori UI services and Web APIs in the cloud as well as on-premise. It is the evolutionary successor to the ABAP Programming Model for SAP Fiori.

The ABAP RESTful Programming Model is generally available in the SAP BTP ABAP environment, and now also in SAP S/4HANA starting with the edition 1909. The feature scope in SAP Business Technology Platform (BTP) ABAP Environment - formerly known as SAP Cloud Platform ABAP environment - is enhanced on a quarterly basis on defined dates, while new capabilities are delivered in SAP S/4HANA on a yearly basis with new on-premise editions. 

The greenfield development of OData-based services - i.e., starting from scratch - is supported with the so-called managed implementation type, whereas the brownfield development - i.e., based on existing code - is supported with the so-called unmanaged implementation type. 

The key players in the ABAP RESTful Application Programming Model are:

ABAP Developments Tools in EclipseLanguages:
ABAP and CDS
Powerful
frameworks

The ABAP RESTful Application Programming Model comes with a set of development guides and best practices to facilitate the developer onboarding. The best practices are provided in the form of ready-to-use examples delivered with the ABAP Flight Reference Scenario (refer to the appropriate section below).

Availability:

  • SAP BTP ABAP environment
  • SAP S/4HANA 1909 and higher

Roadmap:

Back to the top

CarineTchoutouo_1-1710954823199.pngOfficial Documentation

This section provides links to the existing official documentation for the ABAP RESTful Application Programming Model (RAP) available in the SAP Help Portal.

For SAP BTP ABAP Environment

For SAP S/4HANA 1909 and higher

Back to the top

 

CarineTchoutouo_2-1710954877205.pngRecordings

You can watch the replays of

The videos embedded below provide an overview of the ABAP RESTful Application Programming Model (RAP). Different system demonstrations on the greenfield development with the managed BO implementation are shown. 

SAP's Devtoberfest in 2022 (1), virtual eventBeginner's Guide for RAP

SAP's Devtoberfest in 2022 (2), virtual eventDeveloper Extensibility and Business Events with RAP on SAP S/4HANA Cloud
SAP's Devtoberfest in 2022 (3), virtual eventDealing with Legacy Code and Transactional Consistency in RAP
DT106@SAP TechEd 2021, virtual event
Access the presentation | FAQ

Extend SAP S/4HANA Cloud on Stack with RAP

Back to the top

CarineTchoutouo_3-1710954913028.pngABAP Flight Reference Scenario

The ABAP Flight Reference Scenario is a new data model intended for demo purposes and use in training courses - mainly in the context of the ABAP RESTful Application Programming Model (RAP). It is a reloaded and adapted version of the well-known SAP NetWeaver Flight data model. 

The ABAP Flight Reference Scenario offers several examples that can serve as reference implementations of the various capabilities provided by the RAP. It is not an integral part of the ABAP platform, but SAP - i.e. the ABAP Platform team -  makes it available and provides updates on GitHub. Therefore, it must be imported into the relevant ABAP systems before use. 

The ABAP Flight Reference Scenario is available by default and ready for use on the free SAP BTP ABAP environment trial. 

Learn more - SAP BTP ABAP environment:

Learn more - SAP S/4HANA 1909 and later:

Back to the top

CarineTchoutouo_4-1710954949127.pngTutorials for SAP BTP ABAP environment

Get hands-on experience with the ABAP RESTful Application Programming Model in the cloud. 

The majority of the following How-To-tutorials are based on the ABAP Flight Reference Scenario described in the previous section. Therefore, it must have been previously imported into your ABAP system. 

SAP BTP ABAP environment is also informally known as Steampunk.

Prerequisites:

  1. Latest version of ABAP Development Tools (ADT) for Eclipse is installed.
    If not available on your device, then follow this tutorial: Install ADT
  2. Access to an SAP BTP ABAP Environment system.
    If not yet available, then onboard to the free SAP BTP ABAP Environment Trial. 

Tutorials from the SAP Developer Center (Entry Point)

Access the available tutorial groups and missions.

  1. Building a transactional Fiori app using the unmanaged runtime implementation 
  2. Building a transactional Fiori app using the managed runtime implementation 
  3. Service Consumption Model: Connect Two Instances of SAP BTP ABAP Environment 
  4. Developing analytical queries and consuming them on SAP Analytics Cloud (SAC)

Development Guides from the SAP documentation (Entry Point)

  1. Downloading the ABAP Flight Reference Scenario* (cloud flavor) 
  2. Developing read-only list reporting Apps 
  3. Developing unmanaged transactional apps using existing application logic 
  4. Developing managed transactional apps 
  5. Developing transaction apps with draft capabilities 
  6. Developing transactional apps with multi-inline-edit capabilities 
  7. Developing a Web API 
  8. Developing a UI service with access to a remote service

Hands-On Workshops

Following workshop exercises are available on GitHub

  1. Hands-on Workshop DEV260 – Build SAP Fiori apps with RAP
  2. Hands-on Workshop RAP400 – Writing unit tests for apps built with RAP
  3. Hands-on Workshop RAP500 – Developing for Analytics with RAP on Steampunk

(* The ABAP Flight Reference Scenario is already available on the free SAP BTP ABAP environment trial.)

Back to the top

CarineTchoutouo_5-1710955014265.pngTutorials for SAP S/4HANA 1909 and later

Get hands-on experience with the ABAP RESTful Application Programming Model in SAP S/4HANA. 

The current on-premise feature scope covers only the brownfield development with the unmanaged implementation type. New capabilities will be provided with future SAP S/4HANA editions.* 

The majority of the following How-To-tutorials are based on the ABAP Flight Reference Scenario described in the previous section. Therefore, it must have been previously imported into your ABAP system.

Prerequisites:

  1. Latest version of ABAP Development Tools (ADT) for Eclipse is installed.
    If not yet available on your device, then follow this tutorial: Install ADT.
  2. Access to an SAP S/4HANA system, edition 1909 or higher 

Tutorials from the SAP Developer Center (Entry Point)

Access the available tutorial groups:

  1. Building a transactional Fiori app using the unmanaged runtime implementation 
  2. Building a transactional Fiori app using the managed runtime implementation

Development Guides from the SAP documentation (Entry Point)

  1. Downloading the ABAP Flight Reference Scenario (on-premise flavor) 
  2. Developing an OData service for simple list reporting 
  3. Developing read-only list reporting apps 
  4. Developing new managed transactional apps (managed impl.) 
  5. Developing new transaction apps with draft capabilities (managed impl.) 
  6. Developing new unmanaged transactional apps based on existing application logic (unmanaged impl.) 
  7. Developing a Web API 

Back to the top

CarineTchoutouo_6-1710955056070.pngCourses

SAP Training and Certification opportunities

openSAP Courses on RAP

Other related openSAP Courses

Back to the top

CarineTchoutouo_7-1710955094037.pngRecommendations

Find some recommendations on when to use the different RAP implementation types in the blog Modernization with the ABAP RESTful Application Programming Model (RAP).

Back to the top

CarineTchoutouo_8-1710955138607.pngParticular Topics

Find information on some particular topics around RAP. 

Back to the top

CarineTchoutouo_0-1710955263841.pngFrequently Asked Questions (FAQ)

Find the answers to the most frequently asked questions around RAP and other related topics.

Back to the top

CarineTchoutouo_1-1710955299753.pngFurther Resources

This section provides useful links to related resources and learning materials to deepen your knowledge. 

Back to the top

* This is the current state of planning which may change at any time without further notice from SAP. Find more information in the ABAP Platform Roadmap


Last edit: January 2024

29 Comments