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 dobj data object to a list at any list level after the
MINIMUM statement (which is not permitted in classes) is executed, the minimum
value of all values output with WRITE since the MINIMUM
statement was executed is determined by dobj and assigned to a min_dobj data object.
The MINIMUM statement declares global data object min_dobj
with the same type as dobj. For dobj, you can
specify all data objects that can be written to a list with the WRITE statement. The MINIMUM statement must not be listed within a
procedure and may be listed in a program only once.
Note
This statement is not permitted in classes because it works with global variables created implicitly.
In its place, you can use predefined function nmin, for example.
Example
See SUMMING