Conversion of UOM TO KG'S Urgent!!!!!!!!!!!!!!!!!

can any one tell me how to convert UOM TO KG'S.
Is there any FM to do it.

use the FM:
UNIT_CONVERSION_SIMPLE
Usage:
  CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
       EXPORTING
            INPUT                = <value in Base unit>
            UNIT_IN              = <Unit of measure>
            UNIT_OUT             = 'KG'
       IMPORTING
            OUTPUT               = V_Value
       EXCEPTIONS
            CONVERSION_NOT_FOUND = 2
            INPUT_INVALID        = 4
            OUTPUT_INVALID       = 4
            TYPE_INVALID         = 4
            DIVISION_BY_ZERO     = 6
            OVERFLOW             = 8
            UNITS_MISSING        = 10
            UNIT_IN_NOT_FOUND    = 12
            UNIT_OUT_NOT_FOUND   = 12.
Regards,
Ravi
Message was edited by:
        Ravi Kanth Talagana

Similar Messages

  • Conversion of UOM

    Hi all,
    I am facing problem in UOM conversion.
    my UOM maintained in KG on material master. and price maintain in MT.
    when i am going to create a sales order for 10 kg than it will convert this price 1kg = 1mt.
    example-
    price maintained for 1 MT = 1000 INR
    and i order 10 KG than it picks 10,000 INR
    its calculate MT price .
    but when i order in MT than it picks right price.
    so please help me out.
    Regards,
    Vishal

    when i am going to create a sales order for 10 kg than it will convert this price 1kg = 1mt.
    example-
    price maintained for 1 MT = 1000 INR
    and i order 10 KG than it picks 10,000 INR
    its calculate MT price .
    but when i order in MT than it picks right price.
    do you have the alternative measure MT with a correct conversion ratio maintained in your material master?
    you say system is picking a price. Means you do not enter it manually. So check the price condition records.
    Within the conditions it is possible to maintain a conversion ratio if no alternative unit is created in material master. Check whether you have a conversion ratio in the condition and if it is correct.

  • Conversion from UTF  to EBCDIC format- Urgent

    I want to convert the data from UTF* format to EBCDIC format and create a flat file for the same. Is there any utility tools available in oracle. If not what are the other possibilities? pls help me.
    Thanks
    Krishnaraj

    Hi ,
    I am trying to convert the normal text data to EBCDIC. As we all know, there is a corresponding value for each normal character in ASCII/HEX/BINARY/EBCDIC etc.
    Using CONVERT I am able to see some data converted correctly but rest of hte accented characters not correctly.
    select convert('^', 'US7ASCII','EBCDIC' ) from dual;
    select convert(';' ,'WE8EBCDIC500','US7ASCII') from dual;
    ^ = ascii normal txt
    ; = corresponding ebcdic of ^
    Internally CONVERT function seems to be doing correct conversion but there is a problem wiht the actually new - to be replaced characters. SQLPLUS is not able to display all the characters correctly. For all the accented chars of "a", it shows plain english a, same wiht e , u etc.
    I would like to know is there anyone who knows what client side settings need to be done so that the CONVERT function output is displayed correctly on SQLPLUS.
    I am using Oracle 9i Rel 2
    NLS_LANG on my client (win XP) is set to AMERICAN_AMERICA.WE8MSWIN1252
    As seen in the CONVERT function, the correct charset is - 'WE8EBCDIC500'
    And the db params are as follows --
    ===========================================
    SQL> select * from NLS_DATABASE_PARAMETERS;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET WE8ISO8859P1
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 9.2.0.1.0
    ===================================================
    Can anyone help me on this??
    Thanks in advance
    regards
    Abhivyakti,
    Pune, India

  • Unit Conversion for UOM DOL

    I'm having problems converting DOL using UNIT_CONVERSION_WITH_FACTOR function module.  I know DOL is the output value and $ is the input value but for some reason, 2lis_02_scl extractor is saving DOL in the PSA when $ is coming from the source system.  I tried changing the Format from Internal to External within the DataSource but the value in the PSA doesn't change.  I've looked at the values via PSA Managemenet and SE16 in detail view and the value remains DOL.  In 3.x version there was a checkbox in the transfer rules that you can check to by pass conversion exit.  Is this the same time of functionality I need in 2004s or is it a different issue?  Appreciate any help I can get on this.
    Thank you,
    Dae Jin

    Hi
    same Problem we also facing , so pls let me know how to do this one.
    Regards
    Giri Venkat

  • Conversion of UoM in MSDS

    Hi,
    For the the property Density in Cg02, I have entered value as 1.250 g/cm3.
    When I display the MSDS report for the specification in language English, the value for Density is displaying correctly as 1.250 g/cm3.
    But when MSDS reprot for the specification is displyed in Chinese language it is displying density value as : 1.250 克/cm3 
    Does anyone have any idea why the 'g' in UoM is converted as Chinese language text?
    Regards,
    Niraj
    Edited by: Niraj Sikligar on Sep 17, 2010 7:41 PM

    Hello Niraj
    UOMs are defined in the tables T006* in central SAP customizing. EH&S WWI is using this definition in language dependent reports to print the Unit in the document. I assume that the definition of g/cm3 is not correct regarding language ZH or ZF. Normally the "°"  Sign (degree Celsius) is one of those giving rise to trouble in WWI documents.
    Any UOM which should be used in any language used in EH&S PS in combinaiotn with WWi must have an applicabale customizing entry. 
    with best regards
    C.B.
    PS: You should check necessary entries the availaibility of the UOM  in any language. Asusmption is that in JA etc (asian languages) most of the problmes will come up
    PPS: Make use to have the recent WWI version. Even if UOMs are defined well some asian languages are "problematic" regarding UOMs topics in the WWI area.
    Edited by: Christoph Bergemann on Sep 18, 2010 5:55 PM

  • Material Quantity Conversion - Base UOM to Sales UOM

    Hi,
    Is there any SAP Function Modules to Convert a Matrial Quantity from Base UOM into Sales UOM?
    Appreciate Your Help!.
    Thanks,
    Kannan.

    You can use this FM:
      CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
        EXPORTING
          I_MATNR                    = WS_BSEG-MATNR  " < material
          I_IN_ME                    = WS_BSEG-MEINS " < Base Uom
          I_OUT_ME                   = LF_MEINS " < Sales Uom
          I_MENGE                    = LF_E_MENGE " < Qty in Base Uom
        IMPORTING
          E_MENGE                    = LF_I_MENGE " < Qty in Sales Uom
    Regards,
    Naimesh Patel

  • Unicode Conversion from 4.7 enterprise MDMP (URGENT)

    Dear Experts;
    We are getting ABAP Dumps in various HR transactions;
    The following syntax error was found in the program /1PAPA/FEAT100PLOGI :
    "The program "/1PAPA/FEAT100PLOGI" is not Unicode-compatible, according"
    Is there any Program to generate these programes to be Unicode enabled...
    Thanks in advance for all your efforts....
    Best Regards
    Aslam

    Hi Aslam,
               In case you are talking about customized transations and programs (z ones ) u can go to the attributes of that program and uncheck the Unicode checks active, save and activate. This will solve your problem
    Reward if helpful.
    Regards,
    Tomesh

  • UOM Conversion to be used in transformation

    Hi Experts,
    I am trying to make use of the BI 7.0 UOM conversion feature in one of our InfoCubes where the source quantity which is in Base UOM needs to be converted to cases.
    I went through all the steps which are as follows:
    1. I have 0BASE_UOM as the base unit of measure for 0MATERIAL
    2. A DSO was automatically generated with the name Z_OUOM I gave in 0MATERIAL configuration
    3. I created a transformation for this DSO with source as 0MAT_UNIT
    4. Created a DTP and loaded the DSO
    5. Created a Conversion type with settings 'Dynamic Determination of conversion factor as Using Reference InfoObject = 0MATERIAL
    Source Unit of Measure: Unit of Measure from Data Records
    6. Target Unit of Measure: Fixed Unit of Measure = 'CS'.
    In InfoCube transformation I have the following mapping:
    Rule type: Direct Assignment
    Target Unit: 0UNIT
    Unit: From Conversion
    Conversion Type: ZCASES
    Source Unit: 0BASE_UOM
    Source Fields of Rule:
    0MATERIAL
    0REQ_QTY
    0BASE_UOM
    Target Fields of Rule:
    ZREQ_QTY
    0UNIT
    When I load the InfoCube, the quantities are indeed getting converted to cases provided there are conversion factors available for that material in the UOM generated DSO
    Here is my question: How can I handle records where the material does not have conversion factors in the UOM generated DSO?
    I get an error when loading using a DTP as 'No quantity conversion possible'. There is one record in the source DSO that has a material number with no unit conversions in UOM generated DSO
    I am aware there is an option of using routine, but I do not want to use it unless I am sure this method won't work

    Hi Aditi,
    There is no way you can check if UOM is present or not in UOM DSO and then do the conversion via using conversion type.
    What you can do is write the routine rather than conversion type, to fetch the data from the UOM DSO.
    If conversion factor exist then you can convert it simple by multiplying with the value, if not then you can  easily skip the record by putting IF condition.
    IF factor <> 0.
    ENDIF.
    Hope this helps.Let me know if you need more info.
    Regards,
    Viren

  • UOM & Currency COnversion

    We installed SAP BW frontend patch 5 for BI 7.0. When I click on a keyfigure (Amt or Qty) I do not get an option for currency conversion or UOM conversion. Any Idea, Why these options are not available any more???

    Hi Anand,
    I think it is something to look forward to in NW2004s. See here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/27/b65c42b4e05542e10000000a1550b0/content.htm
    Hope this helps...

  • Decimal in routing unit of measure conversion

    Hi SAPper,
    I have an error from SAP when creating routing.
    Actual my routing consist of several operations
    Header Routing for finish good UoM = BOX
    10 Spray Drying UoM KG
    20 Press UoM BOX
    30 Firing UoM BOX
    40 Packing UoM BOX
    the problem is we must enter the conversion between UoM in operation to UoM in header routing
    100 BOX equal  3,275.59 KG
    or
    1 BOX requal  32.76 KG
    But:
    1. in routing operation UoM conversion doesn;t support decimal
    2. the space is too small for long numeric
    how can i dea with this issue.
    Kindly help
    Beest regards,
    Freddy Ha

    Hi!
    Actually you will have to define the conversion as 100 BOX = 3276 KG. This is applicable wherever we define an alternative UOM and give unit conversion factor, may it be additional data of material master or alternative unit for work center capacity. This is because it is designed like that. The UOM is stored in table as numerator and denominator without decimals. If you want you can get it modified from developer but that is not suggestible.
    Regards,
    Uday

  • Text file conversion - EDI data file

    Hi experts,
    I have a file as below :
    N1VNVendorName1VendorID
    N2VendorName2VendorName3
    N3VendorAddressLine1VendorAddressLine2
    N4VendorCityDU*823
    N1, N2......  are segment name and "*" is delemeter
    after that the data is filled in the attributes of segment. File is ".txt" file.
    How i can convert the file by using file adapter ?
    what will be the entries in file Comm. Channel tab : Content Conversion parameters ?
    Please help, its urgent,
    Regards,
    Study SAP

    follo these blogs for CCP:
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    the field separator here wull be '*'

  • Reset transactional data in production - urgent!!!!!!!!!!

    hello,
      we need to back out and reset all transaction data in Production client, but we want to keep master data ( gl , vendors, customers, cost/profit centers) ,
    we have not gone - live but we have some conversion postings in production.
    this is urgent , pls let me know

    You may want to read the documentation of the program SAPF020 first.
    Remove the check box "Set company code to productive"
    Then via SPRO Financial Accounting Global settings>Delete Transaction data.
    For assets you may  use OABL.
    The customizing remains but transasction data gets deleted.

  • XML data from a Web Service sometimes missing fields I need, any ideas on a trap?

    I get reports from our ERP via a web service to SSRS.  Just got asked to make a tweak in a report and find that the WebService only sends data that is needed for this transaction.  My issue is our entire system is based around EACH item we make. 
    New Trading Partner got Case Price.  We put two of our items together in a box for them is all that happened.
    Need to identify package column that had "ea" hard coded. 
    When I get a cs item there are more elements that identify conversion factor UOM etc.  They are only sent down for CASE items.  How do I trap for a column not being there 99.98555% of the time?
    _conv =  conversion factor.  I only receive it with a 2,4,6 in it whe4n the item is not an each. 
     =iif(Len(Fields!tcibd003_conv.Value) >0  , Fields!inh4470_qshp.Value / Fields!tcibd003_conv.Value , Fields!inh4470_qshp.Value  )
    How do I trap for this?  I tried Fields!tcibd003_conv.IsMissing but that didn't seem to work as expected.
    TIA

    Hello,
    Sorry, I cannot get your requirment and report design structure currently. Can you post the following information to us ? It is benefite us for further analysis.
    1. The fields in your dataset. You can post the dataset with sample data if it is convenient.
    2. The Report design structure: Table or Matrix and Group inforamation
    3. It seems that you want to filter the report data based on a expression, please post more details about the filter logic and expected result.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Rounding up of quantity in Process Order.

    Dear all,
    At the time of creating the process orders after saving the raw material and bulk quantity getting round up like for raw material if the required quantity is 4.230 G system rounds it up to 5.000 G,similarly for 165 case of finish if bulk required is 1193.472 system rounds up to 1200.But we do not want this we need the exact quantity.
    Let me inform you that no rounding profile has entered into the material master MRP view.Only one UOM is maintain in the Material master.
    Any possible reason of this,please inform.
    Rishi

    Dear kaushik,
    I n CUNI decimal places in display block is maintain as Blank this could be possible area of attention ,what exactly is and how it will play roll?,in conversion block it is 3 in the decimal place rounding (I think it will not affect as there in no conversion).
    UOM is KG only,field for unit of issue is blank i.e. no entries is maintain.
    Regards.
    Rishi

  • GR IR QUANTITY DIFFERENCES

    Hi All,
    the GR was made for 30nos and while IR processing its showing the GR qty as 30.02, plz let us know the reasons for the same.
    regards,
    nishith

    nissinha7 wrote:
    Hi All,
    >
    > the GR was made for 30nos and while IR processing its showing the GR qty as 30.02, plz let us know the reasons for the same.
    >
    > regards,
    > nishith
    HI
    Can you tell is thier any conversion for base unit of measure for that material.
    if yes then check the conversions of uom.
    Thanking you.

Maybe you are looking for