CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
            EXPORTING
              i_matnr              = gv_matnr
              i_in_me              = mlgn-lhme1
              i_out_me             = gv_meins
              i_menge              = mlgn-lhmg1
            IMPORTING
              e_menge              = mlgn-lhmg1
            EXCEPTIONS
              error_in_application = 1
              error                = 2
              OTHERS               = 3.
 
Serkan AKKAVAK
Computer Engineer
serkurumsal@yandex.com