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

Similar Messages

  • BASE UOM different in R/3 and APO

    Hi Experts
    I am working in a scenario where we have 2 R/3 boxes connected to 1 APO. The products are common across the boxes but locations are different. We are implementing GATP with Rules based substitutions for locations across the R/3 boxes. Since the confrmations in sales order in 1 R/3 box will have supplying locations lying in other R/3 box, we have set up all 3 systems (2 R/3 and 1 APO) under the asme BSG.
    1. Now there is a situation where there is a material defined with the same material number in both R/3 boxes but the base UOM is different (eg. In one box it is Kg and the other it is gram). All relevant conversions (Kg to gram and gram to KG) are already defined in respective R/3 material masters. It is evident that in APO I will be working with only one base UOM. I have transferred the material from one of the box and the base UOM transferred is KG. If I CIF the same material from the other box (for different location and different base UOM gram) I get an error as the there is a base UOM conflict in APO. Have you come across such a situation in any of your projects? If yes then how did you reslove it?
    2. Assuming that I am able to overcome the above problem by using user exits around CIF, I will have a situation where there is a material defined with base UOM as GRAM in one of the R/3 boxes and KG in APO (I manually simulated such a scenario by changing the base UOM in APO). In both R/3 and APO the appropriate UOM conversions have been defined. When I CIF stock of 10 gram, it comes in APO and appears as 10 KG. Is there a workaround for this situation.
    Your response will be greatly appreciated.
    Thank You
    vijeyeeta

    Hi Bharath,
    EDI can be extensively used in Vendor managed inventory process(VMI) in APO.
    I have attached the link for this
    http://help.sap.com/saphelp_scm70/helpdata/EN/48/03f69d67b34aa7e10000000a421937/frameset.htm
    Regards
    R. Senthil Mareeswaran.

  • Unit of measure problem between Order UOM, Base UOM and Inspetion UOM

    Material: ROH-001
    Base UOM: Meter
    Order UOM: Kilogram
    Inspection UOM: Roll
    I have already maintained conversion factor in material master between meter and kilogram.
    Is there any way to maintain KG in inspection plan header level and Roll in inspeciton plan operation level?
    I tested, but the sample quantity is not as expected. Below is my testing data, please advise, thanks.
    10 KG = 1,989 M
    100 KG = 1 Roll
    GR: 100,000 KG = 198,900,000 M
    Sample size = 200 Roll  (My expected sample size is 50 Roll)
    Sampling plan:
       Lot size                  Sample size           c1                 d1
                   8            5     0     1
                  15            5     0     1
                  25            5     0     1
                  50            5     0     1
                  90            20     1     2
                 150            20     1     2
                 280            32     2     3
                 500            50     3     4
                1200            80     5     6
                3200            125     7     8
               10000      200     10     11
               35000      315     14     15
              150000     500     21     22
              500000     500     21     22
         10000000000     500     21     22

    sorry, my mistake.
    This is  applicable.
    Problem solved.

  • Sales Order Quantity in Base unit of measure

    Hi All,
    I have a requirement in which I need Sales Order quantity in base uom. However, I noticed that 2lis_11_vatim doesn't extract this figure but instead has numerator and denominator in the extractor by which we would be able to calculate it. But, I am bit reluctant to do so as it might have an issue with rounding values.
    I know that there are some standard function modules in R/3 which do this conversion. Is there any such FMs in BW to do this conversion? If not, is there any other way to get the sales order quantity in base uom other than calculating it using numerator and denominator?
    Any help would be highly appreciated.
    Rgds,
    James.

    Hi Ajeet,
    Just to confirm, is this the formula you normally use?
    Quan * N/D
    Quan = Quantity to be converted
    N = Numerator
    D = Denominator
    Rgds,
    James.

  • Base UOM is MTR but while MB1A default it is issuing CM

    Hi,
      We have one material for this Base UOM is MTR  in some BOM  it is in CM  both conversion factor are mention in Material master  while issuing material against production order it issue in CM but when same material is  issue in MB1A  with 201 movement type there also it is issuing in CM  deafult it is showing the conversion in MTR , so here we want that it is hsould be as per Base UOM  in MTR  so what setting is needed for this.
    regards,
    zafar

    Hi,
    If you have maintained the Issue Unit as CM, then any Issue (Production Order, Cost Center,Project etc.)  will take place in Issue Unit only. You would need to remove the Issue Unit for being able to issue in Base UOM.
    Check the following links for more info :
    Re: variable order unit
    Hope it helps,
    best regards
    Amit Bakshi

  • Need PR Unit should not equal to Material Base UOM

    Hi All,
    I want to maintain Base UOM as 'PC' in material master. Then i want 'BAG' unit should appear while creating PR & PO.
    here 1 BAG = 100 PC .
    After i maintained 'PC' uom  in material master, the uom 'PC' is appearing automatically while creating PR . This field is not editable in PR.
    Please advice what i should do so that i can maintain PC as Base unit in material master & i can use unit 'BAG' for PR & PO.
    Thanks
    pabi

    Hi,
    Maintain the order unit as BAG in purchasing view of material master.
    Maintain conversion factor 1 BAG=100PC in the "Additional Data>>Unit of measure" of material master
    Create PR - here, the Unit of Measure will be shown as PC only. You cannot modify that in PR.
    Next step, convert PR to PO in ME21N. There system will automatically pick the order unit as BAG and shown in PO item. It will also do quantity conversion to BAG as per conversion factor defined in material master.
    Regards
    Prabhu S

  • Query Designer : Quantity Conversion as per UOM

    Hi gurus,
    I am facing a typical situation here. I have Product Quantity data that I fetch from R3, This has diff UOM based on different product. I know the conversion factor. I have not included the conversion factor in the transformation while loading the data. Hence in the cube, the data is loaded without any conversion.
    Now, in my query, I want that the Quantity data be displayed always in say BOX (Whether at aggregate level, ex. Sales Office level or at a more granular level (product brand level)) it should always be in BOX. Can I make such a modification in my query so that the end result for quantity should always be in BOX.
    thanks n regards,
    Sree

    Hi Sree,
    You can set unit conversion for relevant key figures in the Query Designer.
    For that, you need to create a quantity conversion type first.
    For a BW7.x system, use transaction RSUOM to maintain quantity conversion type.
    It could be defined like this:
    Source unit: from data record
    Target unit: fixed: BOX
    Hope this helps.
    Regards,
    Patricia

  • GR is being done in Kgs while the Base Uom of material is PC how is done.

    Hello
    I want to raise PO for a material which has been Base uom is PC but the GR is being done in KG's. There is no fixed relation between PC and Kg's.
    how can we handle this situation.
    Regards
    Sameer

    Hi Sameer
    SAP facilitates multiple UOMs.
    In Material master, you shd have these settings:
    1) Base UOM = PC
    2) In purchasing view : Either maintain order unit = KG and/or maintain variable order unit field with '1' or '2'.
    How is the ocnversion handled:
    1) Maintain Alternate UOMs in Material master; When you maintain order unit=KG, system will prompt you to enter conversion between KG & PC
    2) Maintain order unit as KG and conversion in Info record for the material.
    3) Maintain order unit as KG in PO and you can maintain conversion in PO
    Best regards
    Ramki

  • Change Material Number using BAPI_PO_CHANGE, PO OrderUnit reset to base UoM

    Hi Experts,
    I am using IDOCs and BAPI_PO_CHANGE to update PO's in SAP (as PO's are created/maintained in an external system and interfaced to SAP). This works fine except for a change in the material number, the PO Order Unit is getting reset to the Base UoM of the Material Master and not the value from the BAPI(BAPIMEPOITEM-PO_UNIT).
    we are passing the following for BAPI_PO_CHANGE.
    POHEADER
    POHEADERX
    POITEM-PO_ITEM = '1000'
    POITEM-MATERIAL = 'MAT_B'
    POITEM-PLANT = '3001'
    POITEM-STGE_LOC =  '1000'
    POITEM-QUANTITY = '100.00'
    POITEM-PO_UNIT = 'SET'
    POITEM-ORDERPR_UN = 'SET'
    POITEM-PO_ITEM = '1000'
    POITEM-MATERIAL = 'X'
    POITEM-PLANT = 'X'
    POITEM-STGE_LOC =  'X'
    POITEM-QUANTITY = 'X'
    POITEM-PO_UNIT = 'X'
    POITEM-ORDERPR_UN = 'X'
    Say for the example above if the existing PO values are
    Material = MAT_A
    Quantity = 100.00
    PO Order Unit = SET
    after update from BAPI the values are
    Material = MAT_B (is getting update from BAPI fine)
    Quantity = 120.00 (recalculated based on base UoM)
    PO Order Unit = PC (resets to Base UoM and does not take value coming from BAPI?)
    The above is for PO's where there is no Purchase Order History yet, i.e., PO just created and then ammendment is coming thru.
    Would really appreciate any help/advise on this.
    Thanks so much.
    Sneha

    I have tried in ME22N and am able to change the material number and then PO unit to a specified unit (other then base) and save the PO ok.
    The variable order unit is allowed and we can create PO's in any unit (other then base UoM) and its working ok as well.
    Any other reason for the problem I am facing?
    Thanks.
    Sneha

  • POS Sales Posting Aggregated always in Base UOM Why?

    Hi All
    We have an issue in Aggregated Sales Idoc Posting. There is an article which is having Base UOM as "EA" . It has "CAR" = 5 EA.
    so 2 UOMs are there. From POS when the file is posted with 2 CAR , in SAP Billing and Article documents created only with "EA" and not with"CAR"
    We faced the similar kind of issue in "Receipt based Sales " and we asked the POS guys to pass the EAN instead on Article Code
    They passed the Qualifier "EANN" and the Barcode so that posting is ok for Receipt based sales .We have done this because there is no "SALES UOM" field in Receipt based Message type" WPUBON"
    But in Aggregated "WPUUMS" ,Sales UOM field is there and  we checked the Idoc and it contains "CAR" as Sales UOM , but while posting ,it takes the Bases UOM. In this case "EA".
    Can anyone clarify us whether standard SAP works like this? And is there in any way to make the system to post at other UOM ?
    Please help us in this
    Regards
    Anis

    I am also getting the same issue. The right sales UOM is not getting posted to article and Billing documents from WPUUMS01 IDOC in aggreated sales posting. Can anyone help Plz...

  • How to change the base UoM in the material master?

    Hi,
    I want to change the base UoM in the material master for a particular material but I can't change irt with MM02 as system says it has open routings for this material.
    I have set the deletion flag on the routings but still system shows open routings while changing UoM.
    Is there any standard SAP program by which UoM can be changed if open POs, stock etc. are present in the system?
    Thanks,
    Input

    HI
    It is possible to change the Base unit of measure in the following cases:
    1) If there are no stocks of the material in the syatem
    2)If there are no purchase requisitions, purchase orders, or scheduling agreements for the material.
    3)If a purchase order or purchase order item is not being created or changed.
    Procedure for changing is:
    Access the material master record in Change mode.
    Overwrite the old base unit of measure with the new one on any departmental data screen.
    Save the change.
    Thanking you.

  • Difference in sales UOM & Base UOM

    Hello All
          Am having a query wherein we get an order of Plastic sheets in KG but the base UOM of the is in EA, we maintain a relation that 1EA=1Kg, this relation is worked out on the basis of past experience and weighed mean.
            Customer order is given in KG of a sheet, suppose customer places an order of 100 KG ie we have to produce 100 EA of sheets, but when we weighed 100EA of sheets it came out to be 101KG, now am facing a problem that how do we prcoess this customer order, because according to the relation maintained we must have 101EA of sheets. How can we MAP this scenario. Your inputs are required and appreciated.
    Regards,
    J K Tharwani

    Hi JK,
    I hope your are working with MTO.
    Do u mean to say, system should allow to GR  101 EA even if the Order qty is 100 EA .
    Pradeep

  • Bill of Material base UOM

    Is it possible to use a UOM other than the base UOM when defining a bill of materials in 11i?

    No, that is not possible. You are stuck with the item-org's UOM.

  • J1I5 -RG1 register updation in production UoM whil havin differ. Base UoM?

    Dear gurus,
    I have come across a situation where chapter ID assigned to material has UoM as MTS (metric ton)..while base unit of measurement in Material master is MTR(meter)... while updating RG1 register using J1I5 system is picking quantity in MTR though production unit is declared as MTS and conversion between MTR and MTS is fed already. It is desirable to have entry in UoM given in chapter ID not in base UoM. Kindly tell me a way using which UoM in J1I5 can be selected or changed.
    well i am aware of that it is always preferable to have it Base unit of measure but there are other constraints of sales and PP etc which have compelled us to go with present situation ... please tell me if there is a way to make it work.... since raw mat. is bought in MTS and different goods have different conversion in MTR ... to do proper costing MTS is needed and for sales point of view MTR is important
    regards
    Avinash Goswami

    not answered closed

  • Inventory Report-Replacement path for Base UOM to Case and Standrad Cost

    Hi, We have a Scenario as below:
    Question1:
    We have a multiprovider contains 4 infocubes and 2 Master Data objects
    a.Demand
    b.Inventory
    c.Sales Orders
    d.In Transit
    Master Data objects
    a. Material (contains Base UOM to Case as Key Figure Attribute and also Base UOM as an attribute)
    b. Material Location (Contains material as an attribute and also Standard Cost as a Key Figure attribute)
    At the report level two formula variables are defined with replacement path for showing the Base UOM to Case and Standard Cost in columns.
    We have 4 reports on this multiprovider. There is a dialy sales report which gives the following details
    Material, Location, MRP Controller, CalDay, Base UOM, Actual Sales(AS), Dependent Demand(DD), Consumption Qyt(CQ), Base to Case UOM, Standard Cost
    In this report for all the records the Base to UOM and Standard Cost column is coming with values which is nothing but the replacement path on the material master key figure attribute. Though this report is on the multiprovider all the major keyfigures (AS, DD and CQ) are coming from a single cube( this is an observation from myside).
    We have another report which is the Inventory Report with the following details:
    Material, Location, MRP Controllder, Calday, Base UOM,      Unrestricted Inventory(UI), committed Inventory(CI), Back Order Qty(BOQ), In Transit by Sh/Rec(ITS), In Transit Pipeline(ITP), On Order Qty (OOQ), Current Inventory Position (CIP), Quality Inspection Stock(QIS), Block Stock(BS), Base to Case UOM, Standard Cost
    Now in this report for all the records the Base to Case UOM and standrad cost is not showing up. Is there anything which needs to be done in order to get the Base to Case UOM and standard cost for all the records.
    Question2:
    When Non-Cumulative and Cumulative key figures are combined at the multi provider and also at the report level, will there be any problem?
    Regards
    Vijay

    Hi,
    I think you can proceed with virtual characteristics for this.In the code you can truncate the time and you can display on the date:
    Regards
    Prasad

