Unit conversion from KG to Milligram

Hello
I have a problem that i want to sell the material in Milligrams, which base unit is KG. In SAP not accepting to sell the material in Milligrams but some times i want to sell in Milligrams. Please give the solution.
Regards/RK

Dear Ramakrishna,
the reason why the system issues an error message is due to the fact that the factor to convert KG into MG is 1.000.000. This value is greater than the allowed five digits. If you enter G the factor is 1000 (= 4 digits). Therefore the conversion is possible. For further information please also refer to note 362932.          
In your example you should most probably use G instead of MG.
Unfortunately there is no exit or enhancement to change this behaviour.
Regards,
Tibor

Similar Messages

  • Unit Conversion from Different units to  TO ( Ton )

    Hi all,
    I am getting the Quantity with different unit of Measures from R/3 Datasource.
    So my requirment is I have to convert all Units to TO ( TON ).
    I have searched in the forum and find one function module i.e UNIT_CONVERSION_SIMPLE.
    But when I am passing Input = 1000
                                      UNIT_IN = KG
                                      UNIT_OUT = TO
    It is giving an Exception that "Input value is not Number" but 1000 is number only na.
    So please suggest me any other way to Convert different units to Single uint in BW3.5.
    Please suggest me.
    Thanks,
    Kiran Manyam

    Hi Kiran,
    Check
    http://help.sap.com/search/highlightContent.jsp
    Regards,
    Rajdeep.

  • Unit conversion from Sales unit to Base unit

    HI,
          I am working on 2lis_11_vaitm and 2lis_11_v_ssl sources.
    Both these sources have quantities in Sales unit.
    In BW how do i convert these quantities to Base unit.
    Both sales unit and base units are available in the sources. But value avialable only in Sales unit.
    I am using delivery quantity from 2lis_11_v_ssl and Cumulative order quantity in 2lis_11_vaitm.
    Kindly suggest a way.
    Regards,
    Adarsh
    Edited by: adarsha a on Sep 6, 2008 3:27 PM

    Hi...
    You can use the function module CF_UT_UNIT_CONVERSION to convert from one
    unit to the another.
    Hope this helps you...
    Regards,
    Debjani...

  • Unexpected implict conversion from unitless to unit

    If I drop a constant unitless double value on a diagram and a doube indicator in the front panel, with some kind of units, and connect both, I get a broken wire, i.e. no implicit conversion from unitless to units.
    If I drop a constant unitless double value on a diagram and connect it to both input choices of the buit in select, connect some value to the selector, and connect the output of the selector to a double indicator with some kind of units, I get a broken wire, i.e. no implicit conversion from unitless to units.
    If I drop two constant double values on a diagram, one unitless and the other with units, and connect each to the two inputs of the selector, connect to the selector a constant that selects the unitless constant, and connect the output of the selector to a double indicator with the same units as the input with units, I get all valid connections and an implicit conversion from unitless to the base unit of the input.  This is a bit unexpected, shouldn't I get a broken wire in there somewhere?

    Okay, it's a slow Friday so here is what I found.
    1. If we connect one unitless input and one input with units to a select function we receive a broken run arrow only when the the true input has units.
    2. If both inputs have units but do not match, we receive a broken run arrow regardless of input placement.
    3. In Range and Coerce will actually coerce units, it is the only simple primitive I found that does this.
    4. Stuff gets really, really wierd with units. Follow these steps:
         a. Create four double constants, two unitless and two "m"
         b. Drop a select function and an "In range and coerce" function
         c. Wire one "m" to the true input on select and one into the upper limit of the in range function
         d. Wire one unitless numeric constant to the false input of select and one to the lower limit of the in range function.
         e. Delete the Select function
         f. Undo
    In conclusion: LabVIEW units, how do they work?  If I have time next week I'll try to ask around.
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • Unit Conversion in Info Set Query

    Hello Experts
    I have create a query on infoset in which I want to show the qty field with the unit conversion factor . but I am not able to do so.
    It is giving an error message while saving the query
    0Material is not a valid characteristics for Info provider ZINFOSET
    Diagnosis
    Customer enhancement RSR00002 or the implementation of BAdI RSR_OLAB_BADI delivers 0MATERIAL as the characteristic to be calculated. 1. is, however, not a valid key figure for InfoProvider ZIS_BILL.
    System Response
    The information from 0MATERIAL is ignored.
    Procedure
    Check the exit.
    Procedure for System Administration
    Please help me out
    Thanks
    Neha

    Hi,
    You can try unit conversion planning function,create planning function and add it at the back of button.
    Can refer to link below:-
    Not sure if it can solve your problem.As it also depends upon source and target keyfigure used.
    http://help.sap.com/saphelp_nw70/helpdata/en/44/21643cedf8648ee10000000a1553f7/content.htm

  • Function modules for unit conversion

    hai gurus.
    what is the function module to make one qty to the same unit as other qty.
    if one is in kg and other in pounds
    i want to make both in pounds.
    pls help me with this

    Hi
    chk UNIT_CONVERSION_SAMPLE
    also chk this
    CF_UT_UNIT_CONVERSION
    Some Insights-
    Unit conversions
    with NW2004s the HOW-TO GUIDE for qty conversion is obsolete.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/27/b65c42b4e05542e10000000a1550b0/content.htm
    As of SAP NetWeaver 2004s you can create quantity conversion types using transaction RSUOM.
    The business transaction rules of the conversion are established in the quantity conversion type. The conversion type is a combination of different parameters (conversion factors, source and target units of measure) that determine how the
    conversion is performed.
    In terms of functionality, quantity conversion is structured similarly to currency translation.
    Quantity conversion allows you to convert key figures with units that have different units of measure in the source system into a uniform unit of measure in the BI system when you update them into InfoCubes
    http://help.sap.com/saphelp_nw04s/helpdata/en/27/b38c4284a8c353e10000000a1550b0/content.htm
    It is entered in ODS table linked to info object (0material)
    What you need to do basically is-
    1 ) Goto your infoobject for eg- 0material
    2 ) In Info object Maintenance- Tab page- Bex Explorer
    3 ) Enter 0BASE_UOM in Base unit of measure
    4 ) Generate UOM ODS (System generates it with prefix UOM)
    It is made of 4 fields (1 more in case of compounding) with SID for them. This is the place where you enter numerator and
    denominator to calculate conversion factor
    5 ) Load the UOM ODS with conversion from 0MAT_UNIT_ATTR or flat file
    6 ) Define conversion type
    7 ) In the conversion type, then you can select 0Material in the dynamic determination of conversion factor
    8 ) Select source unit and target unit
    For more help refer SAP help file on NW2004s. It is comprehensive and even explain - How to do unit conversion in
    transformation rule?
    http://help.sap.com/saphelp_nw04s/helpdata/en/4f/707242df019c60e10000000a1550b0/content.htm
    Check this sample code,
      CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
        EXPORTING
    *     CLIENT                  = SY-MANDT
          DATE                    = pdate
          FOREIGN_AMOUNT          = p_amt1
          FOREIGN_CURRENCY        = p_curr1
          LOCAL_CURRENCY          = p_curr2
    *     RATE                    = 0
    *     TYPE_OF_RATE            = 'M'
    *     READ_TCURR              = 'X'
        IMPORTING
          EXCHANGE_RATE           = w_rate
          FOREIGN_FACTOR          = w_fact1
          LOCAL_AMOUNT            = w_amt
          LOCAL_FACTOR            = w_fact2
    *     EXCHANGE_RATEX          =
    *     FIXED_RATE              =
    *     DERIVED_RATE_TYPE       =
        EXCEPTIONS
          NO_RATE_FOUND           = 1
          OVERFLOW                = 2
          NO_FACTORS_FOUND        = 3
          NO_SPREAD_FOUND         = 4
          DERIVED_2_TIMES         = 5
          OTHERS                  = 6.
      IF SY-SUBRC <> 0.
        write: / 'Conversion to loc.curr. failed:',
                 p_curr1, '->', p_curr2, 'err.code=', sy-subrc.
      ELSE.
        write: / 'to Loc.curr:', p_amt1 currency p_curr1, p_curr1, '->',
               w_amt currency p_curr2, p_curr2,
               '(', w_rate, ')', w_fact1, w_fact2.
      ENDIF.
    http://www.geocities.com/victorav15/sapr3/examples/currconv.txt
    Check this
    CONVERSION_FACTOR_GET
    Measurement unit conversion: Get measurement unit conversion factor Not for Dimensionless Units of Measure
    UNIT_CONVERSION_SIMPLE Measurement unit conversion by table T006, with rounding
    UNIT_OF_MEASURE_SAP_TO_ISO 
    UNIT_OF_MEASURE_ISO_TO_SAP
    MATERIAL_UNIT_CONVERSION Material quantity conversion from Base Unit of Measure to Alternative Unit of Measure and vice versa. For Dimensionless Units of Measure (Each, Piece, Box etc.) conversion depends on the given Material (see table MARM). For other Units of Measure (Length, Weigth etc.) conversion can be calculated from the T006 table or via CONVERSION_FACTOR_GET.
    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
    CONVERSION_EXIT_LUNIT_INPUT Conversion exit for technical (6-char) measurement unit INPUT
    CONVERSION_EXIT_LUNIT_OUTPUT Conversion exit for technical (6-char) measurement unit OUTPUT
    UNIT_OF_MEASUREMENT_HELP Input help for measurement units of a predefined dimension
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    Reward all helpfull answers
    Regards
    Pavan

  • Unit Conversion in Query Designer

    Hi All,
    In one of my report, i have to show the gross weight in column against material which i am reading from material master.
    Now the weight is stored in two different unit's KG & G.
    But i have to show the weight finally in KG.
    Does any body has any idea of performing unit conversion at Query level i.e. in Query Designer.
    Thanks.

    Rakesh the same i am doing, that is reading the weight value from material master through formula variable using replacement path.
    Now when i create a key figure like this, there is a tab of 'Conversion' in that there is mentioned the 'Unit conversion'
    In there, there are 2 options
    1. Conversion type - this is a drop down but with no vlaue
    2. Target Unit - Where i selected KG.
    But output remains the same, i.e. in KG.
    M I missing something ?

  • Unit Conversion in the Query

    Hello Experts.
    I have a situation where I need the units of quantity to be converted at the query level. For e.g. if the value of the keyfigure is stored in litres in the Cube, then at the time of the query execution this value should be converted in gallons.
    I cannot use the following options in this case:
    1) The Solution for alternate UOM using the How-to guide for the same as the conversion from liters to gallons is not maintained at the material master level in my case
    2) I cannot use the Unit Conversion in the Conversion tab because gallons won't be the only target unit in my report, it will depend on the type of material select by the user.
    Please let me know about the options in this case. Any sort of help is appreciated and points will be duly rewarded.
    Thanks,
    Rishi

    Hi Prasad,
    In both of the ways, there should be only one target unit for them to work which is not the case in my situation. I want only specific material types to be displayed in gallons. If the User selects a different Material type then the target unit will be different.
    Any other possible solution on this one.
    Thanks,
    Rishi

  • Unit Conversion issue for same material with Diff KPI

    Hi,
    i have a report with multiple key figures which form a structure.
    Unit conversion for this report and all the key figures are defined at report level.
    Below are the settings in place
    Source currency:    Data record from target
    Target Currency:    From variable ( Input variable in BeX report)
    Conversion  factor: Dyanamic Determination of conversion factor
                                   Using Reference Infobject if available otherwise use T006
                                   Reference Infobject: 0Material
    Issue: For 1 Key figure conversion to TO is happening, however for other Key figure conversion is not happening for the same material.
    Note: Conversion to TO is defined in BEX settings for Info object 0material and stored in DSO UOM0MATE.
    Why for same material some key figures convert to target unit correctly and not the others?
    See the attached screenshot. Sales Quantity is convertin to "TO" while Volume third party shows figue in"ERR" for same material.
    Thanks
    Nayab

    Hi,
    Following reasons cause to your issue,
    1. Unit Conversion is not maintained for that particular material  in source system Material itself, so that  conversion data data may not updated in DSO (UOM0MATE).
    2. For particular transnational data record key figure value don't have any base unit or units measures, that case also  you may get that error.
    Request check the transnational data in your InfoProvider and 0Material Master data and DSO data (UOM0MATE) . Correct the data based on that.
    Check the Master data test in RSRV for 0Material, if any SID generations was missed or not.
    I hope this can be help to find the cause of error , based on that you can resolve problem.
    Thanks & Regards,
    Leela Krishna.

  • Quantity and Unit conversions

    Hi Experts,
    I have an inventory report in which i have three columns (Total cost per unit, Stock Quantiy and stock values)
    Total Cost per unit is in EUR  -- currency conversion exists in the report level.
    Stock Quantity in KG/PC/LB  - Unit conversion exists at report level.
    Stock value in EUR     -- Multiplication of Total cost per unit and stock quantity.
    In my case, Total cost per unit and Stock quantities are coming from different Infocubes on top of which a MP is designed.
    When i change the UOM from KG to G or PC or LB, Stock Quantiy values are changing accordingly.
    However the Stock value is also changing which should not happen because realistically Stock value in EUR for a specific material and plant combination should always be same irrespective of any UOM(KG/G/PC/LB) for the keyfigure "Stock Quantity".
    I am wondering if it possible to change the "Total cost per unit" value in the report according to the change in UOM.If so can you provide me your valuable inputs?
    Quick help is highly appreciated.
    Best Regards
    Nag

    hi,
    Please use CKF's for all the three values, currently it might be changing as it might be a simple formula i.e. a = b*c.
    if b changes then a is bound to change.
    create CKF without any currency conversion. apply the calculations in CKF.
    In the end use CKF in the report and apply the conversions after adding them in the query column.
    regards,
    Arvind.

  • Unit Conversion Problem

    Hi I am having some issues in unit conversion.Let me brefly explain the scenarioa below
    Coversion Type Settings:
    Source currency:    Data record from target
    Target Currency:    From variable ( Input variable in BeX report)
    Conversion  factor: Dyanamic Determination of conversion factor
                                   Using Reference Infobject if available otherwise use T006
                                   Reference Infobject: 0Material
    Now for 1 material "Conversion to ton" attribute is zero as below. But at report level conversion to TO is happening correctly.
    However for other material Conversion to TO is zero and at report conversion aint happening. (Target currency appears as ERR).
    Why is conversion not happening for 20053110, because in both the cases above 0Material infobject is referred to read conversion factor.
    Thanks

    Hi Nayab,
    In both cases, the value in the "Conversion to TON" attribute is irrelevant.
    The option you have selected in RSUOM will basically do the following
    1. Check the unit conversion DSO for 0MATERIAL. You can see the DSO name if you open 0MATERIAL in RSD1, check the BEx tab. Normally it is UOM0MATE, but it may be configured as something else in your system. This DSO defines the conversion rates at a material level. For instance, it could say the conversion rate for Material ABC for Pieces -> KGs is X... i.e. 1 piece = X KGs.
    2. If the above fails (i.e. no conversion exists for the material in the above DSO), then it tries to convert the quantities based on the T006 table. This second step only works for conversions within a physical dimension. For instance, the second step will work for conversions from Ton->KG, KG->lbs, metres->feet, litres -> gallons etc, but it will not work for say gallons -> tons or pieces -> kgs.
    Regards,
    Suhas

  • Unit conversion in the sales order

    Hi All,
    We have got a typical requirement from the user where they need unit conversion at sales order creation level.
    The scenario goes as below.
    Initially the order quantity will be enetered in terms of pieces and the price will be determined accordingly. Now user wants to have option in the sales order screen, by pressing which the order quantity (unit of measurement) should convert in to number of boxes. Also price they want to redetermine based on the number of boxes.
    example: Assume a each box can accomodate 12 pieces.
    So initially in the order 24 units of the material are entered and price per piece is 10 USD so the total price will become 240USD.
    Now when they press the conversion button in the screen then the number of unit should become 2 and price per quantity should become at box level. i.e 120 per box. 
    Please let me know whether through available std config is it possible to achieve this or please let me how we can achieve this.
    Regards,
    Anand

    Hi,
    In material master sales : sales orgz. 1 >>> maintain sales unit & enter system will popup new window speciefy
    e.g
    1 box <===> 100 ea.
    Now create order and system will determining sales unit, if u want to change it change.
    Also see in iteam deteail tab conversion factor is appearing.
    Regards,
    kapil

  • Ordering unit different from invoicing unit

    Hi all,
    My client procures steel. In PO, they want to buy with ordering unit EA, but when invoicing, they want it in KG (because based on the law here, invoice for steel must be in KG).
    We suggested them to use ordering unit KG because in SAP, PO unit and invoicing unit have to be the same.
    Is there anyway/configuration to allow the PO unit different from invoicing unit?
    Thanks,
    Trang

    Hi,
    You can have order unit as EA and Order price unit as KG while creating PO.
    For ex:
    Order qty: 10 EA
    OPU: KG
    Under item tab quantity/weights in PO, you can give the conversion factor as 1 EA = 2 KG or maintain the conversion factor in additional data of material master.
    Price will be calculated for 20 KG during invoice.

  • Question about unit conversion for BAPI_PO_CREATE1...

    Hello Experts,
    How do we bypass/supress the unit conversion in BAPI 'BAPI_PO_CREATE1'? Because what is happening
    right now is for example, I input in 88CV it will convert it to 'EA' as this is defined as the
    PO unit of measure. I want the 88 CV to be as it is.
    Also, I am manually populating the net price(net_price) with my own value as I do not want to get
    the net price from the info record. But it comes back as 0. I populate the 'X' fields as to let you know.

    This conversion takes place due to SPRO setting
    ask your functional people to do that
    goo SPRO->reference img->sap netweaveer->check units of measurement
    cheers
    s.janagar

  • Algebraic mode - unit conversions

    Can you use the HP 35s unit conversion functions on the key board while in algebraic mode [AGL]?  The keystrokes are given for RPN mode but not AGL.  If you can used them in AGL mode, what are the keystrokes>

    Hi!, M35s: You can download the Hewlett_Packard_Training_Aids HP-35s.pdf, from the Web ... [PDF]HP 35s Training Aidssliderule.mraiow.com/w/.../0/.../Hewlett_Packard_HP-35s_Training_Aids.p...HP provides these training aids to help readers learn about the HP 35s, or to gain ... Thetraining aids use special symbols to show keys on the HP 35s and ...

