Skip to content

ABAP Keyword Documentation →  ABAP − Short Reference 

ADD - THEN, UNTIL - Short Reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


ADD { { dobj1 THEN dobj2 UNTIL dobj 
      { {TO result} | {GIVING result [ACCORDING TO sel]} } }
    | { dobj FROM pos1 TO pos GIVING result } }
    [RANGE range].

Effect

Obsolete

Additions

  • THEN ... UNTIL
    The sequence is defined by the distance between the data objects dobj1 and dobj2.
  • TO result
    Adds the result to the content of result.
  • GIVING result
    Assigns the result to result.
  • FROM ... TO
    Defines the sequence by data objects directly adjacent in the storage, whose first data object is dobj and whose elements are determined by pos1 and pos.
  • ACCORDING TO sel
    Limits the elements of the sequence according to the conditions of a selection table.
  • RANGE range
    Limits the addressable storage area to a structure range.


This translation does not reflect the current version of the documentation.