Skip to content

ABAP Keyword Documentation →  ABAP - Release-Specific Changes →  Changes in Release 7.40 and Its SPs →  Changes in Release 7.40, SP05 

Expressions and Functions in Release 7.40, SP05


1. LET Expressions


2. Component operator


3. Table comprehension

Other versions: 7.31 | 7.40 | 7.54

Modification 1

LET Expressions

The new LET expressions in the form LET ... IN make it possible to define variables or field symbols as helper fields in expressions. Currently, LET expressions can be used in all constructor expressions where this makes sense.

Modification 2

Component Operator

The component operator CORRESPONDING is a new constructor operator that enables component by component assignments to be made between structures or between internal operands at operand positions. Mappings between components are based by default on matching names and can be defined using mapping rules.

Modification 3

Table Comprehensions

Table comprehensions are an enhancement of the instance operator NEW or the value operator VALUE and are used to create the content of internal tables. One or more FOR expressions can now be specified as a subexpression of the constructor expression. These FOR expressions evaluate existing internal tables whose content can be used to construct the result within the loops.