Rounding the order quantity in different Units of measurement

Hello Experts,
We need your suggestion to meet the below mentioned client's requirement.
There are around 200 SKUs in the consideration and three units of measure ( case, carton and pallet  defined for them).We are looking for way to suggest the order qty based on multiples of the unit,  case, carton & pallet Quantities.
The order will always be placed in base unit PC and system should suggest the best possible combination with a Pop Up message.
For example with this SKU
SKU         Unit       Case        Carton           Pallet
123456      1         12               144              8640
Customer ordered 10 units during the validation of that line  pop up message should suggest 12 units. (1 case)
Customer ordered 5 units there should be no suggestion ( 5 units )
Customer ordered 130 units during the validation of that line  pop up message should suggest 132 units. (11 cases)
Customer ordered 146 units during the validation of that line  pop up message should suggest 144 units. (1 carton)
Customer orders 153 units during the validation of that line  pop up message should suggest 156 units. (1 case + 1 Carton)
Suggestions needs to be able to round up or round down based on the closest combination multiple.
I have gone through the idea of roudning profile idea but need some more inputs as how to realize the same.
As one material can have requirement in all alternate units of measurement and we can assign one profile per UoM in Material master and the order quantity is not dependent on any specific customer group so how would the system recogine/derive the best possible combination in different cases for different UOM.
Pls provide your valable inputs.
Many thanks in advance.

I don't think thsi is possible with SAP Standard settings & you will have to apply a User Exit.
You ABAPer will have to develop a logic based on your requirements & then system can give a pop-up with best possible combination.
Thanks,
Jignesh Mehta

