Unit weight conversion LB to KG

Hi Guys,
I need to convert the LB to KG, i came to know this  the FM "UNIT_CONVERSION_SIMPLE" will support,
I am pssing the  INPUT    = 100000
                        UNIT_IN  = LB
                      UNIT_OUT = KG
  But function module not giving any ouptut, Can any one suggest, what values i  need to pass to the FM or any other way to do the conversion.
Thanks in advacne.

Make sure that your INPUT and OUTPUT parameters are typed correctly. This works for me.
data: lv_input type p DECIMALS 3 value '10000.000'.
data: lv_output type p DECIMALS 3.
CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
  EXPORTING
    input                      = lv_input
   UNIT_IN                    = 'LB'
   UNIT_OUT                   = 'KG'
IMPORTING
   OUTPUT                     = lv_output
  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.
write:/ sy-subrc.
write:/ lv_output.
Regards,
Rich Heilman

Similar Messages

  • Handling unit weight into outbound delivery weight?

    Hi,
    I would like to transfer the total of my Handling unit weight to my outbound delivery weight. This is at this moment copied from the Sales order. How can I change that SAP will use the weights of the HU? Anybody?
    Thank you,
    Eric van Zundert.
    Edited by: eric van zundert on Feb 25, 2008 2:49 PM

    Dear Eric,
    if you also want to add the weight of the packaging materials to the weight of the delivery, you will have to create a delivery item for the packaging materials. Please check note 831204 for the necessary settings.
    I hope I could help you with this.
    Regards,
    Ely

  • RSUOM Unit of Conversion in Bex 3x

    Hii,
    Can I use RSUOM (Unit of Conversion) in Bex 3x.
    Best Regards,
    Mehmet

    This transaction is available only as of BI 7.0

  • PO with New unit of conversion

    Hi,
    We have the situation is PO is not update the new unit of measure conversion. As the PO was created with reference to the contract. The contract donu2019t have the unit of conversion. I know the PO is picking from the contract. Iam not able to change the contract with new unit of conversion. Pl advice how the PO will pick the new unit of conversion.
    Regards,
    Kumar

    Hi
    Thanks for the info.. i did the same but it taking unit conversion from the contract not from material master
    Kumar

  • Batchwise Different unit of conversion

    Hi Experts,
    I have one scenario,
    Material A procure in UoM  KG
    Receiving the same in different reels where conversion of reels Vs KG is not fixed. So I cannot use alternative UoM as I need to fix conversion between KG and Reel which is not the case here.
    Batch Management is active in my client. So i can create multiple lines as per reels received in MIGO screen and assign individual batch to them.
    Is it possible to achieve this scenario by any other way?
    What is the functionality of Batch specific material unit of measure and how to achieve the same? what could be customization steps in this scenario.
    Can I create multiple batches initially for weight slabs and from there track an inventory? How?
    Thanks in advance.
    Best Regards,
    Bhagat

    Problem has been solved..

  • Unit of conversion in BW 3.5

    Hi BW Experts,
    I impletented Unit of measure conversion in BW3.5 as same as mentioned in the doc "HOW to........Report data in Alternate Units of measure". When I am executing query in BEX Analyzer it gives Alternate uom as in ERR.
    Please guide me .......
    Full points will be assigned.
    Thanks!
    Sapna

    Hi
    Please check whether your keyfigure is hard coded with any of the unit field...
    Teja

  • Storage unit Length conversion tcode OMNN

    ABAP Guru's
    I have a requirement to use different length conversion for SU in different warehoses
    HU and SU are both active, Some of the warehouses use SU conversion length as 10 digits and others use 18 digits
    as OMNN settings are at client level so we may have to use exit MWMK0001 for our requirement
    In OMNN I will use SU conversion exit value as 3 and then through CMOD I will create and activate a project
    I will be using first two components of exit MWMK0001 , I am struggling because I can't put break point in this exit .I am new to ABAP so need help Does anyone ever had similar requirement and how it was solved
    Thanks
    Ash

    Hello there,
    Please see the following path:
    IMG
      - Logistics Execution
       - Warehouse Management
        - Storage Units
         - Master Data
          - Define Number Ranges
           - Conversion exit for storage unit number
    You may find the following information.
    Conversion of storage unit numbers
    SU conversion exit   3    Customer-specific user exit
    Length of SU numbers 18
    The storage unit number is processed through a conversion exit.
    You can find these exits in the domain lenum
       CONVERSION_EXIT_LENUM_INPUT
       CONVERSION_EXIT_LENUM_OUTPUT
    You may also use user exit EXIT_SAPLLVSK_002 to reprogram the length conversion again to plus the leading zeroes for the SU number. In the SAP standard any values for the SU number have to be typed in also leading zeroes.
    Regards
    Martin

  • Weight Conversion

    Hi All,
    I am developing a report to display the weight of delivery items in KG.
    I have Gross Weight and Net Weight, which may or may not be in KG in the table.
    But I need to display the output in terms of KG.
    Please help me on how to go with it.
    There is a function module MATERIAL_UNIT_CONVERSION but I dont know what exact parameters to pass.
    Please help me with an example.
    Thanks.

    Please try this FM.
    MD_CONVERT_MATERIAL_UNIT
    MATERIAL_UNIT_CONVERSION
    MC_UNIT_CONVERSION
    UNIT_CONVERSION_SIMPLE
    using MATERIAL_UNIT_CONVERSION is as shown
    report zrich_0002.
    data: input type p decimals 3 value '10.000'.
    data: begin of xtmp,
    menge type mseg-menge,
    meins type mseg-meins,
    end of xtmp.
    data: imara like mara.
    Get base UOM
    select single * from mara into imara
    where matnr = '000000000040006541'.
    The uoms must be of the internal format, check against T006a
    do conversion
    call function 'MATERIAL_UNIT_CONVERSION'
    exporting
    input = input
    matnr = imara-matnr
    meins = 'GLL' " Must be internal
    meinh = 'OZA' " Must be internal
    importing
    meins = xtmp-meins
    output = xtmp-menge
    exceptions
    conversion_not_found = 01
    input_invalid = 02
    material_not_found = 03
    meinh_not_found = 04
    meins_missing = 05
    no_meinh = 06
    output_invalid = 07
    overflow = 08.
    check sy-subrc = 0.
    regards
    navjot

  • Changing Handling unit weight does not update delivery header weight

    Dears,
    when we pack an item on a palett, system calculates tara-weight + material weight = gross weight and inserts this value to the likp-btgew. this is correct.
    now it happens, that shipping departement uses a scale to get the 'real' weight of the handling unit. if the weigth differs, they change the loading weight of the HU. system calculates correct the new gross weight of the HU.
    But when going back to delivery view, the likp-btgew is not updated. Do we miss a setting?
    thanks a lot for your help!
    Michael

    wrong forum

  • Problm tih unit measure conversion

    Hello Sdn,
    I am facinga problem while changing the Purchase Info Record (ME12) via BDC. I am getting 2 errors and record is not getting updated.
    1) Conversaion problem with unit & Measure
    2) field KONP-NBETR value longer then screen field.
    I was user conversaion function module for unit measure value, still iam getting this error. Could you please any body help me out from this issue, so that I can move a head. Appreciate for your immediate response.
    Regards,
    Kumar.

    Its closed

  • Function module for weight conversion

    Hi all,
    Is there any standard function module available which converts weight of format 59,250 into 59 kg 250 g.

    Hi Deep,
    check following code
      DATA :  LV_VALUE  TYPE I.
      DATA :  LV_KGS    TYPE I.
      DATA :  LV_GRMS   TYPE I.
      DATA :  LV_WEGT   TYPE STRING.
      DATA :  LV_K      TYPE STRING.
      DATA :  LV_G      TYPE STRING.
      BREAK-POINT.
      LV_VALUE = '59250'.
      LV_KGS   = LV_VALUE / 1000.
      LV_GRMS  = LV_VALUE - ( LV_KGS * 1000 ).
      LV_K = LV_KGS.
      LV_G = LV_GRMS.
      CONCATENATE LV_K 'kg '  LV_G 'g' INTO LV_WEGT SEPARATED BY SPACE.
      WRITE : LV_WEGT.
      BREAK-POINT.

  • Units conversion about variant configuration?

    my company is doing vc.we will change the material and batch.the width and length of product will be the character of batch in future,so the unit weight can not be in the material data,will be calculated in the batch.But there is the problem,the unit will only use the sale unit (such as pal)and the base unit(such as kg) in sale order and other .if we want to use the other unit such as pak,how can we do?we can not set the unit conversion,about  10 pak = 1 pal.
    we must create the another material ?
    Edited by: Philip Eller on Jun 11, 2008 10:08 AM
    Edited by: Philip Eller on Jun 26, 2008 10:56 AM*
    Edited by: Rui Pereira on Aug 6, 2008 4:24 PM

    hi ,anna:
    the detail is:
    we set the unit weight in material master data on addition data now,such as 1 pal=100 kg and 1 pak=10 kg.Every material has different value in width and length character.
    so we can use the PAL or PAK as the unit of sale order.
    In future,the width and the length will be not the character of material ,they will be the character of the batch.So the unit weight is setted in the batch.But the consultants say that we only can use one unit(PAL or PAK) and can not maintain the unit conversion.In the batch,they say only one unit can be use
    and can not convert.
    i think there will be some problem for our users in order operation,and want to find some way to deal with it.
    Edited by: Rui Pereira on Jul 8, 2008 4:22 PM

  • Unit of measure conversion for CIN is not relevant for pricing

    During creation of Ad item type order, when we enter the planned ad size e.g. A CO (Columns) x B IN (Inches), the system is showing a message "Unit of measure conversion for CIN is not relevant for pricing" and pricing is not determined in the Billing Data Set. However if the planned ad size is maintained as A CO (Columns) x B MM (Millimeters), there is no impact to pricing conditions.
    Any light how to fix this issue?
    Thanks,
    Suseela. V

    Dear Suseela,
    You need to maintain Unit of conversion using transaction code JH51. You have to follow the path Logistics-Advertising Management-Master Data-Conditions-Order/Billing Document-UM for Pricing.
    Here you can maintain combination using Booking Unit, Content Component, Design type and assign Unit of Measure to get relevant pricing into billing set conditions.
    Hope it will help. Thanks!
    Regards
    Indra

  • Unit Conversion in Service master

    It  seems the in service master (AC01) there could be only one unit conversion. Can we have more than one unit conversion just like material master. If yes how to do that?

    Hi ,
         Unit of conversion is Default settings(in img activity at Pur org or client level) while creating Service PO UOM is always in AU.
    regards,
    Patil

  • How to manage two quantity of two unit in process order?

    Hi  Guys
    In our plant, we have actived the catch weight management. For products A, we have set the standard conversion relation as follow: 1 EA (basic of unit)= 2.5 KG (production unit).
    But when I create the process order for products A, I only can input the quantity of production unit(1000KG) and the quantity of basic of unit cannot be inputted. It will be calculate by standard conversion relation. Now I want to create the process order by using two quantity of two unit(1100KG 400EA). Because we want to see the production plan by using two unit.
    Is there some method to do it?

    Hi,
    maintain the unit of conversion in Units of conversion in Material master in addition data..from PC to CAR..here base UOM is PC. CAR alternate UOM.
    Now in material master in work scheduling view maintain CAR as production Unit as shown below..
    Now when u create process order you will get like this..
    Thanks
    Kumar

