Delete an Inbound delivery

Hi all,
Could you please let me know any ABAP Function module for deleting an ID created in SAP R/3.
Regards
Murthy

Hi,
Check
delete serial numbers from inbound delivery
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/56a89d90-0201-0010-97a7-c5e8dbbb22e2

Similar Messages

  • How can I delete an Inbound Delivery with HUs and Confirmed TOs?

    Hello Guys,
    My client  has an Inbound delivery created from a PO line item. The goods receipt could be reversed through Vl09N so a 102 material document has been created. The problem now is that he wants to delete the ID (Vl32N) and it still has OTs confirmed with HUs created. Do you think it could be possible to delete this Inbound Delivery? Which would be the correct steps???
    Please ADVICE!

    Hi,
    Not possible to delete the IBD if it has material GR done and confirmed TO.
    \\ Shankar

  • Is there any program i can use to batch delete the inbound delivery ?

    Hello, everyone.
        Is there any program i can use to batch delete the inbound delivery ? Thanks.
    Xinzhou gao.

    Hi,
       VL66 is used for deleting temporary inbound deliveries that have been marked with the deletion flag in the database, the temporary deliveries should have the deletion flag selected in the database, but i want to delete the normal inbound delivery without deletion flag now, is there any  other solutions? Thanks.
    Xinzhou gao.

  • Unable to Delete the Inbound Delivery

    Hi Experts,
    We have made GR(101) against Inbound Delivery on 01/02/2008.
    On 24/02/2008, same GR(102) was reversed.
    When i tried to delete the inbound delivery, it is showing error as" Inbound Delivery cannot be deleted".
    Please help.

    Hello Shravan
    Have u checked the document flow for delivery/ Is there any thing pending for the delivery? Is it WM based plant? Please reverse any document created and then delete the delivery.
    2nd thing you need to check is when u made GR 101, where this stock goes? Unrestricted or Quality? You need to transfer the stock to 'Returns' with MB1B or MIGO with movement type 457 or 458 (plz chk) and then try reversing documents.
    Reward it if found useful
    Regards
    Amol

  • Deleting Open Inbound Delivery

    Hi All,
    I want to delete the Open Inbound Delivery.
    Is there a way to close this inbound delivery.
    Issue is  : Gr already done but not with VL32N but with MIGO so it remains open in system
    Regard
    Amey

    From an MRP standpoint, the inbound delvy is marked as 'closed' (provided the confirmation control configuration setting has this marked - this comes has default).
    Operationally, the inbound delivery is closed therefore has no implication. It is just the part of the 'status' and document flow of the inbound delvy that is not updated and as you may know already that this status/document flow is updated via VL32N receipt or 'shipping parameter at client level' configuration under shipping.
    If you just want to delete the IBD regardless then you have to reverse the receipt and make the deletion. But, I'm not sure why would you need to delete the IBD since you can now receipt via VL32N.

  • Handling unit preventing deletion of inbound delivery

    Hello,
    Our Decentralized WMS had a glitch in the system that left several
    idocs queued to create inbound deliveries. These deliveries have
    associated handling units which were placed from the outbound delivery
    to the inbound.  Before the inbound deliveries could be created via XI,
    users created manual inbound deliveries against the POs and PGRed.
    When the Decent WMS glitch was addressed, the IDOCs submitted were
    processed, creating inbounds with handling units that were completely
    packed.
    So our system contains 2 inbounds for a po.  We would like to delete the one with with the handling unit, but it's not that simple.
    To address this issue, it is necessary to remove the handling units,
    but this isn't possible.  We receive an error message, unable to change.
    I've attempted to PGR the delivery but this isn't possble either.
    the following error message is received.
    MSSA-SATRA exceeded by 2 EA : 10004063 AA26 0001 E
    How can these Handling units be deleted to allow the associated inbound
    deliveries to be deleted as well?
    Is there a program to modify the status of the handling unit?  I do not
    want to perform any table editing or goods movements unless there are
    no other alternatives

    applying note 1083602 which should resolve

  • Inbound delivery item deleted is not deleted from BI DSO?

    Hi All
      An Inbound deliver created and pushed to BI..
    Source PSA is FULL UPDATE and DTP is DELTA UPDATE
    Ex: 800000 10   10000
                        20  10000
    This is what pushed to ODS..Later next day,
    they deleted the to 800000 10 10000
    So PSA is refreshed with one item .
    800000 10 10000
    whereas DSO still shows as follows:
    800000 10 10000
                  20 10000
    I have following options:
      1. convert DTP to FULL update, so the data gets refreshed..
    2. ELse delete the only one record..
    But user sometimes need to delete the inbound delivery....based on item required..
    we cannot go and delete everytime for this issue..
    What are the best solutions that you experts can suggest.??

    HI...
    This is a known problem in ECC-BI.   Deliveries can only be deleted from ECC system but can not be cancelled. So the extractor is not able to provide a deleted image for the record. 
    Two solution can be there,
    1. Full Load of all BI target every day ---this solution is practical only when your data volume is less and full load does not take much time. But if your data volume is huge and flow is complex one then this is not the solution.
    2. Second solution is to identify which Delivery Doc - Item combination got deleted from ECC system and then you can just put a flag against those documents. 
    You can easily find which doc- item got deleted from CDPOS and CDHDR entry. In our project we created one DataSource based on InfoSet Query ( SQ02) on CDPOS ( item level) and CDHDR ( header level) and pulling all the documents which got deleted in ECC system. For all those Delivery-Item we put a deletion flag and restrict the query accordingly.
    in CDPOS following fields are important.
    a) CHNGIND: Change Type (U, I, S, D) u2013 This field shows whether the entry is deleted, updated or inserted. We are here interested in the value: D (Deleted).
    b) OBJECTCLAS: Object class u2013 This field is used to get the data related to Deliveries, Sales etc. For deliveries, value is LIEFERUNG; For Sales, value is VERKBELEG
    c)TABNAME: Table Name u2013 This field contains the table name from which the value is deleted. The tables for Deliveries are LIKP and LIPS. To get the item level data, keep the value as LIPS.
    d) TABKEY is 18 characters long field, in which first 3 numbers is the client number, next 10 shows the document number and next 5 shows the item number. E.g.: 750001099999900010, where 750 is client, 0010999999 is document number and 00010 is item number
    Also have a look at How to Guide below
    Link [CDPOS-CDHDR|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50dd3fb9-0dad-2d10-0ea7-cbb0bb8b391b?QuickLink=index&overridelayout=true]
    how to view deleted delivery
    Regards
    Anindya

  • Delete inbound delivery against PO after goods recipt

    Hi Gurus,
    I have a question regarding the link of Purchase Order and Inbound delivery status indicator.
    This is my scenario. I had created a purhase order with qty 10, I have received GR using MIGo for 4 qty.
    After one month I have created inbound delivery  for the reaining qty 6 against the same PO.
    When I am trying to delete this delivery document system throughing the error message "cannot delete inbound delivery as the status of the document is partially completed".
    why system linked the delivery document with previuos goods reciept?
    how can I delete the inbound delivery?
    please suggest
    Thanks.
    Sreeram

    Sreeram,
    From the PO, get the confirmation control key value from confirmation tab and go to SE16 on table T163G with this value. My guess is field WEREL for confirmation category LA has a value of "X". If this is the case, that explains the behavior as you described in your posting. When the inbound delivery is created, the program will update the quantity reduced field in the confirmation tab of PO by GR quantity (4 in your example). With this update, you can no longer delete the inbound delivery.
    So to delete the inbound delivery, you will need to cancel the GR. Once the GR is cancelled, you should be able to delete the inbound delivery. Once the inbound delivery is deleted, you can re-post the GR so you stock data can be restored to its original value.
    Revi

  • How to delete inbound delivery

    Hi guru's,
    How can I delete an inbound delivery, who's GRN is processed in migo, & who's sale has also been taken place, hence there is no stock in mmbe for that batch.
    but in vl06if list it is there, how to delete it, please its urgent
    thanks
    tuljasingh

    Hi
    As you said there is no stock for this material in that plant, so there is another options to transfer stock from any other plant to this plant using MB1B and movement type 301 Transfer posting plant to plant in one stepbThe quantity is transferred from unrestricted-use stock in the issuing plant to unrestricted-use stock in the receiving plant.
    And then do the said process
    Else only option is to reverse the sale for same
    Regards

  • Delete Inbound delivery

    HI ALL,
    I am use warehouse management & Handling unit. I want to delete the inbound delivery that the picking status is complete.
    How to do that ? could anyone tell me please ?
    Thanks & Best Regards,
    Saiful arif

    Hi Saiful,
    To delete the inbound delivery, you must firstly move the SU back to its original place. Once this is done, you can then un-assign the HU from the delivery and then you should be able to delete the delivery.
    Please try again with LT09.
    Kind Regards,
    Patrick

  • Error in Inbound delivery using 'BAPI_INB_DELIVERY_CHANGE'

    Hi,
    I want to delete Inbound delivery.i got the erro that document cant be deleted(VL-66), how to correct this
    I passed the belwo entry. let me know if i m missing anything.
    I tried with and withou item_data and item_control(as i have commented) but no use.
    i just want to delete the inbound delivery say evry thing be 0 so i was passing 0 as quantity
    wa_inb_head-deliv_numb = '0180036237'.
        wa_inb_ctrl-deliv_numb = '0180036237'.
         wa_inb_ctrl-dlv_del    = 'X'.
          wa_inb_delivery             = '0180036237'.
      wa_item_ctrl-DELIV_NUMB = '0180036237'.
      wa_item_ctrl-CHG_DELQTY = 'X'.
      append wa_item_ctrl to it_ctrl.
    *wa_data-DELIV_NUMB = '0180036237'.
           wa_data-DLV_QTY = '0'.
    *wa_data-DLV_QTY_IMUNIT = '0'.
    *append wa_data to it_data.
         CALL FUNCTION 'BAPI_INB_DELIVERY_CHANGE'
              EXPORTING
                HEADER_DATA                =  wa_inb_head
                HEADER_CONTROL             =  wa_inb_ctrl
                DELIVERY                   =  wa_inb_delivery
              TABLES
               item_data          = it_data
               item_control             = it_ctrl
               RETURN                     = it_bapiret2.

    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.

  • 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.

  • Service document in document flow of inbound delivery

    I need to delete an inbound delivery but system is not allowing me to do so .When I checked the document flow of inbound delivery,I found a service document is there, but I am not able to display teh service document,It says it does not exist,I even tried by ML81N.

    With the support pack in case if material is serialized for such plant you can post goods receipt only in VL32N which would happen only during 105 mvt type and you cannot post goods receipt using MIGO.

  • Issue while deleting Inbound delivery.

    Hello All,
    Here there is an issue while deleting Inbound delivery.
    GR ie 101 movement type is done for 1000 stocks.
    Later GR reversal ie 102 movement type is done for 200 stocks.
    So now in MD04 transaction inbound delivery is opened for 200 stocks.
    I am trying to delete Inbound delivery for 200 stocks but it doent allow.
    wht to do?please help

    I think you have used 102 and manully amend the qty.
    The inbound has 1000 qty, you reverse 200 qty. You should amend inbound delivery document qty to 800 and not delete it.
    Appreciate to revert is solution works for you.

  • BAPI/FM - Inbound Delivery - Delete Serial Number

    Greetings!
        I would like to ask if there's a BAPI that will change the Inbound Delivery wherein it will delete some serial numbers and can Post Goods Receipt. I found one BAPI which is BAPI_INB_DELIVERY_CHANGE and WS_DELIVERY_UPDATE but i cant delete the serial number.
       Thank You!

    Hi,
    check FMs:
    SERNR_ADD_TO_LS - Serial Number Management in Documents
    SERIAL_LISTE_POST_LS
    BAPI:  BAPI_INB_DELIVERY_CONFIRM_DEC

Maybe you are looking for