Similar Messages

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

  • Total of the ordered quantity in sales order

    Hi
    Is there any settings or functionality for the totalling of the order quantity in the sales order as the user requires to see the total number of the units of quantity of order taken and if its less they can still ask for more order from the customer so that the truck is used for its fullest capacity for transport of the materials.
    thanks
    AJ

    Hi AJ,
    In the standard system up to ERP 5.0 you could use weight and volume for aggregation. Not very useful.
    In SAP ERP 5.0, there is a new functionality called "loading units".
    Quick copy/paste from the release notes:
    As of SAP ECC 5.00, SCM Extension (EA-SCM 500) you can use a loading unit in Dynamic Transportation Planning of the DSD Backend process. A loading unit is an additional capacity limit that limits the maximum delivery quantity of a vehicle. A loading unit is a unit of measure that is independent of the units of measure in order processing.
    For aggregation purposes, the delivery quantities are converted into the loading unit using their conversion factor in the material master. The total quantity in the loading unit is calculated in the order and the delivery and displayed together with the aggregation categories. The loading unit is also shown for information purposes in the shipment as the sum of the deliveries contained in the shipment.
    It says SCM Extension, but that's not APO, only an extension, so it is part of the standard system. Even if it is part of the DSD Backend, you might think of using it independently of DSD.
    Best Regards,
    Franck

  • How to handle different Unit of measures in ALV reports? Quantity/Price

    Anyone knows how to handle different unit of measures for quantity or price in hierarchy ALV reports?

    hi,
    use the below fields:
    Link to measurement unit
    •qfieldname (measurement unit field name)
    only relevant for quantity columns with unit link.
    Name of the internal output table field containing the measurement unit associated with the quantity field FIELDCAT-FIELDNAME.
    The field in FIELDCAT-QFIELDNAME must have its own field catalog entry.
    •qtabname (internal measurement unit field output table)
    value set: SPACE, output table field name
    Name of the internal output table containing the FIELDCAT-QFIELDNAME field.
    regards,
    madhumitha

  • Maintenance Order Confirmation in Different units

    Dear all,
    my client needs to have order confirmation in different units. That is they need to enter how much work is finished in km, piece or m3 .
    Can i do that with iw41? i know thats time confirmation but from any similar screen?
    Thanks
    JMq

    John,
    The system is hard-coded to accept UoM of TIME only
    However, it is possible to confirm Km etc with a little manipulation of the system.
    What you need to do is:
    - Create a new UoM in the IMG. This UoM need to be time-based, but call it somthing like Kmt (travel kilometers)
    - Create a new activity type for your Kmt
    - Create a new cost via TCode KP26 for your cost centre and activity type
    - Repeat steps above for other UoM
    - Test in an order
    PeteA

  • How to add a New schedule line and update the order quantity?

    Hi all,
       I have to add a new schedule line in VA01/VA02 so that when ther is partial confirmed quantity against a schedule line, we have to create a new schdule line based on the existing so that it will contain confirmed in one and unconfirmed in the other.
    The schedule line will split once the user go to Header data screen in VA01/VA02. So I used USEREXIT_MOVE_FIELD_TO_VBAK  user exits in MV45AFZZ include program.
        I splited the order quantity against the confirmed quantity and added it as new schedule line in the XVBEP internal table and update UPDKZ flags for XVBEP & YVBEP.
      Could anyone tell me is there any other way to do this without updating XVBEP? Because it is affecting some other place because of index table is not updating. How to you think use if update xvbap-etenr_high and update index table IVBEP1 for new line insert into XVBEP instead directly inseritng it into?
    My code as follows:
    xvbep-WMENG = t_temp-WMENG .
    modify xvbep TRANSPORTING WMENG.
    t_temp1- ETENR = '0002'.
    if SY-SUBRC <> 0.
      t_temp1-UPDKZ = UPDKZ_NEW.
      modify xvbep TRANSPORTING WMENG UPDKZ.
    endif.
    With Regards
      Raj

    Have you got thru this one if so please provide me with the solution as i got the same req' ..

  • Confirmed quantity more than the ordered quantity in sales order.

    Hi All,
    We have a situation wherein the confirmed quantity is more than the ordered quantity.
    a.) SO was created for qty1.Two schedule lines were proposed as stock was not available.
    b.) When stock came in and most probablly, when the rescheduling job calling tcode  V_V2 was run, both the schedule lines were confirmed.
    c.) As a result, further processing  is not done by system as confirmed quantity is more than ordered quantity.
    Also we noticed that double schedule line was confirmed for a another order even without the rescheduling job is run.
    Can you please suggest as to why this is scenario is occuring and how we can avoid the reoccurence? Thanks in advance!!
        Regards,
    Jeevan Penumatsa

    Hi  Jeevan Penumatsa
    Welcome to SDN forum
    Generally two schedule lines will take place if stock is not available in your plant or if open orders are there for that material also. So check the stock in MMBE
    .If there are any backorders then it might be getting added in the created sales order and then you might be getting in two schedule lines
    Regards
    Srinath

  • Unable to change the order quantity value during save of sales order

    Hi Experts,
    There is a need to change the order quantity value, based on some conditions, when pressed 'ENTER' or during 'SAVE' of the sales order (VA01, VA02).
    We are trying to change the order quantity value (KWMENG) in table XVBAP in the subroutines userexit_field_modification, userexit_save_document and userexit_save_document_prepare of the user exit 'MV45AFZZ'. But the change is not replicated to field on GUI.
    The order quantity value can be changed in subroutine 'userexit_move_field_to_vbap', but the subroutine is not getting triggered when user changes only the order quantity on screen.
    Please help us in resolving this issue.
    Regards,
    Santosh

    Thanks for your time guys. The issue is resolved.
    SAP is not triggering the vbap user exit as the order quantity on screen is in structure RV45A.
    There are two ways of resolving the issue.
    1. Implement the SAP note #513342 - Quantity change and USEREXIT_MOVE_FIELD_TO_VBAP. But, it is SAP modification note.
    2. Write the code in VBEP exit of MV45AFZZ. This user exit is called whenever the order quantity is changed. But, it is called multiple times in some cases. Hence, need to write code to limit our code execution only once e.g. maintain a global table with our quantity & uom. Check when the quantity and uom in our table is same as quantity on screen. If not, exit from user-exit.
    Edited by: Santosh Kacham on Nov 11, 2011 6:37 AM

  • I need to make the ordered quantity field (RV45A-KWMENG) disabled in 'VA02'

    Hi SAP COMMUNITY,
    I have urgent requirement for which i did'nt worked before on this requirement. I hope you people can help me in this regerd.
    My requirement is, I need to make the ordered quantity field (RV45A-KWMENG) disabled in the transaction code is VA01/VA02. User should not be able to edit this ordered quantity in VA01/VA02 Transaction.
    Here the condition to disable this field ordered quantity is IF ORDER TYPE EQUAL TO OR AND IF ITEM CATEGORY EQUAL TO TANN in technical IF VBAK-AUART EQ OR AND IF VBAP-PSTYV EQ TANN then only the field (RV45A-KWMENG) ordered quantity should be disabled in that transaction VA01/VA02.
    Correct me if iam wrong, I think in the program SAPMV45A and do we need to include any screen number which i have seen in VA02 is 4001. Do we need to write a code in Include MV45AFZZ (FORM USEREXIT_FIELD_MODIFICATION.). But i don't know what code i need to write here to disable this field.
    I had searched in the forum some example code so please suggest me whether i can use this and if i can use this please suggest me how to write the condition and insert the code in that FORM. If this sample code is wrong then please suggest me what exact code should be given. Can anyone help. Quick response will be much appreciated.
    Looking forward for ur prompt replies.

    As per my understanding , To disable the field RV45A-KWMENG based on the condition for Transaction VA01/VA02.
    The conditions which i need to check is Order Type and item category.
    I understand that this is the code which i need to insert for disabling the field but i have a question here, where is the condition here and how the system understand for this field RV45A-KWMENG it has to disable. I think we need give the condition as if RV45A-KWMENG....... Another one if iam not wrong we need check that it has to be done in VA01 and VA02 then only this condition should be executed.
    IF VBAK-AUART EQ 'XXX' OR VBAP-PSTYV EQ TANN .
    IF SCREEN-NAME = 'XXX'.
    SCREEN-ACTIVE = 0
    ENDIF.
    ENDIF.
    Please suggest me the better way how can i do it in the coding.
    Awaiting for ur prompt reply.

  • Wan to Decrease the Order Quantity

    Hi Experts,
    Can we Decrease or increase the sales ordere quantity after partial delivery.And the material processed for MRP also
    suppose sales order qty 10
    partial delivered 05
    and now i try do decrease the qty in VA02 to 08
    but system not accepting, please is there any solution to decrease the qty in sales order
    please help me
    Thanks and regards
    Madhusudhan

    Yes you should be able to decrease the order quantity after a partial delivery, provided the decreased qty is NOT LESS than the partially delivered Qty.
    If it is not allowing to decreae please check if there are any Min Order Quantity or Case Pack qty in the material master. Also please post the error message in detail, it will be helpful in providing more appropriate suggessions.
    Hope it helps
    Regards
    Sai

  • Goods issue quantity exceeds the ordered quantity

    Hi Gurus,
                    I created a sales order with single line item for 100 MT. Subsequently i created outbound delivery against the order. Now the 100 MT quantity gets copied in the delivery. now i created an additional line item in the same delivery for 10 MT against the same material . After this i did the PGI. To my surprise system allowed to do the PGI for this additional item that i had added. Now in this case the goods issue quantity exceeds the Sales order quantity. How can i restrict such functionality.
    My requirement is that the goods issue quantity should never exceed the ordered quantity in any case. Moreover the line items should be copied directly from sales order and there should not be any scope of adding any additional line item during delivery. The outbound delivery document should be copied from sales order and no manual alterations should take place during delivery or PGI . How can i achieve the same . Please help.
    Thanks in advance.

    Also for your delivery document tpye,under order reference,keep item requirement as '201' so that system will not allow any new entries in the delivery.
    Phani Prasad.
    P:S: Please check the forum before you post your questions as this query was answered a number of times earlier.
    Edited by: phani.prasad on Mar 6, 2012 11:29 AM

  • IS-Retail:how to maintain different unit of measures for a article

    hi experts,
                    can anyone tell me how we maintain different unit of measures for sales and purchasing for a article.base unit of measure,order unit,var unit.Hope for a good answer.
    Regards

    Hi,
    Go to MM42, select basic data view
    In,Units of measure/ EANs /dimensions sub tab
    there u can see four radio buttons
    B.Un    Unit of measure is base unit (used internally only) 
    O.Un    Unit of measure is the order unit                             - Purchasing
    D/L.Un  Unit of measure is delivery unit/issue unit              - Logistics
    S.Un    Unit of measure is the sales unit                             - Sales
    for eg:
    First line enter EA (each) or PC (piece) in Auom for a material and  enter 1 in Number and select radio button for B.Un
    Second line enter CT (carton) in Auom and  enter 10 in Number and select radio button for O.UN (when you creating a PO it UOB automatically picks as CT)
    Third line enter PALin Auom and enter 50 in Number and select radio button for D/l .UN (when u creating a delivery UOB picks as PAL ie pallets)
    Fourth line enter EA or PC and enter 1 in Number and select radio button for S.UN (when u creating a Sales order UOB picks as EA or PC as u defined)
    Mohan

  • Different unit of measurements work independently

    Hi SAP MM Experts
    Is there any possibility to work with 2 different unit of measurement at a time in sap which need to be independent from each others mean no relation b/w 2 uom.
    My client is a steel manufacturer. When a bar (steel rod) received from vendor, they want to  enter in system with uom as KG  and bundle and same thing will be control in all possible good movement. even in sell, they want to control with 2 unit on measurement. pls guide me. thanks

    You can maintain two uom for material, You can purchase this material with two uom. But material can only stored in warehouse with base unit of measure. You can also sale the material with two unit.
    For using different uom in purchasing have a look into the docu Create Info Record for different Order Unit

  • Different unit of measurement

    Hi
    For the material a85.52.02.1121, when I see material document list(MB51),material movement showing different UOM( M & FT).
    For material movement 261 it is showing 2- (qty) FT
    movement 262 it is showing 2(qty) FT,
    But for movement type 561 it is showing 2 (qty) M.
    But we maintained in the material master,UOM & alternative unit of measure as 'M' only.
    my question is
    From where this FT unit of measurement is coming?
    Any tips to solve this problem?
    With Regards,
    Jaheer(abaper + MM consultant)

    Hi,
    Check the Unit of issue at plant data storage location 1 of the MMR, I suppose its with FT,
    Other wise too as both M and FT are standard UOM's,with a standard conversion, you can enter a different unit of measurement apart from the base unit maintained in the MMR during the transaction (261/262), which will get automatically updated in the inventory.
    Trust this clears your query
    Regards
    Merwyn

  • Rounding the purchasing quantity

    Hi
    i am having a reqirement to round my purchasing quantity.
    we procure the material in bags.
    1 bag = 1000  kg
    if my reqirement exceeds 1000 kg it the the purchasing quantity should be 2 bags = 2000 kg.
    how should i do this
    right now. if my reqirement is 1200 kg its coming out as 1.2 bags in my Purchase order./
    i think i have to maintain a rounding profile for that,
    can some one explain me how to maintain a rounding profile for this case

    There are many solution if you are running MRP to create PR
    1.
    You can maintaina lotsize key as FX in MRP 1 view and fixed lot size as 1000.
    Then even if the reqiuirement is 1200, system will create a PR for 2000.
    Above solution is okay if you are running MRP.
    2.
    Use rounding Profile in MRP1 view. example form SAP help
    A material's base unit of measure is 1 unit; the purchase order is to be
    delivered in layers (1 layer corresponds to 5 units) or in pallets (1  
    pallet corresponds to 8 layers which contains 40 units).                                                                               
    You maintain the profile as follows:                                   
    From a requirements of 2 units, the system is to round up to 5; from a 
    requirement of 32 units, the system is to round up to 40.                                                                               
    This results in the following order proposal quantities:               
    Requirement from 1 -> 1     requirement from 31 -> 30                  
    Requirement from 2 -> 5     requirement from 32 -> 40                  
    Requirement from 6 -> 10    requirement from 74 -> 80                  
    Requirement from 7 -> 10                                               
    3.
    USe rouding value
    the rounding value is used in the planning run if no rounding profile
    as been specified in the material master record.   
    USe the option from above as required

