ABAP Keyword Documentation → ABAP − Reference → Obsolete Language Elements → Obsolete User Dialogs → Obsolete Statements in List Processing → Obsolete calculations
MINIMUM
Other versions: 7.31 | 7.40 | 7.54
Obsolete Syntax
MINIMUM dobj.
Effect
For each WRITE
statement that writes
the content of the data object dobj
to a list at any list level after the
statement MINIMUM
(forbidden in classes) is executed, the minimum value of
all values of dobj
produced since the statement MINIMUM
was executed with WRITE
is determined and assigned to a data object min_dobj
.
The statement MINIMUM
declares the global data object min_dobj
with the same type as dobj
. All data objects can be specified for dobj
that can be written to a list using the statement WRITE
. The statement MINIMUM
must not be specified within a
procedure and it may be specified in a program only once.
Note
This statement is not permitted in classes because it works with implicitly created global variables.
The built-in function nmin
can, for example, be used instead.
Example
See SUMMING