Skip to content

ABAP Keyword Documentation →  ABAP - Quick Reference 

ADD - THEN, UNTIL - Quick 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
    Defines the sequence using 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 using data objects directly adjacent in the memory whose first data object is dobj and whose elements are determined using pos1 and pos.
  • 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 structure range.