Maybe you are looking for

  • Help. I'm trying to create a DTP for 0INDUSTRY texts

    I'm trying to create a DTP for 0INDUSTRY (texts), but when I assign the DataSource (0INDUSTRY_TEXT), it shows me the next error message: "Target 0industry (type IOBJ) is not active". Of course I've checked 0industry and it is already active! I have t

  • N73: restore doesn't work after firmware update

    Hello! I just made a firmware update to my N73 with NSU, and the procedure completed with no errors. Just before the update I made a backup with the application in the phone menu; the app wrote a backup.arc file in the MMC. After the update I tried t

  • Adobe Reader on Windows 7 64BIT

    Hi All since version 10 (X) of adobe reader our windows 7 64bit machines take an age to open PDF's over 10 seconds for most, regardless of if the file is on the local machine or network They currently have version 10.1.0 installed. On all our vista p

  • How to install a bigger hard drive???

    I've purchased a Seagate Momentus XT hybrid 500gb drive, I can't find a good set of instructions for making this change? Is there a logical way of transferring the data from the original HD to the new drive? Is this something I should have the genius

  • Difference between form 16 and 24

    Can anyone let me know in the simplest way, the difference bet form 16, 24 and 24Q? Edited by: tinku ray on Feb 2, 2009 9:28 AM