Open quantity in Deliveries

Dear SAPer,
in deliveries, every item has a delivery quantity and an open quantity. SAP explains the open quantity as "The quantity of the item that remains open for delivery. The open quantity includes the delivery quantity in the delivery that you are currently processing. The quantity is expressed in sales units."
here's the senario,
i created one delivery for a sales order with one item and 20 ton:
no matter i enter 10t/20t/40t as the delivery quantity in delivery item, the open quantity remains as 20t and never change after both just saving the delivery and PGI.
so my question is, will this open quantity in deliveries change and if so, how?

Dear  Michael:
Pls look at this example,you can get the answer.
You create a sales order item for 100 pieces. During delivery processing , you create three separate deliveries that refer to this order item.
1. Delivery #1 has a delivery quantity of 40. The open quantity is 100 pieces (the quantity still to be delivered, including the 40 pieces you already entered for this delivery item).
2. Delivery #2 has a delivery quantity of 50. The open quantity is 60 (the original delivery quantity of 100, minus 40 from the first delivery , but including the 50 you are currently processing). In the first delivery, the system adjusts the open quantity from 100 to 50, to account for the delivery quantity in the second delivery.
3. Delivery #3 has a delivery quantity of 10, to complete the original delivery quantity of 100. In the third delivery, the open quantity stands at 10 and the system adjusts the open quantities in the first and second deliveries to 40 and 50 respectively

