Purchase Order quantity must not Exceed Sales Order quantity

Dear Experts
My requirement is when i am creating PO in me21n and taking Document type as Domestic PO and giving account assignmnet as "C" Sales Order, must have to enter Material and quantity and must have to Give Sales Order number and item no in account assignmnet tab , the quantity i am entering in PO must not exceed my Sales Order quantity that is my requirement.
Regards
Abi

Hi,
You do not create a PO with reference to sales order. In PO you enter sales order number for reference. A purchase requsition can be created directly from Sales order or through MRP depending on the system settings. Then this PR can be converted to PO. here you can restrict the quantity. As in order to change the quantity in PR also you will have to change the quantity in sales order.
Regards
Raj

Similar Messages

  • Sales Order quantity Must not exceed Purchase order quantity

    Dear Experts,
    My requirement is when i am creating a Purchase order giving referenece as Sales Order .. system must not allow the user to enter  more than Sales order quantity.
    Ex : Sales Order 1234
            Material : AAAA
            Quantity : 100
    while creating a Purchase order for Mat AAAA giving  reference of Sales order i.e 1234 and quantity 150 system must not allow user to enter more than sales order quantity . If user wants to create PO for 150 he must have to ammend the sales order from 100 to 150  is it possible.
    Kindly do the needful
    Regards
    abhi

    Dear Abhinav,
    First of all, Purchase Order will get created with reference to Purchase requisition (T. Code: VOV7 --> Item Cat.: TAS --> Tab: Transaction Flow --> Field: Automatic PO Creation), and not with reference to Sales Order.
    This is Purchase requisition, which gets created with reference to Sales Order; based upon settings in:
    T. Code: VOV6 --> Schd. Line Cat.: CS
    Order Type            NB    Purchase Requisition
    Item Category         5     Third-party
    Acct Assgt Cat.       X     All aux.acct.assgts.
    Now, coming to your requirement (based up on my inputs),
    My requirement is when i am creating a Purchase order giving referenece as Sales Order .. system must not allow the user to enter more than Sales order quantity.
    To Restrict Purchase requisition quantity in PO, then in T. Code: OMCQ
    Or, Path: SPRO > img > MM > Purchasing > Environment Data > Define Attributes of System Messages
    Here make following messages as Error;
    06 076 Materials of requisition & item & alr. ordered in full
    06 254 Order quantity greater than requisition quantity
    Now,  in Purchase Requisition, if it is created for 100 qty (with ref. to Sales Order) and if you adopt the same in Purchase Order and try to change the qty to 150, then system will not allow you change and throws the error.
    Best Regards,
    Amit

  • Delivery qty should not exceede Sales order qty

    Dera Friends,
    System is allowing to create delivery for a higher quantity than in sales order. For eg. The sales order is created for 10 pieces and delivery is created for 20 pieces.
    We want to have a check on this. Pls guide where we can configure this. Our requiremnt is that Delivery qty should not exceede the sales order qty.
    points assured
    Krishna>C

    hi,
    Go to VTLA, select your order type and delivery type and select item category and see whether you have maintained the following:-
    Order requirements:::::101
    Item Data:::::::::::::::::::101
    Updata Document flow:::X
    Pos./neg.quantity::::::::::+

  • While creating the Transfer Order system is not picking Sale order stock?

    Hi All,
    In the B2B  process the system is not picking the stock from from sale order stock while creating the transfer order? Please suggest.
    Summary : Here we are creating the PR in the sale order and STO is created using the same PR to procure the materials from the WM plant to sale order plant. Since here intialy we are moving the stock to our sale order in WM plant and then picking the same. But while creating the Transfer order system is not picking the sale order stock in WM plant.
    Regards.

    C S Javali
    Check in schedule line in transaction flow whether Transfer Req /assembly is checked or not
    Regards
    Pradeep

  • Delivery quantity should not exceed order or confirm quantity

    Dear Friends,
    How to handle a below scenario,
    Sales order is for 100 Tons.Partial delivery is allowed.
    Now delivery quantity should be equal to 100 Tons.Delivery quantity should not exceed order quantity.
    I mean delivery quantity must be equal to order quantity.
    Thanks in advance.
    Regards,
    Shrikant

    Dear Ram/Ramnath,
    I have maintained the B for Check Overdelivery.Transaction code used is 0vlp.Item catg is TAN
    Check Quantity 0 is A
    Check Minimum Quantity is A
    Now I ahve created a Sales Order for 10 Tons.
    Created two delivery notes of 4 tons and 8 tons respectively.
    While creating second delivery for 8 tons I do not get any error message.
    Transaction code VOV7.Here completion rule is blank as it is relevant for Quotation and contracts.
    Is there anything need to do?
    Thanks in advance.
    Regards,
    Shrikant

  • Delivery quantity should not exceed order quantity

    Hi,
    in delivery delivery quantity should not exceed order quantity what should i do
    please let me now what should i do it is urgent
    Thanks in advance
    Srinivas

    Hi,
    You may consider an enhancement with a user exit:FORM USEREXIT_SAVE_DOCUMENT_PREPARE in include MV50AFZ1.
    Here you can put additional conditions to check the delivery qty and also can put a message for the user to correct the delivery qty in case he has manully increased it.
    Please reward points if this helps.
    Hemant

  • Checking quantity in stock at sales order creation

    Hi all
    I have Make to stock scenario with delivery from stock.
    I want system in such a way that sales order quantity should not exceed quantity in stock at the time of sales order line item creation.
    How to achieve it without development ?

    I want system in such a way that sales order quantity should
         not exceed quantity in stock at the time of sales order
    This is not possible through standard settings.  You have to go for an exit and with the help of an ABAPer, this can be achieved.
    thanks
    G. Lakshmipathi

  • Delivery note from sale order

    Hi all,
    While trying to create a delivery note against sale order in VL10G, the message "only 0 ea of  material XXX available".    In stock material quantity is available.  The material has some reservations against it.  Will this be resulting in not creating delivery note. 
    Regards
    sappy

    Hello,
    Is your material stock against order ie restricted to specific order  or is it make to stock ie in Unrestricted.
    Please check the availability check in sales order. It will show if any delivery is created but not done PGI. Either delete that delivery & then you will be able to create the delivery for this order.
    Let me know if the problem still continues.
    Thanks

  • Can't change quantity when copy from Sale order for Delivery

    Hi all!
    Can i use authorization for can't change quantity when copy from Sale order for Delivery.

    Tien,
    Approval will not work when you have mutiple rows of data.  You would have to work with SP Transaction Notification
    There has been threads before on the forum on the same topics.
    Block the Quantity in Sales Delivery
    Approval Procedure for chaning quantity in Delivery Document
    Suda

  • Quantity is different from sale order and delivery

    Hi,
    Gurus,
    Quantity is different from sale order and delivery.
    I identified the Material in the sales order, the item category for this material as BOM.
    I have also checked the bill of material display header overview. The Base Quantity maintained as 1000 EA3. The SUBITEM maintained in G in the unit field in bill of material display.
    Accordingly i have checked the same for material master's additionl data in Units of Measure tab, it is mentioned the basic unit as 1000 EA3 and alternative unit as 600 G.
    My client processed the order for 100 QTY. The QTY for the two sub item is 99.601 each in the sale order.
    My client Question is why in delivery the Material Qty is coming as 99.730 and the SUB ITEM is coming as 99.330 EACH.
    Note:- The material X is maintained in EA3 in Bill of material header overview. I do no how the sale unit came as G for the Material in sale order.
    The other two sub item is perfectly coming as G. Because it is maintained in G in the Bill of Material Display.
    Guide me GURUS.
    Thanks and Regards,
    ANAND

    Hello Rumar
    I guess you entered the text manually in the sales order. The Ship-to may not be having any text, but the Sold-to may be and it may be coming from sold to.
    In transaction VOTXN, check the access sequence for the text type id and see which one takes precedence - one from customer master or from the order by checking the order of accesses.

  • Confirmed Quantity for Item in sales order

    Dear All,
    In one sales order there is confirmation block (this is through the delivery block in the sales order header level).
    The sales order contains BOM (header and it's sub items) and some standard items also two third party items.
    When the sales order is saved there are no confirmed  quantity for any of the item except the BOM header.
    May I know what could be the reason to have this BOM header confirmed quantity..???  this is leading to a problem in the data from sales order.
    Is there any customizing related to this item (item category or schedule line category) to look out for..??
    Thanks & Regards,
    Vishi...

    hello, friend.
    your issue is quite broad.  outcome depends on -
    1.  configuration of delivery block (which, in your case, we can assume to include confirmation block)
    2.  selection of availability check and MRP type in material master
    3.  schedule line category and schedule line determination
    now in standard, if the order line item category is TAN, and MRP type is PD and availability check is PD... the system might temporarily confirm the item even when putting a delivery block at header level, but the system  should delete confirmed quantities when you save the order.  you can check the confirmed quantities when you open the sales order in change mode... the confirmation should be zero.
    however, in third party items (item category TAS), these items are normally confirmed even in change mode.  this may hold true if either MRP = none (e.g. ND) and/or if availability check is KP (no check).
    nevertheless, regardless of confirmation quantity, the system should not allow creating of delivery while delivery block is in place.
    please try these scenarios and post your feedback.
    regards.
    jy

  • Maximum Quantity restriction in the sales order?

    Hi All     
    We need to make restriction of maximum order QTY  with UOM in sales order key combination of sales organization wise / site wise / distribution Channel wise
    While qty is entered for an article in sales order for which maximum sales order qty is maintained in some field (Article master or any other possible field)-, system has to check if the ordered quantity is greater than maximum sales order qty then should display error message and will not allow to process further
    Hope the same is clear.
    Regards,
    C S Javali

    hi
    there is no standard functionality available to set the maximum limit for a material in the sales order.
    You can try using user exit userexit_save_document_prepare in include MV45AFZZ.
    You may need to use Z-table to enter the maximum value for sales organization / site  / distribution Channel / material

  • Error while creating Delivery Note from Sales Order

    Hi,
    I am trying to create Delivery Note from Sales Order. But, I am getting one error sayin "An Item with no delivery quantity is not permitted.Item will be deleted". Hence, the delivery note was not created.
    Can you please let me know, why this error comes. And how to rectify this error.
    Please let me know, what are all checks, I need to do, to know this error.
    Thanks,
    Sandeep

    Hi
    There may be following reason :-
    Either the relevant Item Category is not relevant for Delivery, Check the Item Category in Sales Order and then check the settings of this Item Category in VOV7.
    Also check the relevant Schedule Line in VOV6, it should be relevant for Delivery.
    The Other reason may be that your schedule line in Sales Order is Not confirmed for Available Quantity so check the Sales Order> Line Item> Schedule Line.
    Regards
    Amitesh Anand

  • Make-to-order. Requirement linked to Quotation and not to Sales Order

    After we have changed our Make-To-Order Materials from unvaluated sales order stock to valuated Sales Order Stock we do face a problem with the Requirement for those Sales Orders lines which are started with a Quotation. After running MRP a planned Order is created (ok) but the Planned Order is linked to the Quotation line and not to the Sales order line. When converting the Planned order to a Production order the AFPOD-KDAUF field is the number of the Quotation and unfortunately not the Sales Order number.
    The Quotation looks ok. Item category is AGN and Schedule line category is BN (no MRP). When converting the Quotation into a Sales Order the Item category change to TAN and schedule lin category is now CP.
    The copy rules QT -> OR (VTAA) shows copying requirement = 501 Schedule qty >0 and DataT = 201 General Schedule line Data
    Anyone got a clue about where to look? ¨
    Thanks in advance
    Ken

    Hi Guys
    Thanks for your proposals.
    The Materials involved are standard items (FINI -> NORM) and our Set-up with item category TAN works perfectly when we create a Sales Order without a Quotation first. And the way we solve the problem manually right now is to convert the Quotation and delete in line item and recreate them manually. 
    I found that if i delete the requirement type in the Quotation and then convert the Quotation into a Sales Order then the Planned with be linked to the Sales Order = perfect.
    Any other ideas
    Best
    Ken

  • Cash discount calculation at invoice level not at sales order level

    Dear Friends
    while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order.
    can you please let us know your views oin what basis iot calculating directly in the invoice, since payment terms is there in both sales order and invoice level. but discount is only appearing at invoice level, not in the sale order level..
    where these setting incurred in this process. i have verifies all the routies, there is no such kind of logic to calculate in a particular palce.
    treat this one as high priority and let me know.
    Thanks
    Raju.

    Hi
    while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order.
    can you please let us know your views oin what basis iot calculating directly in the invoice, since payment terms is there in both sales order and invoice level. but discount is only appearing at invoice level, not in the sale order level..
    Please check your Pricing Procedure, whetehr against your Cash Discount Condition Type, Requirement 24 or 23 is maintained? If it is maintained remove these requirements and save. Then try to run the transaction.
    Regards,
    Amitesh Anand

Maybe you are looking for

  • LASERJET P2015-PROBLEMS WITH PAPER FEED

    We have a HP LaserJet P2015 in the office.  When the paper reaches the halfway point, the printer makes a horrible sound and will not feed the paper.  Anybody have any suggestion?

  • G4 OS 9.2 Installation Problems

    I just bought a used G4 with an updated CPU processor. The specs are: Power Mac g4 (AGP Graphics) Model Powermac 3,1 CPU Power PC g4 (3.2) 1 CPU CPU speed 1.2 ghz Memory 1 gb boot rom version 4.2.8f1 3 Digidesign TDM audio cards I am trying to run th

  • The "FIND" feature in the Edit menu does not work. I can't find anything on a webpage

    The "FIND" feature in the Edit menu does not work. I cannot search a page. If I am looking for the word "Doctor" and I know it is on the page. All I get after typing the first letter is that the typing box turns red. This is not fun.

  • Problem in concurrent access of a single method

    Hi, I have one servlet named "Controllerservlet.java" and a jsp page "Inward jsp". Now from this jsp user enters data which are being passed to controller servlet 's "insertData" method which is a synchronized method then it stores the query result i

  • Doc Currency

    Hi, 1)- I want to retrive all the sales orders as per the Currency wise(doc currency). 2)- I have created one time customer using account group CPDa. n created order, while creating order system will prompt for entering address for that customer ,I e