ADD Keyword for Sequences of Fields - SAP ABAP
Adds sequences of fields.Syntax
ADD <n1> THEN <n2> UNTIL <nz> GIVING <m>.ADD <n1> THEN <n2> UNTIL <nz> ACCORDING TO <sel> GIVING <m>.
ADD <n1> THEN <n2> UNTIL <nz> TO <m>.
ADD <n1> FROM <m1> TO <mz> GIVING <m>.
If <n1>, <n2>,..., <nz> is a sequence of fields with a uniform gap between each, the same type,
and the same length, the fields are added together and the result placed in <m>. The variants
allow you to restrict the fields to a partial sequence, to include <m> in the sum, or to perform the
operation for a sequence of consecutive fields.
No comments:
Post a Comment