ABAP Keyword Documentation → ABAP - Quick Reference
ADD - THEN, UNTIL - Quick 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
Defines the sequence using the distance between the data objectsdobj1anddobj2. - 
TO result
Adds the result to the content ofresult. - 
GIVING result
Assigns the result toresult. - 
FROM ... TO
Defines the sequence using data objects directly adjacent in the memory whose first data object isdobjand whose elements are determined usingpos1andpos. - 
ACCORDING TO sel
Limits the elements of the sequence according to the conditions of a ranges table. - 
RANGE range
Limits the addressable memory area to a structurerange.