Detemine open GR quantity in inbound delivery

Hi gurus,
I have an inbound delivery no with me. Suppose delivery quantity is 50. Now I have done GR through MIGO for 10 quantities against that inbound delivery. So at present open GR quantity is 40.
Now my question is how to calculate the open GR quantity against a inbound delivery because I have to show that in a custom report? Need that a little bit technically...
Secondly, how to understand that GR has been done completely against a inbound delivery?

Use tables EKES and EKBE and you need to apply some logic. contact abaper.

Similar Messages

  • Total and pending quantity of inbound delivery

    From which table i will find total and pending quantity of inbound delivery number.
    Which table and field name???

    Dear,
    Find out report using T'Code MR11, you will get all required  fields (this is standard report)
    Regards,
    A. Wankhede

  • Proposed delivery quantity in inbound delivery vs purchase schedule line

    Hello all
    I have got a doubt when creating inbound delivery for an item of purchase schedule line. I want to know how to get the proposed delivery quantity equal to the quantity of all schedule lines until today.
    For example I have got 4 schedule lines for a material and today is 28.10.2011
    20.10.2011 11ud
    28.10.2011 13ud
    03.11.2011 17ud
    05.11.2011 15ud
    when I execute VL31N with date = 28.10.2011, I want to proposed delivery quantity = 11+13 = 24ud.
    However, what I got is always the total quantity of all pending schedule lines = 111317+15=56ud.
    Do you know how can I achieve my propose?
    thank you in advance

    Hi Alan
    Thank you for your reply.
    In some cases (depending on vendor) we are using vendor ASN by EDI. In other cases (when there is no EDI conection with vendor) we use manually VL31N. So in these cases we need a proposed quantity by system in order to know if the quantity that we receive is coherent. Maybe we will try to implement the inbound delivery user exit.
    Thanks again!

  • Update GR quantity in Inbound delivery using 'BAPI_INB_DELIVERY_CHANGE'

    Hello SDNs,
    I have a requirement to update quantity delivered post GR in the Inbound delivery. I'm using 'BAPI_INB_DELIVERY_CHANGE' to do the updation in program. The database is not updated with new quantity.
    BAPI returns error message in "Return" table with ID VLBAPI . I'm unable to detect where the problem is.
    Below is my code. Please help me resolve it.
      loop at it_final.
        CLEAR g_delivery.
        g_delivery = it_final-text(10).
    *   g_delivery = '0180000221'.
        g_del_item = it_final-text+10(6).
    *    g_del_item = '10'.
        g_material = it_final-text+16(18).
        g_dlv_qty = it_final-text+34(13).
        select single * from lips into wa_lips
            where vbeln = g_delivery
              and posnr = g_del_item
              and matnr = g_material.
        if sy-subrc eq 0.
          wa_lips-lfimg = g_dlv_qty.
          modify lips from wa_lips.
          check sy-subrc eq 0.
        endif.
        CLEAR gt_header_data.
        REFRESH gt_header_data.
        gt_header_data-deliv_numb = g_delivery.
        gt_header_data-volumeunit = wa_lips-voleh.
        APPEND gt_header_data.
        CLEAR gt_header_ctrl.
        REFRESH gt_header_ctrl.
        gt_header_ctrl-deliv_numb = g_delivery.
    *    gt_header_ctrl-no_lock = 'Y'.
        APPEND gt_header_ctrl.
        clear gt_tech_ctrl.
        refresh gt_tech_ctrl.
        gt_tech_ctrl-UPD_IND = 'X'.
        gt_tech_ctrl-DLV_TYPE = 'EL'.
        append gt_tech_ctrl.
        CLEAR gt_data.
        REFRESH gt_data.
        gt_data-deliv_numb = g_delivery.
        gt_data-deliv_item = g_del_item.
        gt_data-material = g_material.
        gt_data-dlv_qty = wa_lips-lfimg.
        gt_data-sales_unit = wa_lips-vrkme.
        gt_data-base_uom = wa_lips-meins.
        gt_data-dlv_qty_imunit = g_dlv_qty.
    *   gt_data-base_uom_iso =
    *    gt_data-
        APPEND gt_data.
        REFRESH gt_ctrl.
        gt_ctrl-deliv_numb = g_delivery.
        gt_ctrl-deliv_item = g_del_item.
    * gt_ctrl-del_item   = ' '.
        gt_ctrl-CHG_DELQTY = 'X'.
        APPEND gt_ctrl.
        CALL FUNCTION 'BAPI_INB_DELIVERY_CHANGE'
          EXPORTING
            HEADER_DATA                = gt_header_data
            HEADER_CONTROL             = gt_header_ctrl
            DELIVERY                   = g_delivery
            TECHN_CONTROL              = gt_tech_ctrl
          TABLES
    *   HEADER_PARTNER             =
    *   HEADER_PARTNER_ADDR        =
    *   HEADER_DEADLINES           =
           ITEM_DATA                  = gt_data
          ITEM_CONTROL               =  gt_ctrl
    *   ITEM_SERIAL_NO             =
    *   EXTENSION1                 =
    *   EXTENSION2                 =
            RETURN                     = return
    *   TOKENREFERENCE             =
    *   HANDLING_UNIT_HEADER       =
    *   HANDLING_UNIT_ITEM         =
    *   PARTIAL_GR_OBJECTS         =
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            WAIT = ' '.
    endloop.
    Thanks
    Shruti

    Please check the inbound delivery you are trying to delete is not having goods receipt status as 'completed' OR not having HANDLING UNITS assigned to it.
    In any of the above case, please reverse the goods receipt first, then unassign the handling units and then try to delete the inbound delivery. In my opinion, there should be no need to change the qty to 0 and just delete the inbound delivery should work.
    In case you still encounter an error, try deleting the delivery using VL32n and you should get a clear error/problem for your case.

  • Rounding for Quantity in Inbound delivery

    Hi all,
    Is it possible to round up/down the quantity in the Inbound delivery. If yes, please let me know the SPRO path / Enhacement to meet this requirement.
    thanks & regards
    Chaitanya Rayaprolu

    can you explain this requirement with an example?
    you can usually round required quantities e.g. requisition quantity and  PO quantity,  but not physical quantities

  • Inbound Delivery quantity tolerance does not work while receiving goodsLM01

    Hi Friends,
    Please help me in filding solution to the below issue.
    A PO created with 100 quantity having tolerance limit of 25 %. A corresponding inbound delivery document created
    against the PO for 110 quantity. Now user wants to receiving the actual quantity i.e 120. While receiving system throws an error
    "Maximum open quantity 110 can be packed". I provided a solution that the user need to change the delivery quantity from 110 to 120 and than do the GR using LM01. User does not agree to do it as the inbound delivery document created automatically through
    SNC system. User want to make it automation like the inbound delivery document tolerance % should work for the difference quantity between inbound delivery quantity and actual goods receipt quantity.
    Thanks in Advance. Any solution highly appreciated.
    Thanks
    Santosh

    LM01 is a dynamic screen which is easily configurable with simple logic and coding. I'm not sure whether any standard configuration to activate the message for LM01.
    But how it works for us. We've defined the messages for tolerance "Entered Quantity 1200 Plus previous received
    quantity 0 is greater than over delivery tolerance 3.0% " in message class. And system pulls all the messages related to LM01 from this message class. Check with your developer how your LM01 is customized. They can help you.

  • 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

  • Not able to delete inbound delivery.

    Hi Gurus,
    Please help me delete inbound delivery. I have a ticket where user is not able to delete inbound delivery. I tried to delete this delivery and I’m also getting the same errors that user is getting.
    I have tried to insert real screen shots from production system in this post to give a better understanding of the scenario.
    The situation is: PO was created for 2 line items for same material but different batch, for different quantities.
    For line item 1:
    1.      Two separate partial deliveries were received along with 1 delivery note each, for quantities 14,957.130 KG and 855.017 KG.
    2.      Goods issue was posted for both quantities.
    3.      Invoice receipt was done for both quantities.
    4.      Goods receipt was done for both quantities.
    5.      However, goods receipt was later reversed for quantity 14,957.130 KG.
    Screenshots Line item 1
    For line item 2:
    1.      One delivery was received for full quantity of 292.112 KG.
    2.      Goods issue was posted for same quantity.
    3.      Invoice receipt was posted for same quantity.
    4.      Goods receipt was posted for same quantity.
    5.      However, goods receipt was later reversed for full quantity.
    Inbound Delivery screens below:
    Error VL32N screen
    Message in VL09 when trying to reverse goods movement with reference to inbound delivery:
    Please tell me how can this inbound delivery be deleted?
    Points will be awarded for right help.
    Thank you for viewing.

    Hi
    BV Yadav:
    1. it's the business user who posted the invoice, and posted goods issue the was it appears in PO history.  i'm not sure how they did it.
    Kamlesh: I tried both, changing the document date and delivery date to current. i still got same error. still not able to delete inbound delivery.
    Tomas Figura: Puaway QTY is already 0. this field is blank, nothing in it. pic below:
    Note: someone has suggested to follow the process to reverse as many postings that have been done against the PO as possible and ultimately delete the PO, this will break all links between PO and inbound, outbound deliveries. and hence, there won't be a need to delete inbound delivery anymore.  then the business user can start the brand new process from scratch by creating a new PO, create a new outbound, inbound deliveries, and all. what do you guys think of it? Please comment.
    Thank you guys.

  • Purchase orders and their open order quantity with their due delivery date

    hi friends
    i need to build a query where i can see the purchase orders and their open order quantity and their respective due delivery dates.i have never done this.
    ME2M serves my requirement upto little but i cannot see the delivery dates in that report.
    please help mein finding the steps involved in building the query.
    Thanks
    Alahari

    Deliver date is available in table EKET field EINDT.
    Use table : EKKO ,EKPO, EKET.

  • How to search Open Inbound Delivery

    Hi Experts,
    How can I search inbound delivery for which the goods receipt is still pending ( open inbound delivery ).
    Thanks & Regards
    Shyam Kogta

    Hi,
    Thanks for your reply.
    VL06I gives complete list of Inbound Delivery. I want only open inbound delivery list ( where the MIGO-101 is still pending ). What selection parameter to be enter to be keyin to get desired results ?
    Please guide.
    Thanks
    Shyam Kogta

  • Inbound delivery putaway quantity update

    Dear experts
    It is regarding the putaway quantity update in inbound delivery with WM transfer order.
    I found the putaway quantity updated immediately once TO created.
    I have confusion that the putaway quantity should be updated once TO confirmed not created.
    Could you please let me know your  comment? thanks!
    Zhixian

    That is standard SAP behavior however at the time of PGR system check the whether delivery quantity is matching with putaway qty or not, if it match then only it allows to perform PGR
    also one more setting is helpful in this regard (this help to update the quantity in delivery)
    LE ----WM---Interface---Shipping ---Define Shipping Control at the Movement Type Level

  • Cann't change quantity in the Inbound delivery

    Hello buddies,
    I have a situation wherein the client  created inbound delivery, posted GR, then reversed 2 materals. After that he tried to reduse delivery quantity for those materials, but the error message "Picked quantity is larger than the quantity to be delivered" appeared. I checked the document flow: there are
    GR goods receipt doc
    WMS transfer order
    GR for PO reversal doc.
    Transfer order is confirmed and completed.
    What can I do in this case. Create new TO? Post GI?

    Hi,
    Select the item with status A, then go to menu>Environment>Document Flow, check whether picked TR or TO was created already? If yes, delete the TR or TO, then you can change the delivery quantity; if no, you could change the delivery quantity directly!
    Good luck
    Tao

  • Error when creating inbound delivery - insufficient quantity

    Hello all,
    after creating a purchasing scheduling agreement (ME31L), I want to create an inbound delivery (VL31N).
    But when saving the inbound delivery, I get the following error message:
    Insuff stk qty (       0.000) for line item000001
    The stock for the material on the scheduling agreement is empty. But why does it not let me do an inbound delivery?
    Thanks
    Anne

    In the config of  Define Internal Confirmation Categories 
    is
    2 shipping notification is assign to 10 or LA if it LA than it will allow you to create the inbound delivery
    The delivery is created in my system
    i got message
    Notified quantity exceeds quantity still to be notified 15.000- CS   Message no. ME160                                               
    but it is warning not error.

  • VL32N Change inbound delivery quantity after a partial goods receipt

    Dear.
    I have created an inbound delivery using VL31N from a purchase scheduling agreement.
    I have executed a partial goods receipts using MIGO for the inbound delivery.
    I need to reduce the delivery quantity for the inbound delivery using VL32N but the system donu2019t allow to change the delivery after a goods receipt.
    How can I proceed ?
    Thanks for your help.

    Hi,
    When a (partial) goods receipt has been posted to an inbound delivery item, the possibilities to change this item are restricted.
    If the delivery quantity is the same as the goods receipt quantity, then the item is fully posted goods receipt. No change of quantity is possible.
    If the delivery quantity is still higher than the goods receipt quantity, you can create one or several new TO's for the rest and
    confirm, if needed, with differences.
    You have also the chance to adjust the delivery quantity to the picked (and already posted) quantity with VL32N and menu:
    Edit => Copy Putaway Quantities as Delivery Quantities
    Please also have a look at note 796053.
    Hope this can help
    Regards
    Mauro

  • Inbound delivery quantity update with the confirm putaway quantity

    even if i set up the update indicator (1or 2) during a TO confirmation, the system do not update the inbound delivery with the quantity confirmed, especialy in case of difference.
    this option is possible during the TO creation, but not works with during the TO confirmation, could you help me?

    It works with the outbound delivery only.
    Though updating quantities in inb. delivery would be very useful for quantity difference handling.

Maybe you are looking for