Convert between EDI order Unit of Measure to Base Unit of Measure

Hi all,
I am looking for a method whereby the following can be accomplished
-  Customer orders certain products in LBS UOM...they have been quoted a per LB price and an equivalent CS price by sales and they choose to send EDI orders in LBS
-  Base unit of measure for these products is in CS.  Stocking unit is cases.  Pricing also maintained in cases
-   I've maintained alternative UOM in the MM records to convert LBS TO CASES
What i really want is for the customer to submit the EDI order specifying LBS but when  the sales order is created i want the order lines in CS.  I want to deliver and bill in CS as well.  I do not want the sales units to be the units that the order was submitted in.   
Any suggestions are appreciated.

Thomas,
We make creative use of the customer-material info record (CMIR) to do what you describe.
Standard functionality of the CMIR will allow the customer to send their internal SKU on an EDI PO, converting it to our SAP material number for use in the sales order. 
We maintain a u201Cconversion factoru201D in the CMIR field called Search Term.  We use an exit in the inbound IDoc processing code to apply the factor to the quantity ordered and the EDI1 price condition.  For example, the factor u201C/006CASu201D would divide the customeru2019s order quantity by six and use CAS as the UOM on the sales order.  The EDI1 price is multiplied by six, so that our CAS pricing matches up.
This allows any customer to order with their internal SKU and UOM, while we process the orders with our internal material numbers and preferred units.
An exit on the outbound process code allows us to use the same factor to change the values back into what the customer wants to see.
This works great in the consumer products industry, where we, the supplier, have to deal with inflexible customer EDI requirements.
Regards,
Ken