Maybe you are looking for

  • RFC to File - XML file output

    Hi, We are doing a RFC to file scenario where our o/p file is in XML format. The required o/p file format is : <?xml version="1.0" ?> <MAT_GROUP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HEADER>   <MINISTRY_CODE>TOT</MINISTRY_CODE>   <D

  • IFFT is slow, if input is NaN

    Dear users, I am posting an answer to a question, which bothered me for some time. I was working out, why a certain part of my program runs slowly. Well, the answer was that the slow part performed an inverse FFT (Fast Fourier Transform) on an input,

  • Screen sharing in Yosemite - lots of weird graphical artifacts

    I have Yosemite installed on both my MBP 2013 Retina and a brand-new Mac Mini (headless). I control the Mini from the MBP with standard built-in screen sharing. It works, but visually it's really bad! Often the remote menu bar goes black, and only re

  • Imported photos saving to top of camera roll.

    When I directly import photos from the computer to the phone via the USB cable given with the phone they instead of coming up at the bottom of the camera roll show up at the top. Keep in mind only some of these photos show up at the top. I have tried

  • Why can't I move my songs move into a playlist any more?

    I have discovered recently that the songs in my music library, both old and new, will not move as they always did, by clicking and dragging into a playlist.  I get a red crossed out circle and they just won't move!  Help!