ABAP Keyword Documentation → ABAP − Short Reference
READ LINE - Short 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 row 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 occurred, inpage
or as the top page of the displayed list. -
INDEX idx
Specifies the list index inidx
. Without specification, the list level is used on which a list event occurred. -
CURRENT LINE
Specifies the row in which a list event occurred. -
LINE VALUE INTO wa
Assigns the content of the list row to the work areawa
. -
FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...
Assigns the output areas of the data objectsdobj1
,dobj2
, ... (output in the list row) to the data objectswa1
,wa2
, ...