SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
No summing-up of memory positions
In ABAP Objects an error message is issued in the following cases:
ADD f1 THEN f2 UNTIL fn GIVING sum.
Reason:
The functionality of these statements depends on the internal structure of the program's
working memory. Such operations should be avoided. As an alternative, you can use the statement
ASSIGN with the addition INCREMENT.