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

1541

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



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 - EML Variants

Category - ABAP

If you use EML to interact with the ABAP RESTful Application Programming Model, several variants are currently available. Let's take a closer look at them.

09/16/2025

RAP - Generator (from Scratch)

Category - ABAP

Does your development with RAP sometimes feel very slow? Generators do the work for you, building the actual stack and eliminating repetitive work.

08/05/2025

RAP - Action (Processing options)

Category - ABAP

How do you actually enable multi-select in RAP and control the various processing options? Here we'll look at the different options in the framework.

08/01/2025

RAP - Custom Entity with Action

Category - ABAP

How can you cleanly implement an action in a Custom Entity to update the UI und utilize EML? Let's take a closer look at the different steps.

07/29/2025

RAP - API Pattern

Category - ABAP

In this article, we look at the API pattern for RAP and how you can use it flexibly in ABAP development to provide interfaces.

06/20/2025