Skip to content

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

Expressions and Functions in Release 7.40, SP05


1. LET expressions


2. Component operator


3. Table comprehensions

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 auxiliary fields in expressions. Currently, LET expressions can be used in all constructor expressions where this makes sense.

Modification 2

Component Operator

Component operator CORRESPONDING is a new constructor operator, which enables you make component by component assignments 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.