SAP OO OBS ADD 1

Get Example source ABAP code based on a different SAP table
  


ABAP Code Snippet
ARTICLE

No summing-up of memory positions
The variants ADD THEN ... UNTIL ... and ADD FROM ... TO ... of the statement ADD are not allowed in ABAP Objects.

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.