Need to delete / cancel delivery after picking

Hi,
   In case if delivery picked and PGI has not been done then i need to cancel the delivery. To delete / cancel the delivery i need to undo pickings. Could you suggest me the FM / BAPI to unpick the qtys and cancel the delivery.

Hi..
Refer the below thread...
Re: BAPI's for Delivery
Hope this helps...
Regards,
Chithra

Similar Messages

  • Why I can delete a delivery after picking was done?

    Hello,
    Someone knows if it is a bug or a feature that I can delete a delivery although it was already fully picked and the status is "C"?
    I am not sure since when I can delete a delivery even after picking was done, maybe it started after our upgrade to ECC 6.0 but
    Any way I need to change it and I am not sure if it is a bug or some customization cause it?
    Thank you
    Tomer Zimmerman

    Hi Tomer;
    This is a feature of SAP. We are on 4.7 and I tested the above scenario. The delivery gets deleted even if the picking is done. I have not tested using the confirmations.
    I think this is because there is no real impact in accounting or inventory terms. Because picking does not create any transactional dicoments.
    Pls reward if useful.
    Regards,
    Mani

  • Deletion of Delivery after confirm of Pick and WM TO, should not be allowe

    The system will allow a delivery to be deleted after confirmation of Picking and WM TO. This creates all kinds of issues in WM for tracebility. Is there any way to prevent this from happening through config in WM or SD?
    Edited by: Daryl Dellinger on Jan 30, 2008 3:51 PM

    Try OSS notes 567666 - stock inconsistencies after deletion of delivery items
    Regards
    Edited by: Shiva Ram on Jan 30, 2008 8:32 PM

  • Not able to delete a delivery after revenue recognition is reversed

    Hello Gurus,
    We have a situation for certain Sales Order types after creation of Sales Order -> Delivery and PGI, we do revenue recognition. But there was some mistake and delivery needed to be deleted and recreated if needed. So after doing revenue recognition reversal we are reversing the PGI. After this when we try to delete the  Delivery ( which would have got deleted if there was no revenue recognition process ) we get the below error.
    Is it a problem with the way Revenue recognition is configured or does the standard behave like this. If the Invoice is also present in the above I am able to cancel the Invoice. If you think its a problem with the way Revenue reccognition is configured please advise.
    Item 000010 cannot be deleted (revenue recognition status)
    Message no. VL896
    Diagnosis
    The delivery or delivery item cannot be deleted.
    System response
    The document cannot be deleted since the delivery contains items that
    reference sales document items that are relevant for revenue
    recognition. When the goods issue was posted, the system created revenue
    lines that had already been recognized. This means that there are
    subsequent documents in revenue recognition for this delivery.
    Procedure
    If you no longer require the delivery or delivery item for deletion, set
    the delivery quantities to zero and repost the goods issue. Make sure
    that the quantity zero is allowed in Customizing for the delivery item
    category. When the goods issue is posted, the overall processing status
    is set to C and the delivery can be archived. Message determination
    should be configured not to send any messages in this case. To make sure
    that the system makes revenue corrections if there are differences
    vbetween billed and recognized values, set a billing-relevant rejection
    reason in the sales document item if more than one partial delivery is
    allowed.
    If you still want to use the delivery, adjust the delivery quantities
    accordingly. Alternatively, deliver the referencing sales document item
    again. Note that the sales document item cannot be delivered again if
    only a partial delivery is allowed.
    What are the changes I can do to Delete the Delivery?
    If I cannot Delete the Delivery, Should I make the Delivery as 0 qty and create a new delivery with changed qty and do further process. Or should I reject the Sales Order and create a new sales order with exact qty and do further process.
    Please advise.
    Regards,
    SNK.
    Delivery has one line item. For the above case scenario, invoice is there for some deliveries and for some deliveries there is no invoice. Eg: SO -> DN -> PGI -> Rev Recog -> Iv or SO -> DN -> PGI -> Rev Recog. Requirement was SO was wrongly created as the qty was wrong or in some cases SO needs to be rejected. I am able to cancel Invoice. Rev recog is reversed. PGI is cancelled by VL09. Not able to delete Delivery and I get the above error. Ideally I thought since Rev recog is reversed, Delivery should have been deleted but not happening and above error comes.
    SO - Sales Order DN - Delivery IV - Invoice
    Edited by: sapconsultnt on Dec 16, 2009 5:06 AM

    Hello,
    Please review the Note 1224871 which introduced this functionality.
    Regards,
    Raghavendra YN

  • Cancel SO after pick release

    Dear Expert,
    I find out that it is not allowed to cancel SO with 'Pick Confirm/Staged' status. The Problem is: if I desire to cancel that SO, how is the work arround for this situation. And how can I return the stock from staging to original subinventory normally. Is subinventory transfer or move order the best solution?
    regards
    Indra Stp

    Hi Indra,
    The process you should follow is to backorder your order line(s). This will release the reservation(s) that pick confirm created against your staged stock.
    You can then cancel your order.
    The process would be the same if you needed to make an amendment to the order after pick confirm except that you wouldn't necessarily need to move your stock back to stores. In the case of an order cancellation, you're right that you should move back the stock. Whether you do this via a subinv transfer (far the easiest) or a requisition move order is your choice.
    Regards,
    Jon

  • Deleting OB Delivery after TO confirmed in Lean WM

    Hi Guru's
    I would like to know how one can delete the outbound delivery after Transfer Order is confirmed in Lean WM. As the material is not moved to interim storage type we cannot use LT0G to reverse the picking. What is the best approach in such cases?
    I have read few discussion on SCN related to deletion of outbound delivery but was not clear on the solution provided,hence created a new thread.
    Thanks
    Rahul

    have a look into KBA 1486490 - Delete a delivery note without eliminating the transfer order (WM)
    and OSS note 521409 - Problems with deleting delivery items online
    Having read those notes, it makes me think that setting VL173 as error message was done by some of your colleagues, as the standard allows deletion without any message. So you should consult with them to understand the reason why they did it and if they thought about such a deletion in their concept, or if they eventually have a different concept for deletion

  • Need to delete delivery fparitally invoiced line item

    WE have a scenario. We have a sales order with order qty 10 which were back orderd. The vendor sent 5, and the customer was shipped 5 and invoiced for 5. Then the rest of the 5 were received 2 weeks later, and now the customer does not want the rest 5, but delivery and PGI has been done for the 5 that were received today. The system does not allow us to delete the second delivery. We get a message stating " the original line item has been invoiced". Any suggestions on how we could delete this new delivery would really help.We cannot cancel the invoice. current setting is order related invoicing.
    PLEASE NOTE WE CANNOT CANCEL INVOICE.
    Any suggestions???

    Susan
    I am guessing you already tried Sai's suggestion  but were not able to delete the delivery after reversing the PGI with T code VL09. Is that the issue?
    If so, my suggestion would be to check the item cat definition for Billing relevance and Completion rule, Similarly the Copy control for billing document again the Pos/Neg. Quantity and Billing quantity fields. Somehow the config here is making the system believe with even partial billing that the item is completely referenced or something like that. Even if you fix the config, I am doubtful you can rectify the current situation without canceling the invoice.
    Whatever it  is,  please post the steps you have taken to resolve the issue. We are eager to learn from your experience. Thanks.

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

  • Is it possible to reterive the deleted Outbound Delivery details

    Hi
    I would like to know , Is it possible to reterive the deleted Outbound Delivery details like who deleted with  date and time.
    Can It possible to create Proforma invoice without Post Goods Issue (PGI) of Outbound Delivery.
    Can it possible to delete Outbound delivery after creation of its proforma and excise Invoice.

    Thanks sridhar,
    My prob is solved regarding deleted details.
    Can  we avoid , user can't delete the Outbound Delivery after creation of Proforma Invoice and Excise invoice. because OD is related to PRof and Excise inv.
    Actually In case of Sale Order's OD user cant delete OD's. but in case of STO it possible.
    Thanks and Regards,
    Tapovardhan

  • Update delivery and picking quantities thru DELVRY03

    Hi All,
    I have a requirement wher i need to update the delivery and picking quantities thru an inbound idoc. Iam using DELVRY03 and tested it using idoc test tool (WE19).
    i have found that the quantites are getting updated for increase of both the delivery and picked quantitties but failing in case of decreasing both the qtys when sending thru idoc.
    I have gone thru the following scenarios:-
    for example: when the Outbound delvry 0080000016 has
    1) del qty as 5.0 and picked qty as 5.0  , if i post an idoc by giving the qty's as 6 and 6 - delivery is updated by 6 and the qty's will become 11.
    2) when posted with same qty's again 6 and 6 on smae day then the delvry  doen't get updated.
    3) when idoc is posted with 4 and 4 next time, the delvry gets updated with the difference of (6~4) and displays 9 and 9 in repective fields.
    4) if i give 0 and 0 then the delivey has got the original value of qty's as 5.0 and 5.0.
    but in real time i want the quantities either increased or decreased which i send thru idoc to get updated. Also negetive values are not allowed. SO please suggest me how to do this.
    is there any standard function module for updating the delivery qty?
    or  else give me all the mandatory fields that are required to post the idoc correctly.
    Its urgent!!!! Immediate response is appreciated and rewarded.
    Regards,
    Soha
    Message was edited by:
            soha pathan
    Message was edited by:
            soha pathan

    Wrote an executable ABAP probram. Put WS_REVERSE_GOODS_ISSUE in it and run it thrght a SUBMIT in the method before changing Delivery. It is not very pretty but it solved the problem.

  • Delete (cancel) sales order with subsequent document - delivery

    Hello,
    The question I have is probably very simple, but still need an advice (or confirmation for described approach)
    To make it easier I will use names for SO (like S01,SO2...etc) and deliveries.
    Customer created 1 sales order (SO1) and from it Outbound delivery (OD1). This Outbound delivery (OD1) has 2 items:
    first item from another sales order(lets call it SO2)
    and second from SO1
    The delelivery quantities are as follows:
    Item one (for SO2) : 100 (its all pieces)
    item two (for S01): 0 (zero!)
    Delivery is done by external software and SAP system only receives confirmation that it was successfull (completed). The delivery OD1 is completed.
    Unfortunatelly customer created another Sales Order (SO3) for the same goods and created another outbound delivery (OD2) with delivered quantity equal to all ordered goods (not like for OD1, where we had zero).
    We have following situation:
    SO1 and SO3 are for the same goods, so SO1 has to be cancelled.
    SO2 is ok and has nothing to do with the problem.
    Cancellation of SO1 is not possible, because there is outbound delivery (but with delivered quantity 0). The only possibility I have in mind is to reject SO1 (and it gets status completed). This looks fine, but the problem is with the outbound delivery (OD1). I cannot remove second item (for S01) because the delivery status (overall) is "completed". The system says:
    "The goods movement status (partially or completely processed) does not allow the item to be deleted."
    For me its fine to leave the delivery as it is, becuase the delivered quantity is equal to zero.
    The are no other documents in the system (like invoice)
    What do you think?
    regards
    Rafal

    Hi,
    Thanks for quick reply.
    See: there  was goods issue, but in document flow it shows goods issue only for item 1. Remember that item 2 that I don't need (want to delete) has Actual quantity delivered (in sales units): 0. Only delivered quantity for item 1 is correct.
    For items:
    Goods movement status (GS) is "completed" for both items
    Billing status of delivery-related billing documents (BS) is A (not yet proccessed) for both items
    Overall status:
    Overall picking / putaway status - Completed
    Total goods movement status - Completed (and this is why I cannot remove item 2)
    Billing status : A (not yet proccessed)
    On the "document flow" screen I see the status for delivery " being proccessed. This is becuase of the missing billing, right?
    My question is like this: do I have to care about item 2 from the outbound delivery (after I rejected sales order connected to it), or do I have to delete it somehow. Although there is item on the list it has "delivery quantity" zero, so I don't think it will influence billing. Right?
    I don't want to delete whole delivery. Only solve issue with item 2, where delivered quantity is zero. I need just confirmation, that if I leave it with zero and cancell connected sales order, then this will be ok.
    Regards
    Rafal

  • 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

  • PGI error after delivery and picking completion

    Dear gurus,
    I have a problem as mentioned below
    For a meterial delivery and picking has been successfully completed.
    while go for PGI, " the 0 qty available for the material message is showing ".
    Please provide the solution to how to check and continue.
    Thanks in advance,
    R.Rajendran

    Hi,
    I think you should chek if there is stock.
    If there is stock qty then I assume that there is a conflict with other sales order that might have been entered before you have created the delivery.
    In this case it would be wrong to post goods on stock.
    the right way to manage this situation is to reschedule the already confirmed sales order and post your goods issue.
    TC needed : CO06 to cancel an exisiting scheduled order
    In order to have a complete overview of the order situation with the option to link in the Co06 you can also process the TC V_RA
    hope this will help however you should check your ATP settings
    regard susanne

  • I need to delete programs that have been duplicated after the software update has been done.  The computer won't delete them.  Anyone else having this problem and if so, how do I delete the old program after it's been updated.

    After upgrading software, it appears the old software isn't deleted.  My computer hard drive is almost full so I need to delete a ton off of my computer.  When checking the software that can be deleted I noticed I can the old software hasn't been deleted.  How can a person do this?  Any suggestions on how to quickly dump some programs.

    Sig is right — reclaiming space on your hard drive should be a matter of looking for the largest files you can delete, not starting with applications. I have 200+ applications on my hard drive, and altogether they occupy less than 14GB of space. Just a handful of them — Acrobat Pro, iPhoto, Aperture, Illustrator, Photoshop, InDesign and Adobe Media encoder — are larger than 500MB apiece, and if I disposed of all of those, I'd only get 5.6GB back. My Utilties folder contains 78 apps, and it only amounts to 1.1 GB.
    If you have any feature-length movies on your hard drive, those should be the first things you trash or move to an external drive.

  • Warning 'sales document is not yet complete' with BAPI_SALESORDER_CHANGE after deleting correspnding delivery

    Hi,
    I'm trying to change a sales order (add some positions) after deleting the corresponding delivery to it.
    But I get the warning "sales document is not yet complete: Edit Data", because of incomplete dates in schedule lines.
    The schedule lines are filled correctly.
    When I have a Sales Order without corresponding delivery, this Order could be changed successful with BAPI BAPI_SALESORDER_CHANGE.
    But if there is a Sales Order with corresponding Delivery (where I do delete the delivery first with BAPI BAPI_OUTB_DELIVERY_CHANGE ), than the BAPI for changing the Order gives a warning "sales document is not yet complete: Edit Data".
    This is confusing.
    Is there something I have to consider when changing a sales order after deleting its delivery?
    Coding:
    "1. delete delivery to sales order
    CLEAR ls_header_data.
       CLEAR ls_header_ctrl.
       ls_header_data-deliv_numb = iv_vbeln.
       ls_header_ctrl-deliv_numb = iv_vbeln.
       ls_header_ctrl-dlv_del    = abap_true. "set flag for deletion
    * call BAPI to delete delivery
       CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
         EXPORTING
           header_data    = ls_header_data
           header_control = ls_header_ctrl
           delivery       = iv_vbeln
         TABLES
           return         = et_msg.
    IF ...
    COMMIT WORK AND WAIT.
    ELSE.
    ENDIF.
    "2. change Sales order (adding new item positions)
    "add new/changed data
       LOOP AT IT_NEW_ITEMS ASSIGNING <ls_new_items>.
         CLEAR: ls_order_item_in,
                ls_order_item_inx,
                ls_schedule_line,
                ls_schedule_linex.
         add 10 to lv_posnr.
         ls_order_item_in-itm_number = lv_posnr. "posNr
         ls_order_item_in-material = <ls_new_items>-matnr. "material
         ls_order_item_in-target_qty = <ls_new_items>-menge.  "quantity
         ls_order_item_in-sales_unit = <ls_new_items>-MEINH. "sales unit
         APPEND ls_order_item_in TO lt_order_item_in.
         "fill order item check table
         ls_order_item_inx-itm_number = lv_posnr.
         ls_order_item_inx-updateflag = 'I'.
         ls_order_item_inx-material   = abap_true.
         ls_order_item_inx-target_qty = abap_true.
         ls_order_item_inx-sales_unit = abap_true.
         APPEND ls_order_item_inx TO lt_order_item_inx.
         "schedule lines
         ls_schedule_line-itm_number   = lv_posnr. "posnr
         ls_schedule_line-sched_line   = '1'.
         ls_schedule_line-req_qty      = ls_order_item_in-target_qty. "quantity
         ls_schedule_line-req_date      = lv_lfdate.               "schedule line date
         APPEND ls_schedule_line TO lt_schedule_line.
         "schedule lines check table
         ls_schedule_linex-itm_number   = lv_posnr. "posnr
         ls_schedule_linex-sched_line   = '1'.
         ls_schedule_linex-req_qty      = abap_true. "quantity
         ls_schedule_linex-req_date      = abap_true.               "schedule line date
         ls_schedule_linex-UPDATEFLAG  = 'I'.
         APPEND ls_schedule_linex TO lt_schedule_linex.
       ENDLOOP.
       "call bapi to add items to sales order
       CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
         EXPORTING
           SALESDOCUMENT    = iv_sales_order
           ORDER_HEADER_INX = ls_order_header_inx
         TABLES
           RETURN           = et_msg
           ORDER_ITEM_IN    = lt_order_item_in
           ORDER_ITEM_INX   = lt_order_item_inx
           SCHEDULE_LINES   = lt_schedule_line
           SCHEDULE_LINESX  = lt_schedule_linex.
    IF....
    COMMIT WORK AND WAIT.
    ELSE.
    ENDIF.

    The first thing I would try is to use fm BAPI_TRANSACTION_COMMIT (with parameter WAIT = 'X') instead of COMMIT WORK AND WAIT which is directly put in your code (this is almost the same but not exactly).
    Then make sure that if your code performs two BAPI calls one after the other, they are separated with either a call to fm BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK.
    Then - if the above is applied and still does not help - I would suspect that some invalid / incomplete data is passed to fm BAPI_SALESORDER_CHANGE.
    regards

