ABAP Keyword Documentation → ABAP - Quick Reference
READ LINE - Quick reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
READ { {LINE line [{OF PAGE page}|{OF CURRENT PAGE}]
[INDEX idx]}
| {CURRENT LINE} }
[LINE VALUE INTO wa]
[FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...].
Effect
Reads a list line from the list buffer and assigns the content to sy-lisel
.
Additions
-
LINE line
Specifies the line to be read inline
. -
OF {PAGE page}|{CURRENT PAGE}
Specifies the page on which a list event was raised inpage
or as the top page of the displayed list. -
INDEX idx
Specifies the list index inidx
. If not specified, the list level is used on which a list event occurred. -
CURRENT LINE
Specifies the line in which a list event was raised. -
LINE VALUE INTO wa
Assigns the content of the list line to the work areawa
. -
FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...
Assigns the output areas of the data objectsdobj1
,dobj2
, ... (in the list line output) to the data objectswa1
,wa2
, ...