SAP READ LINE RESULT ABAP Statements

Get Example source ABAP code based on a different SAP table
  



READ LINE - result

Short Reference


ABAP Syntax ... [LINE VALUE INTO wa]

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

ABAP Addition
1 ... LINE VALUE INTO wa
2 ... FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...

What does it do? Specification of target fields for READ LINE.
• LINE VALUE INTO READ LINE

ABAP Addition

What does it do? The addition LINE VALUE assigns the formatted content of the complete list row in the list buffer to the data object wa.
• FIELD VALUE INTO READ LINE

ABAP Addition ...

What does it do? 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.

Latest 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.

Return to menu