Concatenate ABAP SAP

Concatenate SAP construct in ABAP is used to combine multiple strings into one. There are several options for using this design in SAP systems. In this article I will tell you how to use the old version of string concatenation ABAP and what possibilities of using this construct have appeared in the new syntax ABAP 7.4.

Concatenate ABAP SAP

Example Concatenate SAP in old syntax

Sometimes you need to modify old syntax and therefore you need to know how the Concatenate in SAP before 7.4 construct is implemented.

Concatenate in new ABAP 7.4

Next we will consider how the ABAP string concatenation design has changed in the new syntax and what new opportunities it gives us. The new ABAP syntax gives more possibilities and adds simplicity and beauty to the code. Whenever possible, I try and recommend using the new ABAP syntax. For example using Concatenate for adding lidding zeros.

As a result, we see that using the new syntax is a more concise and understandable notation, the ability to declare a variable at the time of use, and the additional ability to combine spaces when using string concatenation.

Other articles related to this:

Leave a Reply