Code: Alles auswählen.
Data: GS-EF_BRT.
CLEAR: GS-EF_BRT.
CALL FUNCTION 'ROUND'
EXPORTING
DECIMALS = 2
INPUT = GS-EF_BRT
SIGN = 'X' "Kaufmännische Rundung
IMPORTING
OUTPUT = GS-EF_BRT
EXCEPTIONS
INPUT_INVALID = 1
OVERFLOW = 2
TYPE_INVALID = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.