Skip to Content
avatar image
Former Member

Alternate UOM to Base UOM conversion using FM

We are using MATERIAL_UNIT_CONVERSION for conversion. We passed MENGE, MATNR, MEINS and MEINH to the FM.

I have material: MATERIAL1 with KU as Base UOM.

in Alternate UOM (MM03 -> Additional Details -> Unit of Measure) we have the following details:

1CS <=> 10KU

When I enter 1CS, the BAPI will have the following parameter:

INPUT = 1

MATNR = MATERIAL1

MEINS = KU

MEINH = CS

When we check the output, it gives 0.1 as result. We expect a '10' of result. We are wondering how it happened. Can anyone advise what to do?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 26, 2017 at 12:56 PM

    MEINS is the base unit of measure.

    MEINH is the alternative unit of measure.

    By default, it converts INPUT from MEINS to MEINH (KZMEINH = space).

    To do the opposite, pass KZMEINH = 'X'.

    What you're currently doing is converting 1KU to ?CS, and as you defined 1CS=10KU so it returns 0.1. If you pass KZMEINH='X', then you'll be converting 1CS to ?KU, so it will return 10.

    Add comment
    10|10000 characters needed characters exceeded