This is a test message to test the length of the message box.
Login
ABAP Use new statements
Created by Software-Heroes

ABAP - Use new statements

With new ABAP, many new language constructs and expressions were introduced in ABAP. So why switch to this one when the old ones are more familiar?

Advertising

With each new release since ABAP 7.40, new statements and language constructs are made available in ABAP, which bring the look and feel of the language towards Java. Most calls go in the direction of functional calls and further and further away from single-line commands. In today's article we want to bring the whole topic closer to you.

 

Change

Using and switching to the new commands is very similar to learning a new language, as there are a lot of new variants and statements and they all work a little differently. Here you have to make the first initial effort to use the new commands again and again. But here you have to take a little hurdle and you should have seen all the new commands and know that they exist.

To do this, we searched the Internet once and compared the new things and tried to classify what is replaced by which command or is simply completely new. Our little list was created:

 

There are also many commands that have simply been added without actually replacing anything. You can also find these in our list:

 

Performance

One of the most important aspects for using the new constructs, besides the functional use, is the better performance of the commands. ABAP is a language that has grown over decades and SAP has always ensured a very high level of stability and backward compatibility. This meant that old commands were no longer packaged and optimization within the kernel was more difficult because the risk was too great that old software would no longer work afterwards.

That is why the decision was made to introduce many new commands in ABAP, the performance of which was further optimized. This is one of the most important reasons to switch to the new statements.

 

Obsolete

Furthermore, you have to look with the next releases to see which other statements are slowly no longer supported. Even with a view to the cloud, many things no longer work as they would on an On-Premise system. With future developments it is important to see whether you want to continue to be cloud ready and to adapt the style and objects accordingly. We will go into more detail on the details of cloud development in future series on our blog.

 

Conclusion

You can find our overview of the new statements and what exactly they replace under the following link. The list is as complete as we got with our research. If you can think of something else or is missing from our list, just get in touch via our contact or the comments under the article.


Included topics:
New ABAPNew statementsABAP 7.40
Comments (0)
Advertising

ABAP - Performance for the SELECT

Category - ABAP

In this article we will look at a few special cases with the SELECT and examine the performance of these constructs. We'll show you the current alternatives and give you little tips while reading.

04/02/2021

ABAP - Check objects (Instances)

Category - ABAP

In this article we will show you how you can analyze instances and react to them correctly, for example if you hand them over during processing and want to react individually.

03/19/2021

ABAP - Loops

Category - ABAP

With New ABAP, new loops and possibilities for restricting table contents were created. We'll take a closer look at these new commands in this article.

02/19/2021

ABAP - Comparison

Category - ABAP

Today we'll look at comparisons and comparison operators in terms of the new commands and their current usage. What has changed so far and what should still be done?

02/12/2021

ABAP - String Functions (Part 3)

Category - ABAP

This article is about other new string functions and a replacement for CONDENSE. We would like to show you why you should use the new functions.

01/22/2021

We use cookies for our services and functions. More informations