This is a test message to test the length of the message box.
Login
|
ABAP Modern Architecture
Created by Software-Heroes

Modern ABAP Architecture

865

Want to build modern frameworks and applications in ABAP? What building blocks are actually needed and what should you consider in the various areas? Find out more in the article.

Advertising


What might a sensible ABAP architecture actually look like today when it comes to modern ABAP applications? Let's look at a reference in this article.

 

Introduction

What does a new ABAP architecture actually look like when we look at modern ABAP development? In this article, we will discuss the four pillars and take a closer look at the ABAP OO pillar in detail. We have already published articles in the past on the other parts, which describe the approach and usage in detail. These articles are linked in the respective sections, although we keep the actual sections rather short.

 

Architecture

Looking at a possible modern architecture, there are a total of four basic pillars that we want to consider. ABAP OO is the basic pillar for complete ABAP development, the construction of applications and frameworks from a technical perspective without a frontend, and for linking and building interfaces. The second pillar is RAP development, if we want to build business objects and provide frontend applications. The third pillar is ABAP Cloud when it comes to standardization and clean core development, but above all to the use of shared APIs for our development. The fourth pillar is Fiori Elements for the rapid development of UIs and the provision of new applications for ourselves and for our departments.

 

 

Pillars

Therefore, in this section, let's take another look at the 4 pillars in detail and describe what we need them for and what points to pay attention to in modern development.

 

ABAP OO

ABAP plays the most important role in a solid basic architecture to correct past mistakes and build applications that are ready for the future. We envision the following architecture, as depicted in the image.

The actual foundation of all our code consists of the various classes we implement. Each class should implement an interface to ensure testability via the various test double frameworks. Static classes or static methods should be avoided, as these are considered difficult to test (except perhaps via TEST SEAM). Exceptions include injector or factory classes that use static methods to create instances. If our entire code is available in classes, we can also implement unit tests on all objects to ensure testability and provide a safety net for the developer, allowing us to easily and flexibly test and extend our code in the future.

 

 

Looking at the lower part of the graphic, we see the various other objects that exist. These simply serve as wrappers for calling the classes. Here, for example, is the classic SEGW service, which calls code. We could wrap this in our classes to make it testable there. The same applies to classic programs, if we still use them: These ultimately only call our class with the logic, where the tests are also located.

The third case is the function module. Function modules are still fundamentally relevant. If we look at the various business modules, for example, there are user exits that are based on function modules. We also still need RFC function modules for communication with other SAP systems or externally. However, what you should no longer do is write the entire code in the function module, as this eventually becomes very unwieldy and structuring is difficult. You should also think about your new and younger colleagues who, for example, don't understand the concept of the global data area in function groups or don't necessarily want to learn it. Therefore, function blocks should only serve as wrappers that call the actual implementation. Buffer logic can certainly also be represented in classes and singletons. Generally speaking, function groups with all their function blocks are always completely checked by an ATC check. Therefore, it is also advantageous to keep these objects as small as possible so that any potential findings later remain within the scope of the actual implementation.

The last point is the database: In the past, Data Access Objects (DAOs) were used here to mock database access. If you are on a newer system, you should not use DAOs here, but instead use the Test Double framework for Core Data Services and tables directly. This is easier and more manageable to implement.

 

RAP

If we want to create a new business object within the system, we use the ABAP RESTful Application Programming Model. This model is now the standard in ABAP cloud development, as it can map various use cases such as APIs, frontend scenarios, and business objects within the system. The model is relatively complex to learn, as it involves learning many new statements and the entire framework. However, the various UI annotations make it easy to generate Fiori Elements applications on these services and deploy them in the system, which increases the flexibility of the model. Therefore, in addition to the actual ABAP architecture, Core Data Services, annotations, and the RAP framework are important aspects that belong in a modern architecture.

 

ABAP Cloud

Developing in a clean-core environment with ABAP Cloud is a crucial, central component for building clean-core-ready applications in the future, thus saving us further effort in the core itself. Therefore, this is a cornerstone for all custom development and should help us build standardized applications and use standard interfaces. The fact that we are also becoming Clean Core is a positive aspect. The most important aspect, however, is that we are reducing the number of interfaces we need to use and considering which standard features we want to use in our application. At the same time, the ATC checks provide us with information about the objects used and whether we are using the correct and approved artifacts. Overall, this should be a standard architecture. However, this inevitably depends on the module used and the approved APIs within that module.

© SAP SE

 

Fiori Elements

Fiori Elements is an important part of the frontend strategy, as it handles the generation of the UIs later on. Here, we are clearly not relying on Fiori freestyle development, as this takes time to build the UIs and increases the testing effort for custom developments. The focus here is clearly on automatic generation and the use of the Flexible Programming Model to extend UIs later. This keeps the actual learning curve for the ABAP developer relatively flat and, in turn, saves us from testing automatically generated UIs if no customer customizations have been made. We are clearly relying on UI technologies and Fiori elements being tested automatically at SAP. As long as we don't make our own customizations, we don't need to test the actual UI components at all. You can find more information about frontend strategy in this article on our site.

 

AI as a Tool

These days, good tutorials and the topic of AI are particularly helpful tools. A well-defined AI (grounding, MCP) can help you find the right information, whether it's successors, core data services, the right architecture, or existing standard applications. AI is also much faster when it comes to processing large amounts of data and extracting key insights. You can also use it to generate various components of your application and get initial good suggestions, especially if you're not yet deeply immersed in the topic. Basically, you should always check the result at the end to ensure it exactly matches your expectations and meets the company's requirements.

Besides standard applications on the market like GitHub Copilot, Claude Code or OpenAI Codex, there are also providers specializing in SAP, such as Nova Intelligence and Conduct AI. Depending on your requirements, you should keep an eye on the market and look for the right solution for you. The selection can be a bit overwhelming at the moment. Many companies therefore often rely on in-house developments in this area.

 

Conclusion

The four pillars of modern ABAP architecture are a good framework for implementing complete applications in the ABAP Cloud environment. This means: We build applications in the public cloud, private cloud, and on-premises, using the same architecture and technology, with the majority of the coding and logic still residing in ABAP. Therefore, testability and reusability will remain crucial aspects of future coding.


Included topics:
ABAPModernArchitecture
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.


ABAP - Inverted Individual Index

Category - ABAP

Let's take a look at a warning that has recently appeared for database tables in the ABAP environment. We'll investigate the cause and attempt to correct the warning.

11/13/2026

Changes in Joule 4 Developers

Category - ABAP

Many developers were rather disappointed with the initial release of Joule for Developers (J4D), but only because development had already moved in a different direction before the release. What is the current state of Joule, and what features does it still offer?

11/06/2026

From ALV to List Report (Development)

Category - ABAP

Do you want to switch from a report using ALV to a RAP object using a list report? What should you actually consider during development and deployment? Let's look at the comparison in detail.

11/03/2026

056: Fiori Elements for ABAP Developers

Category - YouTube

What are the key elements for an ABAP developer to become a full-stack developer? Let's look at some of the building blocks from the ABAP developer's perspective and define a goal for the journey.

11/02/2026

From ALV to List Report (Aggregation)

Category - ABAP

Do you want to switch from a report with ALV to a RAP object with a list report? What should you actually consider if you also want to use aggregations? Let's look at the comparison in detail.

10/27/2026