Similar Messages

  • Requistion and Purchase Order - base unit and order unit

    People,
    I have a basic doubt in MM:
    I have a Requisition with a item using the base unit, for instance 20 litres.
    When I create a Purchase Order in ME21N passing the requisition and item number, I must be converted to the order unit, correct?
    In this case, we have 1 UN (order unit) corresponds to 20Liters (base unit).
    I did believe the Purchase would be converted to 1 UN, but I got 20 Liters.
    What is correct?
    Thanks a lot!

    If you maintian the order unit in the mateiral master purchaisng screen than whenever you create the PO system will convenrt in to that order unit and in the Po item details you will see the conversion of base unit to order unit.
    now suppose you have more than one order unit than you activate the Variable order unit in the material master and maintiqan the conversion of that and create the diff info record for diff order unit based on the vendor so whne oyu create the PO as per the vendor system will pull the order unit in the PO.
    Hope this will give you clear picture.

  • FM to convert Delivery quantity value from Sales unit to Base Unit

    Hello,
    Is there any Function Module to Convert the Delivery quanitityt(LFIMG) value form Sale unit of Measere to Base Unit of  Measure?
    Regards
    Irfan

    HI
    Use this FM
    call function 'CF_UT_UNIT_CONVERSION'
          exporting
           matnr_imp           = wa_z3iexdoc-matnr
    *   MEINS_IMP           = ' '
           unit_new_imp        = 'EA'
           unit_old_imp        = wa_z3iexdoc-vrkme
           value_old_imp       = value_old_imp                  "1.000
         importing
           value_new_exp       = value_new_exp
         exceptions
           overflow            = 1
           others              = 2       .
    Here
    wa_z3iexdoc-matnr  is material No
    unit_new_imp          is new Price Unit
    wa_z3iexdoc-vrkme is Old Unit
    value_old_imp         is Old Value
    value_new_exp       is converted value

  • Diff bet Base Unit and Order Unit

    Hi All,
    I was going through the table MARA. I found tht there are two columns named 'Base Unit' n 'Order Unit'. I found interestingly that for couple of materials the units are diff in both coloumns (e.g: For a material Base Unit is EA but the Order unit is in KG). What is the diff bet Base unit and Order unit?
    Please inform how is it possible to have two diff units for a single material??
    Thanks in Adv.

    Base Unit of measure is generally the smallest unit that can be used for a material.
    But a company may never issue orders in this base unit.
    So in the material master, order unit can be configured which may be separate then Base unit.
    As a result orders will always will be placed in this unit.
    For ex:
    Base unit is set an Inch but the company always issues material always in foot.
    Therefore in the material master Base unit of measure is set to Inch and Order Unit of measure is set to Foot

  • Error while changing base unit of measurere

    Dear
            i hav prob. while changing base unit of measure system gives error massage is material used in BOM, ECM is activated in our system and that material is showing only when valid from date is not  entered othervise that material is not shown in BOM.how to remove that material from so i can change base unit of measure.

    HI
    You can only change the BUM if there is no stock  production order planned orders reservations, PO s etc are not in the system  there should be no transaction of the material ,after ensuring all this, u can change unit of measure
    For more info
    check these threads
    Base unit of measure cannot be changed
    Re: BOM unit of measure
    change base unit of measure
    Regards
    Anupam Sharma

  • Base unit of measure is different from Idoc to purchase order toSAP System.

    Hi Gurs,
    vendor send a purchase order for confirmation through EDI, the base unit of measure in the Idoc is PA( Parcel). For this same material the unit of measure in R/3 system is PC.( Piece). I got a error on this.I checked in CUNI, In Unit of measurement ST (PC) is already assigned to  unit PCE in EDI. But i dont want to change the  Conversion.I need this also and I want to create a new conversion ST(PC) is assign to PA( Parcel).
    Please help in this.
    Is it possible to maitainthe ISO-code PA into table Units of Measurement of Dimension?
    Edited by: Vadivel Karalam on Nov 1, 2010 1:13 PM

    Hi,
    You are getting the error because as part of the std ( For ALE/EDI) the unit of measurement that is maintained is PC whereas if you look at another unit of measure that you have mentioned, the std doesn't define anything under the ALE/EDI setup.
    Because of that all the conversions are coming with PC. So pls goto general settings and check unit of measure menu. There for each of your units, there is a section for ALE/EDI, set up the relevant UoM and the issue should get resolved.
    Hope it helps.

  • Production Order for a Material with two units of measure?

    Hi Everybody I have the following issue.
    In my company there is a new production process with a Material that should be configured in the master data with the field "Base Unit of Measure" as per unit (each). But the production process, should be confirmed by tx CO11N, in Kilograms. I know that I can use the additional Data in tx MM03 to set a Production Unit, but the value of convertion would be fixed. For example 122 Kg = 1 each, the thing is that the value in kilograms for each lot can vary, one lot can weight 122 and another one can weghr 125, and in each case I shoul have two units in stock. And as I have the value of convertion fixed, when I confirm each lot one for 122 kg and another for 125 kg I will have 2.025 units in MB52.
    How can I solve this problems? I need to have the chance the confirm in kg changing for each lote the quantity but in the base Unit of Measure have one unit for lot. As if for tx CO11N I could have a field where I can set tha x quantity of Kilograms is x each.
    Kind regards
    Leandro. 

    Hi Ayoub, First thank`s for your promt answer,
    1. The Quantity is different, because is not a perfect process, there is a manual work in the process that makes this quantity differ, there is no big difference, maybe a Kilo or Two but the production mannager wants to have this registered. And besides in productions they manage kilograms, but for selling the comercials manage units (each - EA)
    2.The convertion rate is known at the end of the process after cutting and packaging a unit, they weight it.
    Regards
    Leandro

  • Base unit of measurement while saving production order

    Hi
    While saving production order I am getting following problems:
    "Material has no base unit of measure"
    Whereas UOM is there, I also can see that as soon as I  enter qty while creating the order. System automatically prompts the UOM.
    I also donot find any problem in MRP run, planned order creation etc
    So what can be the problem?
    Edited by: BNR on Nov 24, 2008 5:22 AM

    Dear,
    It may be data base problem as you are getting this problem fequently so please check with Basis person.
    Have you defined the any production unit in both material master WS view & in routing or any other alternative unit of measurement please check?
    Regards,
    R.Brahmankar

  • How to maintain space between value and base unit of measure in sapscript

    Hi Guys,
    I am working on an upgradtion project, i have problem like while upgrading from 4.6b to 5.0. i need to main a space between value and base unit of measure. can anyone letme know how to maintain in the form. I mean in sapscript.
    Thanks,
    Yogesh

    There are a couple of ways to handle this,  if you need a bigger space between, you can use tabs in the paragraph format.  Or you can just write the space in between the fields like so.
    ZA  &MSEG-MENGE& &MSEG-MEINS&
    Regards,
    RIch Heilman

  • Converting one  base unit of measure to another

    Hi Experts,
    i want to know the function module name , which should convert the one base unit of mesure to another base unit of measure.
    like EA TO PAL , or PAL TO sqft.
    i have found one function module ( MATERIAL_UNIT_CONVERSION) ,which is not giving proper output(giving only zero's)
    could u please help me out from this problem.
    Thanks in Advance,

    Hello,
    Try this.
    data:c_kg LIKE lips-gewei VALUE 'KG', "Weight unit in kg
    c_lb LIKE lips-gewei VALUE 'LB', "Weight unit in lb(pound).
    CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
    EXPORTING
    input = i_ln_items-brgew
    unit_in = c_kg
    unit_out = c_lb
    IMPORTING
    output = i_ln_items-brgew_lb.
    If useful reward.
    Vasanth

  • Conversion of Order Unit to Base Unit

    Hi Friends,
    How to set the conversion of Order Unit to Base unit.
    The scenario is like this.  Purchase order is made in Rolls but the stocking will be in meter.   I my case, when the GR is made in meter, the rolls should be multiplied by 65.  Instead the system is dividing the rolls by 65 meters which is wrong.
    I want to correct same, but dont know where to do.
    Kindly guide me to correct this.
    TIA.
    Regards,
    Mark K

    Hi Mark,
    You can only change the base units of measure under the following circumstances
    • No stocks are available for the material.
    • There are no existing purchase requisitions, purchase orders, or scheduling agreements for the material.
    • At present, no purchase orders or purchase order items are being created or changed.
    If requests for quotations, purchasing info records, or contracts are available for a material, the system emits a warning while changing base unit of measure. Still if you want to change unit of measure specify in a dialog box the factor for converting the base unit of measure into the new base unit of measure. The purchasing info records are then, if necessary, updated.
    As system is not allowing changing base unit of measure there will be either stock of this material or existing purchase document
    1) If there are stocks in the previous period, you can clear them as follows:
    a) Post the stock in the previous period to the current period (for example, using movement type 561) so that the stock for the previous period is the same as the stock for the current period.
    b) Clear the stock with the posting date in the previous period (for example, using movement type 562).
    • 2) If there are Open purchase requisitions, purchase orders, or scheduling agreements for the material.
    We suggest completing all P2P cycle for open orders (purchase requisitions, purchase orders, or scheduling agreements) and then close it.
    Then
    1. Run Trnx MM02 (Change Material Master immediately.
    2. Overwrite the old base unit of measure with the new one in basic data screen.
    3. Save the change.
    Reward points for helpful.
    Regards,
    Harini.S

  • Base Unit of Measure to Sales Unit Conversion

    Hi,
    Currently we are selling material in MT and all other transactions in MM and Production are in MT only.
    Now client wants material to be sold in Meters, also in some cases the same material will be sold in MT also.
    (As per my knowledge generally if the conversion is one to one i.e. base unit of measure is pieces and Sales unit of measure will be boxes and
    1 box = 10 pieces can be maintained in material master.)
    Here for conversion between Metric tonne to Meters there is formula involved so how and where this conversion needs to maintained in system.
    How to map this type of scenario.
    What all activities needs to be done from SD side and which other modules need to be involved this process.
    Note: SAP is installed for more than 3 years now.
    Hope i clear enough.
    Regards,

    Hi following is the formula.
    OD = Outer diameter, thickness, length, Number of tubes are maintained in sales order charateristics during sales order creation.
    OD
    Thickness
    Weight in Kgs / M
    length of tube
    Nos of tubes
    Total length in Mtrs
    Rate / MT
    Rate / Mtr
    A
    X = (A-B)*B*0.02456
    'L
    N
    T= L xN/1000
    R
    M=R/1000*X
    Regards,

  • Base Unit of Measure - Day & Hours

    Hi All,
    We are facing a unique problem. We created a material with Base Unit of Measure as "DAY". At the time of MIGO, the FI Document also got posted with Quanity 5.00 and Base Unit of Measure as "DAY".
    However, when we go to the Report Painter Reports in Controlling and see the Quantity; we see 120.00 Hours rather than 5.00 Days and we are unable to figure out because of which settings, system is behaving like this.
    We checked the configuration of Unit of Measure through T. Code CUNI and found everything OK.
    Kindly request you to throw some light on this.
    Thanks,
    Shalin

    i day = 24hrs, system has calculated the 5days and converted into 120hrs.
    please check the Order unit used in PO
    also check the stock keeping unit/issue unit in master
    also check the info record

  • Changes in Base Unit of Measure

    Hi,
    We got an issue,User tried to change the Base unit of Measure from NO to KG.
    1.For this material we dont have stock in unrestricted and quality,But it has reservations. 2.It has got Scheduling agreement,3.This material is used In BOM.
    So if i cancel reservations,then remove this item from scheduling agreement and delete it from BOM.Will it work further to change the Base Unit of Measure.
    Please Do help me in this matter
    Thanks and Regards

    1) You can only change the base units of measure under the following circumstances
    •No stocks are available for the material.
    •There are no existing purchase requisitions, purchase orders, or scheduling agreements for the material.
    •At present, no purchase orders or purchase order items are being created or changed.
    •Item is not linked in any BOM as chield part
    If requests for quotations, purchasing info records, or contracts are available for a material, the system emits a warning while changing base unit of measure. Still if you want to change unit of measure specify in a dialog box the factor for converting the base unit of measure into the new base unit of measure. The purchasing info records are then, if necessary, updated.
    2)  Solution
       As system is not allowing changing base unit of measure there will be either stock of this material or existing purchase document
    1) If there are stocks in the previous period, you can clear them as follows:
    a) Post the stock in the previous period to the current period (for example, using movement type 561) so that the stock for the previous period is the same as the stock for the current period.
    b) Clear the stock with the posting date in the previous period (for example, using movement type 562).
    2) If there are Open purchase requisitions, purchase orders, or scheduling agreements for the material.complete all P2P cycle for open orders (purchase requisitions, purchase orders, or scheduling agreements) and then close it.
    3)Delete item from BOM
    Then
    1.     Run Trnx MM02 (Change Material Master immediately.
    2.     Overwrite the old base unit of measure with the new one in basic data screen.
    3.     Save the change.
    3) System checks
    If a change criterion (Trnx. code MM02) is meeting all necessary prerequisites (as mentioned in point 1).System allows changing base unit of measure. Otherwise it displays warning or error. U can display the reason for this, by choosing Display Errors (ctrl+F1)

  • Hi gurus what is the difference between EDI & ALE.

    hi gurus what is the difference between EDI & ALE.

    HI,
    EDI is a technique used to communicate business and information transactions between computer systems of different companies and organizations. These transactions include such documents as purchase orders, invoices, inquiries, planning, acknowledgements, pricing, order status, scheduling, test results, shipping and receiving, payments, and financial reporting
    EDI Introduction
    The EDI interface is intended to connect an EDI subsystem with the SAP system. EDI subsystems perform the following tasks related to EDI processing:
    1·Conversion of data·
    2.Message and Interchange Handling.
    3.Communication·
    4.Administration of partner profiles·
    5.Monitoring of processing
    From the SAP side, the EDI interface is based on IDoc technology, which is independent of EDI standards. All data is transferred in files between the R/3 System and the EDI subsystem. Synchronous RFC (Remote Function Call) is implemented to define the time of transfer for a file between the two systems.
    EDI u2013 Benefits
    Improves data accuracy u2013
    With EDI business can eliminate the need to re-enter data from paper documents and thus prevent potential data entry errors. Additionally, the cost of processing an electronic requisition is estimated to be one-tenth the cost of handling its paper equivalent
    Lowers personnel costs-
    EDI can help companies reduce the need for personnel involved in orders and accounting processing. Speeds up information exchange- EDI systems can shorten the lead time between receipt and fulfillment  of orders. When  scheduling information is transmitted with ordering  data, companies can plan production more accurately and thus reduce stock investments.
    Reduces technical complexity related to data interchange u2013
    With EDI companies use standardized data formats to exchange documents. EDI allows companies using different business applications and systems to achieve computer-to-computer electronic exchange of business documents.
    Application Link Enabling
    ALE Objectives u2013 ALE incorporates controlled exchange of data messages ensuring data consistency across loosely coupled applications. ALE comprises of three layers.  Application Services  Distribution Services  Communication Services
    Basic principle of ALE is to provide a distributed and fully integrated R/3 system. Each application is self-sufficient. The use of self-sufficient system implies a certain measure of data redundancy.Hence data has to be both distributed and synchronized.
    General Steps Involved in Configuring EDI u2013 ALE Interface
    - Maintaining the Condition Table
    - Maintaining the Access Sequences
    - Maintaining the Output types
    - Assign output types to the partner functions
    - Maintain output determination procedure
    - Assign output determination Procedures

Maybe you are looking for