Maybe you are looking for

  • Wrong path changes in Itunes XML file

    hi there, My Itunes library (9.0.2) is stored locally on my macbook, although actual files are on a network attached storage that I access through AFP. This share is mounted automatically when the mac starts. Everything was working perfectly fine unt

  • G3 iBook (Dual USB Icebook) display is toast

    I think my iBook is on it's last leg. Today I opened it up and the screen was black - the same way it would appear when off, but it wasn't off. I was able to restart the computer twice thinking that might clear out the issue - nope. Upon closer revie

  • How to execute a unix/dos command in Java

    Hi, I want to execute dos/unix commands in my java program. Can anyone tell me how to do this. Say I want to restart my httpd daemon using the command: "service httpd restart" or test my httpd.conf file using the command "testparn" thanks in advance

  • I get java.lang.ExceptionInInitializerError

    Here is the code: public class m2q8 { static int[] a; static { a[0]=2; } public static void main( String[] args) {}     }java.lang.ExceptionInInitializerError Caused by: java.lang.NullPointerException at m2q8.<clinit>(m2q8.java:3) Could not find the

  • Overhead key description issue

    Hi Team, I copied COGM Costing sheet and i added new OH keys with "Z" description as labour, machine hour, production cost etc.. i have give credits as E00, E01, E02 etc.. While define credit description as "Cr raw material, Cr raw material, Cr raw m