Funktionsbaustein UNIT CONVERSION SIMPLE

Aus SAP-Wiki
Wechseln zu: Navigation, Suche

Dieser Funktionsbaustein UNIT_CONVERSION_SIMPLE

CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
  EXPORTING
    INPUT                      =
"   NO_TYPE_CHECK              = 'X'
"   ROUND_SIGN                 = ' '
"   UNIT_IN                    = ' '
"   UNIT_OUT                   = ' '
" IMPORTING
"   ADD_CONST                  =
"   DECIMALS                   =
"   DENOMINATOR                =
"   NUMERATOR                  =
"   OUTPUT                     =
" EXCEPTIONS
"   CONVERSION_NOT_FOUND       = 1
"   DIVISION_BY_ZERO           = 2
"   INPUT_INVALID              = 3
"   OUTPUT_INVALID             = 4
"   OVERFLOW                   = 5
"   TYPE_INVALID               = 6
"   UNITS_MISSING              = 7
"   UNIT_IN_NOT_FOUND          = 8
"   UNIT_OUT_NOT_FOUND         = 9
"   OTHERS                     = 10
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur