Nice nerdy topic today.
Even though this enables a more compact way of coding ABAP, and (sometimes) improves readability, it seems not to have been embraced by many. This of course makes perfect sense as we were able to do perfect ABAP coding without these new ‘tools’.
Usage of extended expressions also allows more intuitive string operations such as
v1 = ‘abc’ && ‘def’
CONCATENATE ‘abc’ ‘def’ into v1.
Where to start?The easiest way to find out the features as delivered by 702 is to start report (SE38) demo_expressions in your development system.
This transaction allows you to browse and even debug examples of the new features.
F8 runs the report, and brings you to the index where you can select the different features.
Nicely done and very useful. I would recommend all ABAP programmers to take a look at the new features when an upgrade to 702 has been done.
So, what do we get?
Some of the most popular new statements would be: