SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
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
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.
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.
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.