Maybe you are looking for

  • How can I clear an expired password from my browser without clearing my whole cache?

    The password to one of my email accounts has expired and needs to be changed. However, Mozilla has saved it in the "password" space on my login page for this email account, and I cannot clear it. I have been told that I must clear "Forms" from my bro

  • Is it TIGO or is it NOKIA?

    I have a dreadful story with Nokia and Tigo in Colombia. I purchased a phone 5 months ago with a new service contract from Tigo and I have regreted that day for the past 4 months and 30 days!!!!!!!!!! First my phone would not surf the web a 3G speeds

  • Can SquirrelMail be set to serve on a port other than 16080? How?

    SquirrelMail serves OS X webmail on port 16080 out of the box. However, my company intranet has internet port 16080 closed... so, SquirrelMail is inaccessible. Can SM be set to serve on port 80? Is there a reason why it doesn't serve on this port by

  • Displaying image within a directory

    Hi everyone, i am doing a project on displaying image within a directory. But i am not sure how to do it. Is it possible to display all the images from a certain directory folder?? Thank in advance..

  • Digitally signing Macros - CA

    We have a requirement to digitally sign all Macros and have followed quite a few guides to how to autoenroll a certificate to a users login via GPO.  I've created Certificate Autoenrollment GPOs to add a cert from our CA to the users Personal Certifi