Table Expressions, Chainings
This example demonstrates how table expressions are chained. .
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
The example shows a read performed on a nested internal table using the
statement READ TABLE and using a
table expression .
Reads performed using statements require the statement READ TABLE
to be used twice and two explicitly declared field symbols. The first
field symbol, wa1 , is used in the second READ statement
and the second field symbol, wa2 , is used to pass the result to a
method.
When reads are performed using table expressions, the expressions can be
chained and passed to the method directly. No explicitly declared field
symbols are required.
The result of both reads is the same.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved