Funktionsbaustein MATERIAL UNIT CONVERSION

Aus SAP-Wiki
Zur Navigation springenZur Suche springen

Dieser Funktionsbaustein MATERIAL_UNIT_CONVERSION

CALL FUNCTION 'MATERIAL_UNIT_CONVERSION'
  EXPORTING
"   INPUT                        = 0
"   KZMEINH                      = ' '
    MATNR                        =
    MEINH                        =
"   MEINS                        = ' '
"   EXTENDED_CONV                = ' '
"   TYPE_UMR                     = ' '
"   NO_OUTPUT                    = ' '
"   CHARGE                       =
"   CHARG_CUOBJ                  =
"   WERKS                        =
" IMPORTING
"   ADDKO                        =
"   MEINS                        =
"   OUTPUT                       =
"   UMREN                        =
"   UMREZ                        =
"   BATCH_CONVERSION_ERROR       =
"   KZWSO                        =
" EXCEPTIONS
"   CONVERSION_NOT_FOUND         = 1
"   INPUT_INVALID                = 2
"   MATERIAL_NOT_FOUND           = 3
"   MEINH_NOT_FOUND              = 4
"   MEINS_MISSING                = 5
"   NO_MEINH                     = 6
"   OUTPUT_INVALID               = 7
"   OVERFLOW                     = 8
"   OTHERS                       = 9
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur