Order quantity equals to delivery unit in material master

Dear All,
I have below requirement regarding Delivery unit (MVKE-SCMNG).
My requirement is that whatever unit has been maintained in material master in Delivery unit, system shall not allow to create sales order of quantity which is more or less than the delivery unit.
Meaning, system shall only allow to create sales order of quantity equals to the quantity maintained in the material master in delivery unit.
Kindly let me know if any user exit(s) available for the same.
Waiting for your valuable reply.
Thanks,
Ritesh

Hi Ritesh,
This is very much possible using user exit, MV45AFZZ in FORM userexit_save_document.
Other option would be in MV45AFZB FORM USEREXIT_CHECK_VBAP, you can check that this qty in material master if unequal to ordered qty you can give a pop-up to user that 'The qty is being changed to xx' as soon as the user presses enter as the user would know about it.
in MV45AFZZ, the user would know only after saving and would be able to see in VA03 after the document is created.
Regards,
RS.

Similar Messages

  • Sales order quantity equal to delivery quantity.

    31.10.2010
    Hi friends,
    To close all open orders I need to change the order quantity in the sales order to the total quantity delivered. Can you please advise how to go about this? Which table and which fields to use.
    Regards,
    Uday
    Moderator message: please try solving things yourself before asking, explain what you tried and where you are stuck when posting again.
    Edited by: Thomas Zloch on Oct 31, 2010 11:57 AM

    Hi all
      I am facing the same issue now. The system is not issuing an error message when delivery quantity exceeds order quantity and its letting me creating the delivery document and complete PGI. I have checked all the settings discussed in this thread.
    1.  0VLP Check Overdelivery is set to "B"
    2.  In VTLA, 'pos/neg' indicator is set to "+" sign for item category TAN (OR --> LF)
    3. Maintained the overdelivery tolerance limits in customer master.
    However when I set the 0VLP Check Overdelivery indicator to "A" instead, I am atleast getting a warning message. While it was B, I wasn't getting any message.
    I don't know what else could be missing or wrong. Any inputs would be highly appreciated.
    Thanks
    Vamsi

  • Delivery unit in material master should appear on item level of delivery

    Dear SD Sales and Delivery experts,
    i would appreciate your support very much!!!
    We want to implement the following small functionality:
    The components concerned are material master, order and delivery item.
    The material master is maintained in folder <Sales: Sales Org1> in the field "Delivery Unit" e.g. with 10 PC 
    If the customer orders 20 pieces, but the existent stock just has got e.g. 13, the nightly delivery batch (VL10) should not deliver the amount of existent stock of 13 pc but should - e.g. after implementing a coded functionality - compare the 20 pc that have been transferred from order into delivery with 13 on stock and then rounds off to the next lower delivery step of 10 after looking up in the material master in folder <Sales: Sales Org1> in the field "Delivery Unit" maintained with 10 pc. These 10 pc should appear on item level of the delivery so that they can be shipped. Open amount of ten will be handled when the stock of this material had been filled up.
    Same procedure within an another example:
    Customer orders 57 pc - Stock has 39 pc = delivery should post 30 pc
    I found the User Exit MV50AFZ1 but the steps in there seem to be to early.
    Are there any BADIs wie can use?
    Copy Control with Routines and Conditions?
    Many Thanks in advance
    Stephan Sislian

    Hi,
    I never tried, but did you check the field rounding profile in the material master Sales: sales org1 tab - under quantity stipulations?
    Regards,

  • Planned delivery time in material master

    Is planned delivery time in material master considering holidays ? I mean when I say 7 days, is it one week and 2 days or only one week ?

    Dear Balaji,
    If you push F1 when your mouse is set on that field you will see that help says that PDT is defined as calendar days. However, you can carry out some changes:
    http://www.sap-img.com/materials/planned-delivery-time-as-workdays.htm
    About meaning of PDT:
    http://www.sap-img.com/production/calculation-to-determine-the-delivery-date-and-release-date.htm
    In addition to that link, you can use safety time as well (with this setting you can pull back in time the requested availabilty date during MRP run). You can also use PDT in info records if you have several source of supple for one material.
    BR
    Csaba

  • SALE ORDER QUANTITY LESS THAN DELIVERY QUANTITY ? NO CECK IN SAP ??

    Hello friends,
            I created a sales order of quantity  10 , having two material codes each having quantity 4 and 6 . i created delivery for the one by putting delivered quantity 4 and save , then i created delivery for second and put delivered quantity 8 which was greater than the sale order quantity left ,system saved the delivery and didn't popped any error message.  
                                     Does SAP have options to over come this mistake by end users.
    regards

    Dear Joshi,
                      Please get in touch with your abap er as there user exits which can be written to avoid this situation.
                      Let me explain you further one more situation.
    First one, Your query is if for  item A ord qty is 6 the system saved the delivery with 8 qty which is greater than ordered quantity.  I know the gives a warning doing this.
    Second Situation :
    Say item A ordered qty is 5, and i made a delivery for 3 and saved it. Now the open quantity on the order is only 2. (5 -3 =2).  But one of our users reduced the ordered quantity to 2 despite saving a delivery with quantity 3.
    so the situation is ord qty is 2 and delivered is 3 qty. which is again wrong. But while reducing the ordered quantity less than the delivered quantity the system gives a warning message telling "  ORDERED QUANTITY IS LESS THAN DELIVERED QUANTITY ".
    Also just imagine we made delivery for qty 5 and invoiced it.After which you reduced the delivered quantity to say 3. So delivered is 3 but invoiced is 5.
    Hence for these kinds of practical problems we have addressed them through user exits with the help of our ABAP'ers by turning those warning messages into error messages by selecting the suitable message class.
    Hope the explanation helps you. And thanks for all your patient reading.
    Reward points if useful.
    Thanks & Regards
    Sadhu Kishore

  • Order unit in material master

    Hi Gurus,
    We have maintained order unit CS in material master, while creating purchase order we have changed the order unit CS to BAG. conversion was not maintained for BAG in material master.
    But still PO is not throwing any error message. In actual it should give error message ..right ? as we  have changed the order unit CS to BAG?
    Please clarify
    subbu

    Hello,
    If that Unit & its conversion wrt to base unit is niether maintained in Material master or nor in inforecord, then, system throws an error. Please check whether "BAG" is maintaiened in material master or inforecord. Also check message setting.
    Hope it will help u..
    Thanks
    Subhash

  • Automatic updation of planned delivery time in material master.

    Dear all,
    Is it possible to update the Planned delivery time in the material master automatically by the system based on goods receipt date.
    what customisation needs to be done.
    Regards,
    Dayanand

    It is not dynamic field so you  can't retrive automatically.

  • Sales order does not extract plant information from material master data

    Hi experts,
    I have created a sales order. However, the plant in the shipping tab can only be manually entered.
    I have made the check:
    the customer material master data does not have the plant info.
    the customer master data does not have it either.
    It is defined in the material master data: sales:general/plant
    But the sales order did not extract this information. Why does this happen?
    Thank you in advance.
    Best regards,
    Fan

    Hello Friend,
    As right stated by you,
    The Plant will be copied from the master data to the sales order, if not it should be manually entered
    The Sequence System will search for the Plant is as follow..
    1. Customer material infor record, If it was not maintained then it will search in
    2. Customer master, if the entre was not maintained in the SHIPPING TAB
    3. Finally it will search in the Material master in the Sales organisation data 1 in the field DELVERING PLANT field.
    So please search whether the entry was maintained in that field at the sales:sales organisation data 1.
    This might be the issue.
    Please revert if you want further details
    regards,
    santosh

  • Planned Delivery Time from Material Master instead of PIRs

    Hi SAP Gurus,
    Do you know if there is a way to have MRP look at the Planned Delivery Time from the Material Master (MRP 2 tab) instead of the PIR?
    We would like to create global PIRs with a PDT of 1 and have the Material Master PDT set to a different number (example 5).  So when MRP runs it will read 5 instead of 1.
    Any additional information is appreciated.
    Thank you
    -nic

    Hi Nicholas,
    In Standard SAP will consider Planned delivery time maintained in Inforecord and than time maintained in Material master. Inforecord has higher priority than material master. When a requisition is manually created, the Planned Delivery date will always be taken from the material master.
    For MRP you can make setting OMDT for your plant or MRP group to determine planned delivery time.
    Deactive the flag 'Scheduling according to purchasing info record or agreement' in Customizing (Plant or MRP group). and test the same.
    Regards,
    R.Brahmankar

  • Order Quantity Change After Delivery

    The Scenerio is like this
    I m using order related billing now the user had made the delivery of the order and billing document is also created now if i go back into the order and change the already delivered qty system is allowing this change but also displaying the Message the Delivery of  this much qty has been done
    I want to make this message an error message so that the users cant change the already delivered qty
    Delivery of               15.00 CRT has already been made for item 000010
    Message no. V4096
    this is system Message

    Go to T.Code OVAH .
    And check your message V4   096,,and enter "E" in  the last column.
    Hope this solves your problem.
    Regards,
    Ajai
    <b><REMOVED BY MODERATOR></b>

  • 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

  • Ordering unit in Purchasing  the Material master

    Dear all,
    We have 2 material codes for same material e.g.
    1.  ABC ---  having Base unit 'EA' & no ordering unit defined in the master. stock - 100nos
    2. PQR ---  having base unit 'EA' , but ordering unit is 'KG' in the purchasing view. +  additinal data - Unit of measure is defined as 1 EA = 1 EA  &  1 KG = 1 EA. stock -60kg.
    Both materials having stock in the system. We want to use 'PQR' code only.
    How to issue PQR material in 'EA'  against production order ?
    It is coming in  'KG' unit.
    Have I to remove/change ordering unit in additional data ?
    i.e.  e.g. 1KG = 400 EA.

    How to issue PQR material in 'EA' against production order ?
    It is coming in 'KG' unit.
    unit for goods issue is an extra unit and has nothing to do with order unit.
    You can change/remove the goods issue unit in material master storage location view
    Have I to remove/change ordering unit in additional data ?
    i.e. e.g. 1KG = 400 EA.
    select the alternative unit and click the button for line deletion below  the overview

  • To get open order quantity for list of materials

    Hi Gurus,
    I have a typical requirement for development of 1 function module and below are the details for it:
    I want to have the open order quantity (pending for delivery & PGI) for materials by entering sold-to-party, ship-to-party and sales organisation.
    Can i get list of all the materials when are open with the quantity of that materials which are yet to be delivered. And I have only ship-to-party and sales organisation as input parameter.
    I would prefer if standard function module is available or I would also like to have some code or logic to ful fill the above requirement. And also I would like to inform you that I have check VA05 transaction and it is not useful to me as it does not take into consideration partial delivery. I have also check backorder list transaction V_05 and it is not useful too.
    Please reply me fast as I am in urgent requirement of this.
    If you are not clear in requirement then please let me know.
    Regards,
    Sagar

    Rich,
    No.
    This is for creating custom VA01 transaction.
    Before creating the SO, I need to validate the minimum order quantity for each material for that customer.
    Thanks
    Sundar

  • Pricing in minimum order quantity

    Hello Guru,
    I am currently working on pricing, and my client has a minimum order quantity in some cases for the customer and some cases for the material. how do I set this up to reflect in the pricing ?, I also want to maintain scales for pricing starting from the minimum order quantity. In addition my client wants this specific to particular sales org. Can any one tell me how to resolve this issue, i will really appreciate your help.
    Thanks

    Hi,
    You can maintain minimum order or delivery quality in material master in Sales Org 1 View. Regarding pricing, you can maintain condition records with key combination sales org/customer or sales org/material with scales.
    Regards
    Nagendra

  • Purchase order minimum order quantity

    If mininum order quantity is 5000 for a particular material code. We have 3 PRs with quantity 2000, 1000, 500 ea. When we create PO w.r.t. these 3 PRs system creates PO with 5000 Ea quantity for each PR. There by the PO quantity is 15000.  Client requirement is that when these 3 prs are converted into a single PO, the quantities should get added first and then rounded.
    In this case 20001000500 = 3500 (added quantity) and then minimum quantity of 5000 should be ordered. Kindly suggest.

    Dear
    Goto MRP1 VIEW -Keep Mini  Lot size as 5000  .Test it in Sand box with a demand of 2000 and run MRP MD03 , I hope it will generate PR of 5000  if you do not have any stock .
    You can also keep period lot size ( MB/WB) in MRP1 view with Individual and Collective Indicator ( MRP4)   so that it will club all the requirement in that period and generate on PR of total qty
    Check and revert back
    Regards
    JH

Maybe you are looking for

  • The listing of my calendars is gone

    I know this has happened before, because I found (and have since lost) a thread on it. I have recently migrated back to ical/address book/etc. - all mac PIMs - and it's not going well. The problem today is that, when I open iCal, it appears there's n

  • ITunes reporting wrong free space on iPhone 4S

    On Friday, I signed up for iTunes Match.  Let it do it's thing, and on Saturday afternoon, it completed.  I went through and removed all the old m4p files I could, replaced with m4a, and downloaded 256k aac replacements for old files in my library fo

  • An annoying problem about creating an Apple ID !!!

    Hi, i want to create an Apple ID for the US iTunes for my cousin who lives in Macedonia (i'm currently there and typing this from Macedonia). The account i want to create is an account with no credit card on file (i just click to dl a free app and th

  • Missing SET parameters on 3750 switch via Telnet?

    Hello. When I telnet into my 3750, and then I ENABLE to get priviledge commands, I want to SET the SPANNING-TREE parameter. I type SET ? and only get one option MEMORY set memory paramters When I type SHOW ?, I do see the parameter to show the SPANNI

  • Acounting document

    hello, can u help me , my problem is that i had created the billing document but accounting document has not been created . so tell me where i have to go for setting it so while creating billing doc. acc. doc is also be created automatically. urgent.