Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  User Dialogs →  Classic Lists →  Processing Lists in the List Buffer →  READ LINE 

READ LINE - result

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


... [LINE VALUE INTO wa] 
    [FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...].

Additions

Effect

Specification of target fields for READ LINE.

Addition 1

... LINE VALUE INTO wa

Effect

The addition LINE VALUE assigns the formatted content of the complete list row in the list buffer to the data object wa.

Addition 2

... FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...

Effect

The addition FIELD VALUE assigns the output areas of single data objects dobj1 dobj2... that have been output to the list buffer to these data objects, or -if specified- to the data objects wa1 wa2 .... For wa or wa1 wa2 ..., data objects are expected that have a data type covered by the generic type simple. The list row or data objects dobj1 dobj2 ... are treated as if they have data type c, and trailing blanks are ignored.

With data objects dobj1 dobj2... of the same name that are output multiple times to a row, only the first one is read. If a data object dobj1 dobj2 ... is not found at all, the specification is ignored.

If the output area of a data object that was addressed in the WRITE statement via a field symbol is to be read, and the same data object is no longer assigned to the field symbol, the name of the data object and not the name of the field symbol must be specified.


Notes

  • No conversion routine is executed when an output area is read.
  • The content of the row or of single output areas is character-like and formatted according to the rules for the WRITE-statement. When the read row or area is assigned to a data object, the conversion rules for a source field of type c apply. This can lead to incompatibilities with the target fields dobj1 dobj2 ... and wa1 wa2 ... , especially if these are numeric and the output contains separators. The use of READ LINE is therefore mainly recommended for analyzing input-ready fields, whereas for other analyses, you can save values type-related with HIDE.