Similar Messages

  • Material Confirmed quantity and Open quantity

    Hi All,
      I am working on a report where the user wants the material confirmed quantity and open quantity at the batch level. I know for open quantity VBBE-OMENG can work. Just need confirmation that this is the correct field. However for confirmed quantity I am not able to narrow it down to one field. I have the following fields as possibilities but not sure which is the right one.
    1) VBBE-VMENG
    2) VBEP-BMENG (This is the at the sales order level though. We need it at the batch level)
    Can you please let me know if i have the right approach here? The report has Material, plant, sloc and batch along with a bunch of other fields.
    Regards.
    Sid

    Hello,
    you should extract the quantities from all the deliveries selected for material and batch, and selecting only open deliveries.
    Use a selection like this:
        SELECT lips~MATNR lips~WERKS
               lips~CHARG lips~LFIMG
          INTO TABLE lt_lips
          from lips as lips
          INNER JOIN vbup as vbup
            on lips~VBELN = vbup~VBELN AND
               lips~POSNR = vbup~POSNR
         WHERE lips~MATNR = p_matnr
           AND lips~WERKS = P_WERKS
           AND lips~CHARG = P_CHARG
           AND ( vbup~WBSTA eq 'A' or
                 vbup~WBSTA eq 'B' ).
    Best regards,
    Andrea

  • Open quantity field

    Hi,
       could any one let me know if there is any table and field that stores teh value of the open quantity in deliery.suppose say for a partcular sales order there were N number of delivery made and when N+1 th delivery is done i want to make validation say want to compare teh delivery quantity entered with the open item(the items tht are pending to be delivered as per the sales order).For this i want to know the field and the table in which the open item(the pending delivery item for the sales order ) is stored.
    Cn any on ehelp me iwth this.

    Hi Sudha,
    If partial delievry is allowed in the system, then multiple deliveries may exist for each sales order.
    Using the sales order and item number as the key, you can get the delivery quiantities for each of those partial deliveries.
    select vbeln vbelp LFIMG
      from lips into table it_lips
    for all entries in it_vbap
    where KDAUF = it_vbap-vbeln
       and KDPOS = it_vbap-POSNR.
    loop at it_vbap.
    lv_index = sy-index.
    clear quant_delivered.
    loop at it_lips where KDAUF = it_vbap-vbeln
       and KDPOS = it_vbap-POSNR.
    quant_delivered = quant_delivered + it_lips-LFIMG.
    endloop.
    it_vbap-openqty = it_vbap-KWMENG - quant_delivered.
    modify it_vbap index lv_index.
    endloop.
    Regards,
    Ravi

  • How  to configure for open quantity

    please help
    how the oder quntity will be come as deliver quanity and delivery quntity ll be come as open quantity
    for this reason my delivery is splited in to 2delivery each time and
    the schedules are coming auto matically
    see the notes regarding open quntity in delivery
    Quantity to be delivered in sales units
    The quantity of the item that remains open for delivery. The open quantity includes the delivery quantity in the delivery that you are currently processing. The quantity is expressed in sales units.
    Use
    The system calculates the open quantity by taking the original delivery quantity and subtracting the quantities from any deliveries that also refer to the item. If you create more than one delivery for an item, the system adjusts the open quantity in existing deliveries every time a new delivery takes place.
    Example
    You create a sales order item for 100 pieces. During delivery processing, you create three separate deliveries that refer to this order item.
    1. Delivery #1 has a delivery quantity of 40. The open quantity is 100 pieces (the quantity still to be delivered, including the 40 pieces you already entered for this delivery item).
    2. Delivery #2 has a delivery quantity of 50. The open quantity is 60 (the original delivery quantity of 100, minus 40 from the first delivery, but including the 50 you are currently processing). In the first delivery, the system adjusts the open quantity from 100 to 50, to account for the delivery quantity in the second delivery.
    3. Delivery #3 has a delivery quantity of 10, to complete the original delivery quantity of 100. In the third delivery, the open quantity stands at 10 and the system adjusts the open quantities in the first and second deliveries to 40 and 50 respectively.
    so all the problem due to this open quantity
    so please tell me how the open qunatity will be same as the delivery quanity
    or ordered quntity
    regards
    subrat

    Hi Surbat,
    First we would like to know why you want the open quantity same as delivery quantity or Sales order quantity?
    Regards,
    Amrish Purohit

  • Open quantity remains open even when delivery and goods issue is completed

    Hi gurus,
    We have so many deliveries in system where open quantity  in outbound delivery document  shows the quantity as open even though the goods issue is completed and invoice has been created and accounting documents are also cleared.
    I am not getting why it is happening. can someone please advise or throw some light on this.
    Vice versa they are showing up in MRP run as requirements.
    Thanks in advance gurus,
    Kind regards,
    Gopio.

    Hi Amol,
    I think i got the correct one which is RVV05IVB, and i had selected the shipping due date index, but it did not clear the open quantity, still it remained as open quantity.
    And the message i got after running the report is pasted below.
    Reorganization of SD Document Indices
    Reorganization sales document indexes with the following selection criteria:
    I EQ 80015593
    Delivery due Index
    How does that open quantity gets updated, or is there any control that we can deactivate as these are showing up in MD04 as sales requirements.
    Thanks,
    Regards,
    Gopio.

  • Delivery with open quantity

    Hi,
    is there a report for deliveries with opened quantity ?
    Regards

    Hi,
      Try Vl06o with for " goods issue option".
    regards,
    Siraj

  • Open quantity in list of contracts(VA45)

    Hi,
    I cannot find the open quantity filed in list of contracts report(VA45). Could anyone tell me how to add this field into VA45 report?
    Many Thanks
    Jean

    Hi Jean,
    basically according, to the SAP - Sales concept is concerned, there are two things. One is the order quantity which always refers to the total order qty for a material. Other is the open order qty, which is always based on a formaula.
    For eg. I create an order for a material m1 for 1000 pieces.
    Suppose, I have already invoiced 250 pieces from it and also i have taken a fresh delivery for another 250 pieces. Then the open order qty will be = total order qty - ( deliveries + picking + PGI + invoice)
    i.e = 1000 - (250+250).
        = 500.
    So open order qty simply based on the above formula. You can use this formula in your programming.
    Lakshminarayanan
    P.S. Mark all helpful answers for points.

  • Open quantity in schedule agreement

    Hi All,
    We have finished with a particular schedule agreement(ME31L). No more pending deliveries.
    Now in the open quantity is showing in schedule agreement. here 2 deliveries does not match as quantity differs.
    Can I know why this open quantity is showing and how to check/over come this issue.
    Thank You

    Hi,
    You can check the scheduling agreement in transaction ME38 for the entered deliveries & GR made against each delivery. The difference is open Schedule.
    Regards,
    Prashant

  • How to calculate the OPEN QUANTITY in delivery Duelist Report

    Hi Everybody,
       I have a query for finding out the OPEN QUANTITY for schedulines for a delivery.
    If for example the report is run for 2nd of February, it is necessary to
    determine whether there are delivery relevant schedule lines before the
    2nd.
    If yes, we need to know whether there is an open quantity to this line
    item.
    If yes, this open quantity is a negative deviation (we delivered not
    enough).
    If there is no open quantity it is necessary to determine whether for the
    earliest future to be deleviered schedule line, the open quantity equals
    the ordered quantity (VBEP-WMENG),
    if No the the difference between both values equals the positive deviation
    (we delivered more than requested)
    If the open quantity equals the ordered quantity there is no deviation.
    The problem is to calculate the open quantity and the SAP standard there is function
    builder used in SAP standard include MV45AF0O_OFFENE_WERTE_ERMITTEL, the
    function builder is called RV_SCHEDULE_CHECK_DELIVERIES'. But how could we use in this formulae in a Custom delivery report.
    Looking for your helpful suggestions.
    Many thanks in Advance,
    Mira Saikrishna

    Krishna....have a look in the below threads where there was a similar requirement..
    error while using BAPI_OUTB_DELIVERY_CHANGE
    change outbound delivery

  • Purchase Order Open quantity calculation.

    Hi All..
    I would like your help in finding out the logic behind calculating the open quantity for a given line item of a purchase order.
    Iam aware that i should go to the EKBE table to see purchase order history. Can someone tell me what are all the conditions i need to consider to calculate the Open quantity.
    Iam able to give a value E to field BEWTP (Purchase Order History Category) in EKBE and for all the recieved records iam adding the quantity for movement type 101 and removing the quantity for movement type 102 that finally gives my total GR qty. Then iam doing Original PO qty - GR qty to get the Open qty.
    Let me know if this logic is wrong or else is there any other conditions to consider.
    Appreciate your help and will reward.
    THanks.

    subtract the PO quantity EKPO-MENGE with the delivery quantity field EKET-GLMNG
    Thanks
    Seshu

  • Purchase order open quantity

    Hi,
    I am making one report for open purchase order quntity.But there is some problem
    In delivery shedule tab of  purchase order,If delivery date is in future, that purchase order quantity
    also shown by system as open quantity. So whether this open quantity is taken into account or not.
    So please guide me.
    Thanks and Regards
    Anil

    Hi,
    You can also user other transaction for open purchase order quantity.
    Enter ME2M t-code.
    Then select WE101 in selection parameter option and click on execute button.
    Then go in change layout option and take To Be Delivery quantity field in display mode.
    You can see open purchase order quantity.
    I hope it is useful for u.
    Regards,
    Mahesh Wagh

  • BAPI for PURCHASE ORDER with OPEN QUANTITY field

    Hi All,
    I wanted to use the BAPI_PO_GETDETAIL to get the Purchase Order details upon triggering from Warehouse management system,
    But the details required contains a field called OPEN QUANTITY...which is not used in this BAPI.
    I request to let me know if any BAPI exits for PO details having the structure for this field:Open Quantity.
    Am using SAP version 4.0B.
    If not exists please advise how to customize the existing BAPI to meet the requirement.
    thanks
    mahi

    Hi,
    Open quantity is a calculated field. I guess the BAPI gives the details of the delivery, so take the ordered qty and substract the delivered qty from that.
    Delivery data is EKET table.
    Regards,
    Ravi

  • SO open quantity

    Hi,
    I need to get open quantity for each sales order in my Z report. Is there any field to store it or i need to calculate it. How can i do that, Thanks!

    Hi..
    check the below code to get the open quantity.
    open quantity = ordered quantity - delivered quantity
    Fetch delivery information
          SELECT vbeln posnr vgbel vgpos lfimg
                       FROM lips
                       INTO TABLE gt_lips
                       FOR ALL ENTRIES IN gt_vbap
                       WHERE vgbel = gt_vbap-vbeln AND
                             vgpos = gt_vbap-posnr.
    *Compute delivered qty
                LOOP AT gt_lips INTO st_lips WHERE vgbel = st_details-vbeln AND
                                                   vgpos = st_details-posnr.
                  gv_lfimg = gv_lfimg + st_lips-lfimg.
                  CLEAR st_lips.
                ENDLOOP.
                st_details-open_qty = st_details-ord_qty - gv_lfimg.
    i guess you know how to get the ordered quantity for the sales order item.
    Award points if found useful.
    Regards
    Divakar

  • How to find open orders and open quantity

    Hi abap gurus,
    i want to find the open orders with the quantity  means those orders for which we don't have goods issues(and partial deliverys is also possible). i get this scenario but i don't know how to start.
      i think i should go to VBUP table and get all the orders
      which have overall status GBSTA = 'A' OR 'B'.
      So from this i will get all the open orders but i need to find open quantity also .
      please tell me how can i find out and  which table do i need to use.

    You need to check between delivery line item table as well sales order line item table.
    Sales order Line item table : VBAP
    Delivery line item table : LIPS
    if order qty and delivery qty are same then there is no open qty if not then there is open qty.
    Thanks
    Seshu

  • Open quantity in Sales Order did not update after cancelling Reserve Invoice

    Client created Credit Memo with reference to Reserve Invoice but this did not update the open quantity in Sales Order. Client is using SAP B1 8.82 PL9. I tested this in SAP 9.0 and still same behavior. Is there a work around other than creating another SO?
    I checked Document Settings and "Reopening Doc by creating credit memo based on Doc" is enabled.
    Thanks in advance.

    Thanks for the reply. How will the client be able to make new reserve invoices from the SO? They are trying to make partial reserve invoices from the sales order. I already suggested to just change the quantity in the reserve invoice before adding. But I have doubt because the SO might close prematurely before they complete the quantity in the SO because open quantity is much less then the quantity in SO.
    SO Quantity: 100
    Open Quantity: 40
    Reserve Invoice 1: 60
    Reserve Invoice 2: 40
    SO closes before they can make Reserve Invoice 2

Maybe you are looking for

  • BDC for LINE Item

    hi abaper's                    i have to do BDC for vendor line item i have 250 vendor and 1000 line item for these vendor so please tell me the procedure. thanks pardeep

  • Can I restore the Windows side of my partition to factory settings without affecting the Mac side?

    I want to restore the Windows 8 side of my partition to factory settings, but I don't want the mac side to be affected. Is there any way to do that?

  • MBA won't start up properly

    I was wondering if anyone else has had problems with their MBA starting up? I turned my on the other night and it goes through the sound and then you see the gray screen with the apple and the timer going in a circle. The next thing you know it is sh

  • Load movie butoons problem

    I have a problem on load movie i am making a presentation and i made the buttons i am giving the load movi script with load from 1 then it takes the movi movie is playing but the buttons hand is coming over the movi

  • Edit the row on conditional basis

    Hi,     I have used the ALV Component and implemented my table. I have to show the drop down list, which i have implemented in my coding. Now i need to make edit/read only field based on the condition basis of the dropdown. i.e When the user is selec