Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

UOM

Former Member
0 Likes
693

Dear gurus,

I want to take the UOM conversion factor

values maintianed in material master

from which table i can take it

any ideas on this gurus...

senthil

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
639

Hi,

use the table MARM..

Or use the FM MD_CONVERT_MATERIAL_UNIT to convert the quantity..

Thanks,

Naren

5 REPLIES 5
Read only

Former Member
0 Likes
640

Hi,

use the table MARM..

Or use the FM MD_CONVERT_MATERIAL_UNIT to convert the quantity..

Thanks,

Naren

Read only

0 Likes
639

same vthread.

Read only

Former Member
0 Likes
639

Hi Senthil,

Try this

CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
       EXPORTING
            I_MATNR              = PWA_CONFIRM-MATNR
            I_IN_ME              = PWA_CONFIRM-MEINS
            I_OUT_ME             = C_LB
            I_MENGE              = PW_MENGE
       IMPORTING
            E_MENGE              = PW_MENGE
       EXCEPTIONS
            ERROR_IN_APPLICATION = 1
            ERROR                = 2
            OTHERS               = 3.
  IF SY-SUBRC <> 0.
    PW_MENGE = PW_MENGE * 48.
  ENDIF.

Regards,

Raghav

Read only

Former Member
0 Likes
639

Hi,

Please reward points for helpful answers..And close the thread if the problem is solved..

Thanks,

Naren

Read only

Former Member
0 Likes
639

Are u trying to convert this uoms or u want to pick the value of the mpk for that material ?

if u want to convert the uoms u can check the

function module

<b>UNIT_CONVERSION_SIMPLE</b>

for table reference <b>MARM fields for are meinh , umrez , umren .</b>

hope this helps ,

regards,

vijay