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/4 and S/4

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.

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)

Autumn 2023 - ABAP and SAP events

Category - ABAP

What more ABAP and SAP events are there before 2023 comes to an end? In this short summary you will get all the information.

10/30/2023

Devtoberfest 2023 Recap

Category - ABAP

Devtoberfest is coming to an end, here is a brief review of the topics and information in the area of ABAP and low-code.

10/13/2023

DSAG Annual Congress 2023

Category - ABAP

This year's DSAG Annual Congress is over, we have heard a lot and we want to share our impressions with you.

09/22/2023

ABAP Development Days 2023

Category - ABAP

The ABAP Development Days ended this week, in this article we want to give you an insight into the innovations and our impressions.

05/19/2023

Modernize your ABAP

Category - ABAP

What is behind this somewhat provocative statement and how can you gradually get to modern ABAP? Everything in this article.

05/05/2023