Maybe you are looking for

  • How to Install Leopard on G4 with no DVD Drive

    I have a G4 Quicksilver Dual 1GHZ and the internal optical drive is dead and I need to install OSX Leopard on the Computer I also have a MacPro early 2008 Dual 2.8Ghz.  for the life of me I can't figure out a way to install Leopard onto the old G4. I

  • Sorting a 2-D array

    Hello Every one,                         Can any one please help me out in sorting a 2-D array. Here is the requirement there will be some groups, and each group consists of 'x' number of elements.The user enters only elements but in a zig zag order.

  • KDE4 Missing Power Profiles

    The only power profile I have available in Power Management is "Performance". When I used Mandriva last week, it had three different Powersaves. Am I just shit out of luck or is there a way to get these power profiles? Or does it even matter? Last ed

  • Low sound level when I using BT earphones

    When I use BT earphones to listen mp3 songs on my Nokia N95, the volume always starts from very low level. At the beginning, I thought there was no sound. Once I turned it up, everything is ok. Can anyone tell me how to increase the default sound lev

  • Multiple identical tabs suddenly appear and require closing firefox to contine working.

    When I choose certain email addresses or web sites my array of open tabs across the top of the page immediately fills with many, many identical tabs of the same name. I have to quit Firefox and restart to get back to work.