This is a test message to test the length of the message box.
Login
|
Difference between R3 and S4
Created by Software-Heroes

Difference between R/3 and S/4

2718

In this article we will show you the differences between an R/3 system and a new S/4 HANA. What should you look at and what is actually changing.

Advertising


Before we start the new topics, let's first look at the differences between the two systems, but also the similarities. Here it is particularly important what makes the differences in order to understand why the core data services work better in a HANA system.

 

Database

The biggest difference is the database technology in the system. An R/3 system runs on Any DB, which means it doesn't matter which database is used. The database is located on a hard disk and the data is stored in the database on a row basis. Accesses that do not go to the key fields of the table usually have to be optimized with a secondary index, otherwise a performance problem occurs the more data is in the database.

An S/4 system uses a HANA database, a database technology developed by SAP, as the database. The database is no longer on the slow hard disk, but in the main memory of the database server. This means that access to the data is very fast in contrast to reading from disk. Most of the data is stored column-based and each column has its own index, so there is no need to optimize access.

 

On HANA

Sometimes you can find systems that have the addition "On HANA". This addition indicates that the system is already using a HANA database, but the applications are not yet optimized for S/4. Here you can already enjoy the first advantages of the HANA database and CDS views are also fast.

 

ABAP

Modern ABAP has been possible since 7.40 and new functions have been added with each release. However, you can only find the latest functions on an S/4 system or an ABAP environment in the cloud. R/3 is no longer being developed further and therefore no longer benefits from the new features (ABAP Unit, CDS extension, RAP). It is therefore possible that we show examples that are no longer possible on an R/3 system.

 

Version

New version numbers were also assigned with HANA and the year and month numbers are used as a basis, as Microsoft does, for example. Release 1909 is the September release of 2019. Internally, for example, you can still find releases such as SAP_ABA 7.55 for the ABAP version.

 

Performance

In the first section, we mentioned that performance hardly matters when we access the data. Likewise, aggregating data and computing is much faster. This results in new possibilities and other rules compared to an R/3 system. Where previously you should keep the amount of data small or first read the data into the program in order to then process them, the exact opposite now applies.

In an S/4 system, you should primarily let the database do the work and read the finished result into the program. The principle behind it is code pushdown, we transfer all possible operations, aggregations and queries down to the database and at the end only read the result. This makes the program code clearer and increases the complexity of the query. These queries can then be outsourced to Core Data Services (CDS) in order to keep access within the program small and to be able to reuse such queries.

 

Conclusion

With the switch to S/4, there will be some changes, especially for you as a developer, in dealing with the system and the database, but less so in ABAP development. R/3 programs work exactly the same here, maybe just a little slower if they are not optimized. So you don't need to worry too much about switching to S/4.


Included topics:
SAPR/3 vs S/4HANADifferences
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.


029: ABAP and SAP Material (Software-Heroes)

Category - YouTube

How do you actually find the right ABAP and SAP tutorials on the Software-Heroes platform? In this episode, we want to introduce you to some tools and overviews that will help you efficiently find topics and information in the future.

12/15/2025

TedxTalk - Homo SAPdevelopus

Category - General

Do you want to know what a "Homo SAPdevelopus" is and whether you belong to this category? A brief summary of the TED Talk and some comments.

11/23/2025

SAP TechEd 2025 - Personal Recap

Category - ABAP

SAP TechEd 2025 is over, and most attendees should be back home by now. Here's a brief recap of my highlights and key takeaways. Of course, there are also a few points about ABAP.

11/09/2025

DSAG Annual Congress 2025

Category - ABAP

The DSAG Annual Congress 2025 has come to an end. Let's take a look at the various topics we encountered in Bremen and what we learned from them.

09/19/2025

Autumn 2025 - ABAP and SAP Events

Category - ABAP

What upcoming events are coming up for you as an SAP developer, and where should you pay a closer look? In this article, we take a look at the calendar until the end of the year.

09/05/2025