Convert Unit of Measure

Hi all,
i need a function that must change another unit of measure, not base unit of measure.
Which function can i use ?
Thanks a lot.

Hello,
AFAIK there is no such func. It's always AUoM --> BUoM --> AUoM.
You can use the function 'MATERIAL_UNIT_CONVERSION' for these conversion.
BR,
Suhas
PS: In our system we've created a custom function module to the direct conversion for AUoM --> AUoM.

Similar Messages

  • Converting Unit of Measure (not quantity)

    Hello All,
    I have an interesting issue that I am not sure how to address.  I have done some searching online and through the forums on how to convert unit of measure.  Nearly all of the returned entries pertained to converting FT to LB, and scenarios like that.
    My issue deals with the data in the EORD table.  I created a custom program to create/update numerous source lists using a BDC for transaction ME01.  This way the user can enter numerous materials and plants into one program one time, rather than create each source list individually.  One such source list has a value in field MEINS as GAL (Gallon).  However this is the converted value, this can be viewed in SE16n.  If I use SE16, or debug the program, I can see the value in MEINS as GLL.  This is the unconverted value.  Thus when I create the source list I get an error.
    I was wondering if there was a function module I could use to convert the UoM.  I know I could create logic to check the value of UoM and if it is incorrect to change it using a custom FM or even in the logic of the enhancement itself.  But this could change over time, meaning more units could be added requiring more logic changes.  If there was a standard FM I could use, I could implement it once and be done with it.
    So does anyone have any advice or know of an FM I could use?  I will continue to search for an answer and if I find one I will post.  If my question is confusing please let me know and I will clear up anything I can.
    Thanks for your help in advance.
    Regards,
    C.

    There is a conversion exit on unit of measure, "CUNIT" (via table T006A) use
    CONVERSION_EXIT_CUNIT_INPUT    Conversion exit for commercial (3-char) measurement unit INPUT
    CONVERSION_EXIT_CUNIT_OUTPUT   Conversion exit for commercial (3-char) measurement unit OUTPUT
    Regards

  • System is not converting unit of measure ment while doing cost estimation.

    Hi All,
    System is not converting unit of measure ment while doing cost estimation.
    Now i am explaining system setting. based on this kindly help me.
    Our Base Unit of Measure Measuremnt in Material Master is M2 (meter square) and We have maintained Unit conversion in Master as  1 PC is <=>2.5 M2.
    We are running costing for 1 M2.
    Producion we are doing in Peaces (PC) .  and i maintained Std Value for for Machin and Labour for PC only. and we maintained charge quantity in phases also.
    While running cost estimation system is not converting std value of machin & labour into M2.instead it is showing full machin and labour time and value.
    System showing PC value for M2 Cost estimate.
    Can any one let me know where i am missing.
    Thanks in Advance.
    Regards,
    Sahil

    Hi,
    as per your explanation: 1 PC (piece) = 2,5 sqm (m2), standard values for "labour / machine" maintained per PC.
    I guess within T-code CUNI, the unit PC does not allow any decimal places (means there can be only 1 piece, 2 pieces, 2 pieces but not 1 and a half pieces, 2,63 pieces,...)
    Now if you are running plan cost estimate for quantity 1 sqm (m2) SAP picks the "labour / machine" values for 1 PC (and not for 1 / 2,5 = 0,4 pieces) as decimal places for unit pieces are not allowed so its up-rounding.
    Run cost estimate for 10 sqm (m2) which should be 4 PC and the result should be fine.
    Best regards, Christian

  • How to convert  unit of measures in bex on master data attribute values

    Hi All,
    i need to convert the unit of measure in Masterdata Attribute values... that means ) ' 0grooss_wt'. this is attribute as a keyfigure of ' 0material' .. this ' 0gross_wt' values has to convert in KGs. at Present ' 0gross_wt' values are in KG and Grams...
    I can change these values in update rules by writting Routine.. But I need to convert it in KGS at BEX Query Designer Level..
    I need calculate like this
    quantity sold * Gross Weight.
    here Gross Weight is the formula variable which replacing the values of gross weight...
    i tried by creating conversion types in RSUOM t-code. but it works on keyfigures of infocube.. not on attribute values of master data...
    is there procedure in formula variable it self to convert unit of measure before replacing the values.....
    or is there any other  solution to  this Problem...
    Thanks in advance..
    regards
    ravi.p

    Hi
    Have you tried to create a variable for ths kf with exit. I thnk it is possible here
    Assign points if useful
    Regards
    N Ganesh

  • Convert unit of measure to metric

    Does anyone know how to convert a unit of measure to metric?  Is there a function module that I can use? Thanks.

    report ychatest.
    here qty is ur quantity field in ur internal table ,
    loop at itab.
      call function 'UNIT_CONVERSION_SIMPLE'
        exporting
          input                      = itab-qty
    *   NO_TYPE_CHECK              = 'X'
    *   ROUND_SIGN                 = ' '
         unit_in                    = itab-vrkme
         unit_out                   = 'EA'
      importing
    *   ADD_CONST                  =
    *   DECIMALS                   =
    *   DENOMINATOR                =
    *   NUMERATOR                  =
         output                     = itab-qty
    * 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
    modify itab transporting qty.
    Endloop.

  • Convertion unit of measure....

    Hi,
          I Have KWH(Kilowatt Hour), TO(Tonnes) and M3(Cubic Meter),How to Convert these values into single unit of measure?
    Regrads,
    devi,

    Hi,
    Check following thread as well
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00944f2f-c3e8-2c10-ccb5-a6e4cc882db4?QuickLink=index&overridelayout=true
    RSUOM can be used to maintain the conversion parameters.
    Alternatively we can use numerator/denominator concept as well and get the multiplication done at report or Infoprovider level.
    You can also get that field from source if it is available readily.
    Thanks and regards

  • How can i know a perticular  quantity unit of measure is convertable or not

    hi ,
    depending on the delivery quantity unit of measure (likp-vrkme).
    i have to convert into M2,LM,VM.
    i require 2 things.
    1. for exanmple let the LIKP-VRKME = 'XX'.
       how can i come to know wether XX is convertable to M2,LM,VM or all of the    three.
    2. i need a standard unit of measure  function module .
    Thanks & Regads
    Suresh kumar

    hi ,
    very good question...
    the answer is the UOM must have same dimension...
      ex: If you want to convert 1litre of petrol to some other UOM, the UOM which you are going to convert must have the same dimension .. in this case petrol is a liquid ... litre has dimension liquid... litre can be converted to Gallons,  kilo litres, barrles.. etc
    You can find the relationship in table T006 and filed DIMID... check whether all the UOM has same DIMID .. then go ahead with the conversion...

  • Pblm in Converting BUOM to Batch specific unit of measure

    Hi Gurus
    I am Facing a Problem in converting the base unit of measure to batch specific unit of measure.
    I have given BUOM in KG.Batch specific unit of measure is PC.
    When i do GR for the material in KG with the average wt of the material in kg in the classification view
    the system is increasing my GR KG to convert the material to PCS .
    I dont want KG to be increased but the PCs to be rounded off to next integer.
    How can i resolve this pblm??
    NB:- All the settings are done correctly
    and all the notes are applicable in ECC 604
    Thanks and Regards
    BS

    Dear
    Did you assing any Rounding value and Rouding Profile in MRP1-MM01 for this item ?? Do not maintained this option in MRP1 and check wether you have Kept rouing vadule against KG in CUNI ??
    Basically , if you maintain the profile then it will rounds up to the next level based on the thresold valu as configuired in your case in Rouidng Profile  in OWD1 .
    Also check in MM-Purcahsing -Order Optimisation -Unit of Measure of Rounding rules  for  purchased item .This based on the control of optimisation of qty.
    Hope it helps
    Regards
    JH

  • Convert the all the quantity units into one Unit of measure that is 'CSE'.

    Hi all,
    I want to convert the all the quantity units into one Unit of measure that is 'CSE'.
    would anybody tell me what is the FM that converts all the quantity units into one Unit.
    Thanks in advance,
    Mythily

    Hi Mythily,
    You can check the following function module - -
    FCO_CONVERT_FROM_BASE_UNIT
    MD_CONVERT_MATERIAL_UNIT
    MS_CONVERT_UNIT_TO_TIME
    RV_CONDITION_CONVERT_UNITS
    VHUMISC_CONVERT_TO_ALTERN_UNIT
    VHUMISC_CONVERT_TO_BASEUNIT
    WALL_QUANTITY_CONVERT_UNIT
    WALL_QUANTITY_CONVERT_UNIT_RND
    WSTP_CONVERT_UNIT
    Regards
    Pinaki

  • Convert between EDI order Unit of Measure to Base Unit of Measure

    Hi all,
    I am looking for a method whereby the following can be accomplished
    -  Customer orders certain products in LBS UOM...they have been quoted a per LB price and an equivalent CS price by sales and they choose to send EDI orders in LBS
    -  Base unit of measure for these products is in CS.  Stocking unit is cases.  Pricing also maintained in cases
    -   I've maintained alternative UOM in the MM records to convert LBS TO CASES
    What i really want is for the customer to submit the EDI order specifying LBS but when  the sales order is created i want the order lines in CS.  I want to deliver and bill in CS as well.  I do not want the sales units to be the units that the order was submitted in.   
    Any suggestions are appreciated.

    Thomas,
    We make creative use of the customer-material info record (CMIR) to do what you describe.
    Standard functionality of the CMIR will allow the customer to send their internal SKU on an EDI PO, converting it to our SAP material number for use in the sales order. 
    We maintain a u201Cconversion factoru201D in the CMIR field called Search Term.  We use an exit in the inbound IDoc processing code to apply the factor to the quantity ordered and the EDI1 price condition.  For example, the factor u201C/006CASu201D would divide the customeru2019s order quantity by six and use CAS as the UOM on the sales order.  The EDI1 price is multiplied by six, so that our CAS pricing matches up.
    This allows any customer to order with their internal SKU and UOM, while we process the orders with our internal material numbers and preferred units.
    An exit on the outbound process code allows us to use the same factor to change the values back into what the customer wants to see.
    This works great in the consumer products industry, where we, the supplier, have to deal with inflexible customer EDI requirements.
    Regards,
    Ken

  • Converting one  base unit of measure to another

    Hi Experts,
    i want to know the function module name , which should convert the one base unit of mesure to another base unit of measure.
    like EA TO PAL , or PAL TO sqft.
    i have found one function module ( MATERIAL_UNIT_CONVERSION) ,which is not giving proper output(giving only zero's)
    could u please help me out from this problem.
    Thanks in Advance,

    Hello,
    Try this.
    data:c_kg LIKE lips-gewei VALUE 'KG', "Weight unit in kg
    c_lb LIKE lips-gewei VALUE 'LB', "Weight unit in lb(pound).
    CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
    EXPORTING
    input = i_ln_items-brgew
    unit_in = c_kg
    unit_out = c_lb
    IMPORTING
    output = i_ln_items-brgew_lb.
    If useful reward.
    Vasanth

  • How to convert in sytem Unit of Measure from PC to KG?

    Frds,
    If I want to convert after production my rejected or scrap material from PC to KG in SAP System? Here produced finish material is in PC unit of measure and I want it's scrap in KG?

    Dear,
    For conversion UOM,You can use Functional module with help of your ABAP team,
    Please refer below link-
    http://wiki.sdn.sap.com/wiki/display/ABAP/ToconverttheUnitofMeasuretoalternateUOM
    Regards
    Raheem

  • I want to know the function moulde used to convert the unit of measure

    The whole process should be done in the Portugues login language.
    For the login language PT( Portuguese). In table MARA, if i choose the menu settings-> use parameters-> and chek this field (conversion field exit) . Then for any material if i check the unit of measure (MEINS), is display of all the material its shows differently, but if i select one material and see all the fields of that material, the MEINS field is changed. For example when all the materials are show the MEINS is ST. but when i select one material and display it . it shows PEC in portugues language.
    I want to know the function moulde used to convert the unit of measure

    HI,
    There exits the conversion routine for that particular field in its domain level..
    copy that conversion routine and search for that in SE37 your conversion routine
    you will find the function module this gives you the internal and external formats
    Fms are listed below for MEINS
    CONVERSION_EXIT_CUNIT_INPUT    Conversion exit for commercial (3-char) measurement unit INPUT
    CONVERSION_EXIT_CUNIT_OUTPUT   Conversion exit for commercial (3-char) measurement unit OUTPUT
    For convertiung quantity into base unit of measure you can do this way
    CALL FUNCTION 'ME_CONVERSION_MEINS'                       "#EC *
        EXPORTING
          i_matnr             = "give material number"
          i_mein1             = "Unit of measurement "
          i_meins             = "base unit of measure
          i_menge             = "quantity
        IMPORTING
          menge               = "quantioty in your required measurement
        EXCEPTIONS
          error_in_conversion       = 1
          no_success                = 2
          OTHERS                    = 3.
    HOpe this helps you
    Reward if useful
    regards,
    nazeer
    Message was edited by:
            nazeer shaik

  • Production Order for a Material with two units of measure?

    Hi Everybody I have the following issue.
    In my company there is a new production process with a Material that should be configured in the master data with the field "Base Unit of Measure" as per unit (each). But the production process, should be confirmed by tx CO11N, in Kilograms. I know that I can use the additional Data in tx MM03 to set a Production Unit, but the value of convertion would be fixed. For example 122 Kg = 1 each, the thing is that the value in kilograms for each lot can vary, one lot can weight 122 and another one can weghr 125, and in each case I shoul have two units in stock. And as I have the value of convertion fixed, when I confirm each lot one for 122 kg and another for 125 kg I will have 2.025 units in MB52.
    How can I solve this problems? I need to have the chance the confirm in kg changing for each lote the quantity but in the base Unit of Measure have one unit for lot. As if for tx CO11N I could have a field where I can set tha x quantity of Kilograms is x each.
    Kind regards
    Leandro. 

    Hi Ayoub, First thank`s for your promt answer,
    1. The Quantity is different, because is not a perfect process, there is a manual work in the process that makes this quantity differ, there is no big difference, maybe a Kilo or Two but the production mannager wants to have this registered. And besides in productions they manage kilograms, but for selling the comercials manage units (each - EA)
    2.The convertion rate is known at the end of the process after cutting and packaging a unit, they weight it.
    Regards
    Leandro

  • Error  while creating PO --   Unit of measure not defined for lanuage  ZH

    Hi all,
    i  have created the PR with EA as UOM. Then while creating PO, i am getting error like
    '  Unit of measure not defined for lanuage ZH' .
    Then  I execute CUNI
    Then menu is GOTO > Translation > units of measure
    enter source language and target language . After this i am getting the below message
    --->  Language not available on server
    Please suggest what i should do. Thanks.
    Thanks
    pabi

    HI Pabi,
    Go to material master for material in purchase requisition, the Go to Additional data and maintained language as ZH in material master data.
    Also the other possibility, that if in your case purchase requisition are converted to purchase orders through background jobs,
    then check the background job execution in SM37 whether that background job has been triggered twice parellely in the background, which could have resulted in locking of same purchase requisition at same time and hence your are getting the Error.
    Br,
    Tushar

Maybe you are looking for

  • Function Module for BOM for posting BOM component long text

    Is there any SAP provided Function Module for posting BOM components long text if so please let me know as it is very urgent for me.

  • Interactive Report Filter Expression

    I am a (new) user not a developer. The Apex developer has presented me with a web page containing an Interactive Report interface. I seem to be managing just fine, for the most part, except to make a filter with multiple OR statements. I can easily m

  • Osx and hd audio

    I was one phone call away from ordering a new mac mini to serve as a mac osx HTPC, mainly to take the place of my failing bluray changer. My plan was to use Makemkv to rip my blurays and then use Plex to play them. I just had to confirm that I would

  • WebDynPro call EJB

    Hi everyone, I am trying without success to call a stateless EJB from a WD application. I deployed a CalculatorEAR project. This CalculatorEAR contains the CalculatorEJB modul. I tried the following code :      try {           InitialContext ctx = ne

  • Cannot open illegal or empty URLs

    RH11 | WebHelp I'm receiving the message "Cannot open illegal or empty URLs" when I open certain topics in one of my projects. I can click OK and the topics still open, but I'm unsure why this is happening. Has anyone seen this before? Thanks Jonatha