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.

Similar Messages

  • 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...

  • Quantity conversion from one unit to another

    Hello Experts,
    I need to convert quantity from one unit to another For eg: 1000kg to Grams.
    Is there any standard Function Module which can do so.
    Thanks.

    Hi,
    Try any of these.
    PRC_CNV_UNIT_CONV_ALT_TO_BASE - Convert Alternative to Base Product Unit
    PRC_CNV_UNIT_CONV_BASE_TO_ALT - Convert Base to Alternative Product Unit
    PRC_CNV_UNIT_CONV_ISO     -     Convert ISO Quantity Unit
    PRC_CNV_UNIT_CONV_SIMPLE  -     Convert Simple Unit (Without Product)

  • Quantity Conversion from different dimensions

    Hi,
    I am facing one problem regarding the quantity conversion.
    In my report, I have a field for quantity which contains different units like Kg, L, etc
    Now, i want to convert these quantity into Kg -> MT and L -> KL. which I tried from RSUOM by creating the conversion type but it is not helping as the field contains different units.
    Please guide me how I achieve this.
    Thanks,
    Nitesh.....

    HI,
    It should work through RSUOM....What setting di dyou select?
    You should select input currency from data record...
    And then target currency you can select from variable...

  • Unit converion having different unit values

    Hi Experts,
    I want to Unit conversion .
    I have the fields like this.
    In DSO.
    0material                   0unit  
    sulphur                     G (grams)
    Acetic acid               ML (Milli Litres)
    I wnat this in Report
    0material                     0unit  
    sulphur                       KG (kilo Grams)
    Acetic acid                 L (Litres)
    Means depending on the source fields the conversion should take place.
    Can you please tell me a solution ?
    Thanks in Advance.
    Naresh.

    hi naresh,
    Go through the article below, hope it will solve ur problem.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60c0ef09-c1a8-2b10-eb87-824b23577923
    thanks

  • 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

  • UoM Conversion from SAP units to ISO units -- Prod Order IDOC (LOIPRO01)

    Hello,
    We are trying to build interface for Production Order details to pass to a Mfg. system. using IDOC LOIPRO01.
    Looks like the IDOC processing is converting SAP on-screen UoM to ISO UoM for ex.  PC (in SAP Screen) to S2 (IDOC Field Value).
    I would like to know if there is any OSS notes or anyother way to prevent this conversion and just pass the same value what we see in SAP screen to the Mfg. system.
    Appreciate your inputs in thsi regard.
    Best Regards,
    Bharat.

    changes in master data have only effect to NEW data, created after this change .
    SAP never updates automatically already existing data.
    Answer: No there is nothing that can trigger an automatic change.
    changes to ratios between base unit and alternative units are unusual and the changer has to know about the effect. it is not only the existing info record, you have to think as well about open POs which still have the old conversions.

  • 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 BI 7.0

    Hi i want to display the units in US standards in initial view of report and allow <b>users to convert in local units if they want.</b>
    A. I find that data is comingfor "factory area" field  in cube in various units such as FT(Feet), MT (Meters), ST, IN. as entered in ECC
    Please get me some help to write the <b>ABAP code to convert the units in US standard units or tell me some functionality at report level to convert the units so that report display all data for "factory area" in one unit</b>
    Thanks
    Regards
    Poonam Roy

    Just a Correction here..
    with NW2004s the HOW-TO GUIDE for qty conversion is obsolete.
    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_nw2004s/helpdata/en/27/b65c42b4e05542e10000000a1550b0/content.htm
    Hope it Helps
    Chetan
    @CP..

  • How to create unit conversions and translation type

    hi,
        i need to create translation typre for unit conversion, plese provide with tcode for translation creation and table for seeing the unit conversion rates

    TCode for Unit Conversion : RSUOM
    Table: T006
    Hope this helps

  • 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.

  • Conversion between units belonging to different dimensions.

    Hello Friends,
    Is there any standard way available in BI 7.0 to convert unit cubic meter (M3) to Tonnes (TO). I am struggling to convert as both the units belong to different dimensions (M3 -> Volume and TO -> Mass).
    There is a function module in R/3 (MD_CONVERT_MATERIAL_UNIT) which does the required conversion. I am not able to find an equivalent in BI.
    Please assist as this is time critical. Thanks!
    Regards,
    Prem.

    Hello Prem,
    See this doc
    [How to Report Data in Alternate Units of Measure|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f]
    Thanks
    Chandran

  • Import Purchase Requisitions from one Operating Unit to a different Operati

    The need is to import Purchase Requisitions from one Operating Unit to a different Operating Unit.
    There are 2 operating unit with one inventory orgs in each. But the 1st is OU( It is a club) merely creates Purchase Requisition, and its not a advisable process to have a separate Purchasing process in that OU as it is too small ( but for financial reasons it has to be defined as a separate OU). So we want the Purchase Requisitions created in the 1st OU to be imported in the 2nd OU. Is there any way we can achieve this. Note: Since Order Management is not implemented we cant use the Internal customer setup and we wont like the PO to be created in the 1st OU as we do in standard Intercompany invoicing process.
    Any solutions/Pointers/workaround for this.
    Regards,
    Manoj

    As long as you have the same master org in the 2 operating units, all you have to do is
    INSERT INTO mtl_system_items_interface
                (organization_code, segment1, transaction_type, set_process_id, process_flag)
       (SELECT '&new_Org', msi.segment1, 'CREATE', 100, 1
          FROM mtl_system_items_b msi
         WHERE organization_id = &old)And run the Import Items request.
    Hope this helps,
    Sandeep Gandhi

  • Pay Operating Units from different Legal Entities?

    Pay Operating Units from different Legal Entities?
    Hi there,
    This is the current scenario:
    Legal Entity A has Operating Unit A
    Legal Entity B has Operating Unit B.
    In R12 Payables, can payments be setup so that in the payments manager of Operating Unit A (LE A), payments can be made for Operating Unit B (LE B)?
    i.e. Can an operating unit from one legal entity make payments from an operating unit from another legal entity?
    The bank account is setup in LE A, but when we create a payment process request with invoices from different OUs of different LEs, then only invoices from the LE in which the bank is setup are selected for payment.

    1.OU's are not mapped to LE directly (at least for Payables). The OU LE relationship is derived via the ledgers. So if Ledger A is attached to OU A and Ledger A is attached to LE1 and LE2. I guess what I am saying should be possible.
    2.If I understand correctly the new functionality that you are refering to is for the Payment Process Request (PPR, payment batches in 11i). This feature is more wrt MOAC changes that were done and not Cross OU payments.
    What it allows you is to select invoices from different LE,different OU's, different Currencies and different pay groups. It does not allow you to have Invoice in OU1 and payment for that invoice in OU2.
    Thanks

  • 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

Maybe you are looking for

  • No data in Active table of DSO for fields populated by End Routine

    Hi, I have a Standard DSO where we are populating few fields by using End Routine. Last week we added 5 more fields to DSO and wrote a logic in End ROutine to populate the DSO. These new fields dont have any mapping and these are just populated by en

  • Inconsistent results moving mail to iCloud folders

    Sometimes the mail will move and other times it will end up back in the Inbox.  Having to close Mail and restart.  One thing to note is that most of the mail is originating from a Gmail mailbox.  This MB Pro was purchased with the Mountain Lion OS an

  • Defining complex types in ABAP

    Hi Folks, I am new to the ABAP world and has started programming in it for about two weeks now (therefore, two weeks of experience so far ). I have a question regarding definition of complex types in ABAP. Basically what I want to achieve is to defin

  • Creating projects

    Hi, Need help regarding creation of Projects(project definition in SAP) ,creating partners for the projects,creating WBS elements,updating profitability segments for the created WBS elements and loading classification/chararcteristics data for the cr

  • Oracle Forms 9 Problem

    I am learning forms with Oracle 9i and have run into a problem. The following code runs just fine in a Save Button with a WHEN -BUTTON-PRESSED trigger that inserts a record from a stacked single record block (does not allow updates or deletes from it