Skip to content

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

READ LINE - result

Quick Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


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

Extras

1. ... LINE VALUE INTO wa

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

Effect

Specifies target fields for READ LINE.

Addition 1

... LINE VALUE INTO wa

Effect

The addition LINE VALUE assigns the formatted content of the complete list line 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... (which have been output to the list buffer) to these data objects, or (if specified) to the data objects wa1 wa2 .... wa or wa1 wa2 ... expects data objects whose data type is covered by the generic type simple, except for enumerated objects. The list line or data objects dobj1 dobj2 ... are handled as if they have the data type c, which means that trailing blanks are ignored.

If data objects dobj1 dobj2... appear more than once in a line with the same name, only the first object 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 addressed in the WRITE statement using a field symbol needs to be read, and the same data object is no longer assigned to the field symbol, the name of the data object must be specified and not the name of the field symbol.


Notes

  • No conversion routine is executed when an output area is read.
  • The content of the line or of the individual output areas in the list is character-like and formatted according to the rules for the WRITE statement.When the read row or an area is assigned to a data object, the conversion rules apply in the same way as to a source field of type C. This can cause problems with the target fields dobj1 dob ... or war war ..., particularly if these fields are numeric and the output contains separators. Due to this, use of READ LINE is mainly recommended for the evaluation of fields that are ready for input. For other evaluations, HIDE can be used to save values in a type-friendly way.