This is a test message to test the length of the message box.
Login
|
ABAP RAP Classic Pattern
Created by Software-Heroes

RAP - Classic Pattern

2901

In this article, we look at the Classic Pattern and discuss the use cases of its implementation in ABAP Cloud.

Advertising


In this article, we will look at the classic pattern for developing RAP objects in the system, discussing the various points of attention and distinctions.

 

Introduction

The ABAP RESTful Application Programming Model is the new model in ABAP for creating Cloud Ready and Clean Core applications. With RAP, you can not only create applications but also provide interfaces for internal and external use. With the latest features, RAP is very flexible in terms of structure and use, which is why we would like to divide the applications into different patterns.

 

Structure

The "Classic Pattern" It is named this way because it embodies the foundation of RAP and thus provides all development possibilities locally. If you want to start learning RAP, you should start with this model. To begin with, here is the legend for the model.

 

The following characteristics serve to differentiate it:

  • Main data is stored locally in its own tables
  • Creation of a separate data model in the managed scenario
  • Search helps from local data, but remote access is also possible

 

 

This behavior has been defined as optional for now, since you can also implement a pure display application. If you want to change the data or further influence the logic, you should also define a behavior and can implement additional logic there, such as validations, determinations or additional actions.

 

Model

In this chapter, we'll take a look at where the model is used and how you can use it in conjunction with search helps.

 

Usage

In addition to the manual development of the entire RAP stack, three different RAP generators are currently available. Once you've learned RAP, the generators will help you create models and applications quickly and easily, significantly reducing development time. The applications then need to be further developed manually.

 

Search Helps

If you implement a search help in the Classic Pattern, the data is usually located in the same system. This makes implementation quick and easy. In this scenario, however, it is also possible to connect a remote source via a custom entity and use it as a value help; this would not initially change the behavior or the type of implementation.

 

Learning

If you are approaching classic development with the ABAP RESTful Application Programming Model, you should start with a simple example. If you already have experience with BOPF and OData, getting started with development should be much easier, as you'll already have internalized the concepts. For more details on learning the new programming model, see the article on Programming Models.

 

More Examples

If you'd like to check out some resources related to the article, you'll find many examples from past articles in our GitHub repository. You can find examples in the following packages in the repository:

 

Conclusion

The Classic Pattern is the standard case in development and should be learned first by you as a developer. This will give you all the basics of RAP development and how the different layers behave.


Included topics:
RAPBTPPatternClassic
Comments (0)



And further ...

Are you satisfied with the content of the article? We post new content in the ABAP area every Tuesday and Friday and irregularly in all other areas. Take a look at our tools and apps, we provide them free of charge.


RAP - Navigation (App to App)

Category - ABAP

How can you navigate to another application within your Fiori application without the user having to manually switch apps? Let's take a look at navigation between Fiori apps.

09/01/2026

ABAP in Practice - Creating a Setup App

Category - ABAP

No more SAP GUI? How do we then create a static setup app while still remaining flexible on the ABAP side for further implementation? Here's a practical example.

08/28/2026

RAP - Singleton Pattern

Category - ABAP

The Singleton pattern in rap has been around for a while, but how exactly does it work and how can you use it for other purposes? Let's take a closer look at the details in this article.

08/25/2026

RAP - Native File Upload

Category - ABAP

Do you want to upload a file to your RAP application and then process it? The official solution for uploading and downloading is still pending, but it's already possible today with a small workaround.

08/18/2026

RAP - Feature Control (Part 2)

Category - ABAP

What about the feature controls in RAP, and what changes have been made since then? Here, we'll take another look at the features for our sales app and the updates that have been implemented.

08/14/2026