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

835

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)



And further ...

Are you satisfied with the content of the article? We post new content in the ABAP area every Friday and irregularly in all other areas. Take a look at our tools and apps, we provide them free of charge.


How much Fiori do ABAP developers need?

Category - ABAP

The Learning Roadmap for ABAP is full of new topics, but what about frontend development for the ABAP developer?

10/22/2024

DSAG Annual Congress 2024

Category - ABAP

The DSAG annual congress in Leipzig has come to an end, and this is what we learned from the SAP and ABAP area.

10/18/2024

SAP TechEd 2024 - Behind the Scenes

Category - General

In this personal blog I would like to give some insights behind the scenes of SAP TechEd 2024 and how my talk went.

10/14/2024

SAP TechEd 2024 - Recap for ABAP

Category - ABAP

What's next for ABAP and what highlights will we take away from SAP TechEd 2024 this year? Find out more here.

10/13/2024

ABAP Tools - Working with Eclipse (SAP GUI Language)

Category - ABAP

Do you have the wrong SAP GUI language when you start the GUI in the ABAP Development Tools? You can find the solution here.

09/10/2024