SAP NEWS-740 SP05-EXPRESSIONS



Get Example source ABAP code based on a different SAP table
  



Expressions and Functions in ABAP Release 7.40, SP05
ITOC

ABAP_MODIFICATION_NN 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.

ABAP_MODIFICATION_NN 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.

ABAP_MODIFICATION_NN 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.