Delivery Qty should not be greater then po qty

HI
SAP Guru's
Delivery quantity should not greater then po qty.
my problem is they are rising mulitiple devliveries for one PO
Code written in MV50AFZ1 is not working because it is checking only if Delivery Qty more then PO qty, I tries to sum qty from LIPS table using VBGLN Cust po no  but VBGLN is non key field in LIPS table. It is giving perfomance problem.
Please suggest if any other tables to SUM the delivery quantity.
regards
ravi N
9866595994

Hello Experts..
Need ur expertise advice on above issue...

Similar Messages

  • 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

  • The delivery date should not flow from PR to PO.

    Dear Gurus,
    While creating a P.O with reference to PR.
    The delivery date should not flow from PR to PO.
    Any settings are there for this

    there is no planning.
    this is a utilites industry.
    if there is any way to do.The delivery date should not flow from PR to PO.
    please share ur  ideas

  • 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

  • Packing Material delivery item should not be send via EDI

    Hello experts,
    I am having a problem with a cross company process. One plant uses the automatic delivery item generation of packing material because they want to have them in stock. But the receiving plant does not have them in stock. So, what we did, we created new packing materials for example 8500 and 1500 for a euro palett.
    And on the EDI server we swith the packing material of the HU from 8500 to 1500, which works well.
    But the problem is the delivery item of the packing material which should not be adviced to the receiving plant.
    Do you know any User-Exit or customizing functionality in order to send only the real materials to the receiving plant?
    I use the SPED message as well as DESADV Idocs where I need to cut the packing materials.
    Thank you.
    Manuel
    Because nobody answered yet: Can you tell me if this idea does make sense or if I should follow another way?
    Has nobody yet had this same problem?

    I come to know from thread you do not need packing item in your stock.We did similar kind of packing process in our system.
    Our process also Cross company scenario .We have two SAP system .In one system they issue goods through an outbound delivery with packing information against SO.We will use the Goods issue information from other system to create Inbound delivery in other system.
    In the EDI file they send to us Pallet and Carton information along with file .So what we did we have created two packing articles ,One for carton and other one Pallet and these Values are maintained in TVARV table.
    We have used DESADV/DELVRY07 idoc to create inbound delivery.PI Creates the Inbound delivery Idoc with HU information from other system ,While posting the inbound delivery we  used our packing articles to pack the Inbound delivery items.

  • Item should not invoiced more then order value

    Hi my all friend and Laxmi
    I have one requirement where i want a item can not invoiced more then there order item value
    Please suggest me with your valueable suggestion

    Hi,
    T. Code: VTFA (Order-Bill Copy-Control Settings)
    Select Target Bill Doc and Source Sales Doc.
    Click: Item (Left Hand tree)
    Select Item category and Double Click.
    There is one Field: Billing quantity
    Please maintain appropriate selection (My suggestion "A" - Order to Bill ; else "B", if Delivery to Bill)
    Best Regards,
    Amit

  • STO delivery date should not be in weekend.

    Hi expert,
    i just want to make sure the STO delivery date should skip weekend or give a warning message in case it is calcuated based on planned delivery time to be the weekend. Now I know that the calendar in receiving plant configuration can reach this request. but what i concern is, if i change this config, the impact is too big. Does any one have better idea?
    also, it looks like that the calendar in unloading point in ship-to master data doesn't work for this.
    Thanks!

    Dear Srinivas,
    Change the check as follows from
    Check: BKPF-BUDAT>SYST-DATUM
    to
    BKPF-BUDAT <= BKPF-CPUDT
    add  BSEG-KOART = 'K' in prerequisite
    Regards,
    NCC  Talluri

  • HOW TO STRICT DELIVERY QTY SHOULD NOT BE MORE THEN SO QTY.

    DEAR ALL,
    WE ARE FACING ONE  PROBLEM, SYSTEM IS ALLOWING TO DELIVER ADDITIONAL QTY. COMPAIR TO SALES ORDER QTY. IN MY SO I PUT 100 QTY AND IN DELIVERY (VL01N) I SELECT PICKING QTY AS 150 IN THIS CASE SYSTEM ALLOWS TO DELIVER MORE QTY THEN SO. I NEED TO RESTIRCT THIS PL. GIVE SUGGESTION ON THE SAME. IF YOU GO TO MMBE THERE IS SUFFICIENT STOCK IN SYSTEM.
    PL. CHECK.
    NIKHIL

    Hi Nikhil,
    In the item shipping tab of sales order, there is a field "Delivery
    torlarance", you could set the overdelivery torlarance percentage
    according to your requirement.(if it is blank, system would treat it
    as 0)
    Then in the customizing of delivery item category(Tr-cd: 0VLP),
    there is a field "Check overdelivery", you could set it to A or B
    to control system issing warning or error message if user carries out
    overdelivery.
    Thanks,
    Alex

  • Commercail invoice qty should not be greater than PO qty.

    Hi,
    We have a requirement where, system should check for the commercial qty with PO qty and if commercial invoice qty exceeds than PO qty, system should give an error. This is required to avoid duplicate payment of customs duties.
    This functionality should work for parking and posting of commercial invoice both.
    Please suggest relevant solution.
    Thanks & Regards,
    Bhargavi.

    Hello,
      You can use the function exit EXIT_SAPMM06E_012 to carry out this validation.
    Thanks,
    Venu

  • Proposed delivery date should not get copied to the target document

    Hi gurus,
    I am creating a quotation and it is taking proposed delivery date as creation date and confirming a schedule line. When i create the sales order the same data is coped to the sale order. I have a different delivery date in sales order , but the system dose not allow me to change the date saying that a schedule line already confirmed for this line item.
    I have unticked the copy schedule line the copay control of item category from quotation to order. still the same problem...pls help

    Hi,
    If you carefully look at the problem, the root cause is not at the schedule line but at the document header where the delivery date is given.
    So if you really dont want the delivery date to be copied, you should do that in a new copying routine and in that routine, you should copy all the details except the delivery date. This means that even if you create with reference, system will ask you for requested delivery date. Now you can give the delivery date of your choice and further scheduling will happen automatically.

  • Delivery is invoiced fully so system should not allow to create 2nd invoic

    hi Expert,
    my issue is, once invoice is created for delivery.
    system should not allow user to create
    second invoice for same delivery number.
    where to check the confiurtion to stop such
    behaviour
    waiting for your reply
    thanks
    Alicia

    Hi Alicia
    In the copy control from delivery to invoice - T code VTFL
    you can maintain the copy routines. try maintaining routine
    3-- which is delivery reatled header
    4-- which is delivery related item
    also at item level copy control you may add the check in billign quantites
    this would stop formc reating another invocie
    Hope this helps
    Thanks
    Akasha

  • Sales order quantity & delivery Qty

    Hi
    In delivery we can increase the materia qty other then sales order qty. For e.g  in sales order qty is 100 pc for material Z but in delivery we can increase the qty 150 pc.
    Where to make the settings so that sales order qty will be  equal to or less then the sales order qty. It should not be more then sales order qty.
    regards
    debasish

    Hi,
    We can do this through copy control settings between Order and delvery. VTLA there
    item level - + ve quanity..
    configure this as per your requirement...
    Hope this will help.
    Reward Point if helpful
    Thanks,
    Raja

  • Prevent outbound delivery for material not in stock

    Hi Friends,
    I dont want to allow system to create outbound delivery for material not in stock. What configuration should i maintain for the same.
    My example is as below:
    I have an order with 5 qty of material A and as there is no stock system has split the schedule line based on an incoming PO and confirmed the Qty based on the incoming PO. We have not done GRN for this PO and there is no stock available but still system allows me to created outbound delivery for this order.
    How can I achieve this.
    Regards,
    Wasim.

    I dont want to allow system to create outbound delivery for material not in stock
    Standard will allow you to create delivery even if stock is not available; but you cannot do PGI.  If your requirement is even delivery should not be created, then go with delivery exit  V50S0001
    G. Lakshmipathi

  • GR Qty more than Delivery Qty in Production Order

    Hi
    there are a amazing Production order that GR Qty more than Delivery Qty of finished goods in this production order.
    there are some data in this production order as below:
    Order Qty = 2680
    Delivery Qty = 2680
    Tolerance = 0
    However, to my surprise, Material documents list there are 3500 Qty has been received related this production order. I have check all material documents related this production order. the total GR Qty is 3500 more than 2680.
    I know when I do GR for this production order if Total GR Qty exceed Order Qty, So, SAP will not allow me to do. because the Tolerance = 0.
    Anybody can tell me, how to deal with this error?
    Thanks
    Henry

    Hi Henry,
    If you do not want to restrict the quantities while confirmation, make the changes as required.
    Related to Material master, work scheduling view the under/over delivery tolerance should be zero and unlimited delivery tick should not be active
    While creation of production order (if manually created) under delivery or over delivery tolerance should be zero and unlimited delivery tick should not be active.
    regarding configuration, in OPK4 for plant and order type the following confirmation parameters are to be maintained
    Hope this will solve yours, come back if required.
    with regards
    Ram Kumar

  • SALES ORDER CAN NOT BE LESSER THEN POSTING DATE

    Hi everyone
    Can any one tell how can I restrict sales delivery date less then posting date. Like if user create a sales order on 22,03.14 then delivery date should not be before 22.03.14. I saw in system if I enter sales delivery date before 22.03.14 then system accept the date

    Hi,
    Try this:
    IF @transaction_type in ('A') AND (@OBJECT_TYPE='17')
    BEGIN
    If exists (SELECT t0.docentry FROM ORDR T0 WHERE T0.[DocDueDate] < T0.[DocDate] and  T0.DocEntry =  @list_of_cols_val_tab_del)
    Begin
    SET @error = 10
    SET @error_message = 'Not allowed to enter delivery date less than posting date'
    End
    End
    Thanks & Regards,
    Nagarajan

Maybe you are looking for