SAP MINIMUM ABAP Statements



Get Example source ABAP code based on a different SAP table
  


ID MINIMUM
• MINIMUM ABAP Statement

MINIMUM
Short Reference

ABAP_SYNTAX_OBS
MINIMUM dobj.

What does it do?
For each WRITE statement that writes the content of the data object dobj to a list at any list level after the statement MINIMUM, which is forbidden in classes, is executed, the minimum value of all values of dobj produced as output since the statement MINIMUM was executed with WRITE is determined implicitly 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 can only be specified once in a program.



Latest notes:

This statement is not allowed in classes because it works with implicitly created global variables. The built-in function nmin can, for example, be used instead.
ABAP_HINT_END



Example ABAP Coding

See SUMMING
ABAP_EXAMPLE_END

Return to menu