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)

DSAG Technology Days 2022

Category - ABAP

The DSAG Technology Days 2022 are over, what was there to see and what were the new announcements this year?

05/06/2022

ABAP - What's next

Category - ABAP

In this article, we want to look ahead to the year and what it will bring to you as a developer. A small preview of our core topics.

01/28/2022

ABAP Environment - Development

Category - ABAP

At this point we want to go into the development process in the ABAP environment and how the development differs from the classic development in R/3 or S/4 on-premise.

12/24/2021

ABAP Environment - Steampunk

Category - ABAP

In this article we want to introduce you to the ABAP environment or ABAP in the cloud and how it works. In the end, we also look at the added value of such a solution.

12/17/2021

Start as ABAP developer

Category - ABAP

In this article we want to deal with the question of what a beginner in ABAP development should learn at all.

11/26/2021