Outbound Delivery Deletion

Hi Experts,
I would like to know if someone knows a way to prevent the deletion of outbound deliveries.
I need to prevent the deletion in one of my business process.
Thanks in advance.
Best Regards,
Remi

Hi,
In report MV50AFZ1, with form userexit_delete_document you can avoid it if you set the filters.
Regards,
Eduardo

Similar Messages

  • Outbound delivery deletion with shipment cost settled.

    Dears
         I have one question about how to delete one outbound delivery which has one shipment document inside.
    Scenarios like:
         we do normal sales order -> outbound delivery -> Picking -> Loading -> PGI -> invoice. and also from outbound delivery to shipment document and shipment cost settled. that means everything is done.
       But next month, the customer said they do not need such goods, they want to return all and take money back. so we need to cancel billing , PGI , and warehouse transactions. as you know , the previous month already been closed. we could not cancel shipment cost settlement . actually, we do not need to cancel it because the shipment is done by 3rd party partner. we need pay the transportation cost.
    the problem, is when I use VL02n to delete outbound delivery item, it is not allowed because in document flow, there is one shipment document could not be deleted. but this outbound delivery status is OPEN, it always books some items which we will never delivery.
         is there one can help me about how to delete outbound delivery or how to close it to avoid stock booking ( ATP)?
    thanks
    jerry W.

    hello Jürgen L
    thanks for your answer. I fully agree with you. it is just our business user ( specially from warehouse) want to make process simple, so then use this way to cancel billing and PGI, then delete delivery lines. I will push them to use standard process .
    thanks again.
    best regards,
    jerry W.

  • Vl02n outbound delivery deletion check

    hi all,
    i need to create a checking when user going to delete a outbound delivery in VL02n, if there is any billing document status NE 'E' then program should issue error message and block the deletion.
    currently i am using badi LE_SHP_DELIVERY_PROC method DELIVERY_DELETION, but i get short dump DYNPRO_MSG_IN_HELP when program issue error message. After some research in this forum, i know that message 'E' or 'W' is not allowed in this badi, but is there any workaround can help me to achieve the requirement?
    If possible please provide me the sample code.
    thanks in advance
    Edited by: Mingo Lau on Jun 14, 2010 5:30 AM

    thanks both,
    i tried both method, both can solve my problem.
    but for SAVE_DOCUMENT_PREPARE, when issue message type E, it will close the transaction and back to /n screen which i am not sure my user will accept or not.
    for CHECK_ITEM_DELETION, use a bit more resources as it loop all delivery item but actually it can be done in once..
    anyway, let see which one is accepted by my user.
    thanks.

  • Error while deleting outbound delivery

    Hi experts,
    To brief about the issue,we are trying to delete outbound delivery created with reference to sales order which was created with wrong line items .We are trying to delete the outbound delivery document but the system is showing the error " Topfile KT-STB2000-C1WW line item 000020 has the following missing components :STB2000-C10007R".BOM is created for the same line item KT-STB2000-C1WW with subcomponets STB2000-C10007R and KT-14000-148R.suggest the solution for the same
    Thanks & Regards
    subhash

    Hi Reazuddin,
    We are concerned only with deleting the OBD.Earlier there was a mismatch between material BOM and OBD sub-componets.The wrong sub-componets were taken from sales order.Later on we realized that we dont want these componets (it was mistake) in OBD since BOM has different components.Later on we realized our mistake and we have sychronized BOM components,Sales order components and OBD components and tried to delete the OBD,but the system gives error as explained in above query.The message number that we received is "ZW024".
    Thanks & Regards
    Subhash

  • Delete assignment of HU from outbound delivery (VL02N) not working

    Hi All
    I have searched many threads to find the solution to be above problem but none of them was working for me, so posting the query again.
    I hava a dummy pick HU that I create for some purpose, finally i want to delete the assignment of the HU in the outbound delivery.(not to delete the HU completely). For me, the assignment of the HU vanishes from outbound delivery with 3 FM's. 'HU_GET_HUS' , 'V51P_DELETE_RELATIONSHIP' and 'HU_POST'.
    The problem is, when i PGI the delivery, the HU appears again in VL03N. I am not able to understand this strange behavior.
    I have tried all FM's like bapi_hu_delete etc, but they delete teh HU completely which is not my req. I heard abt this FM BAPI_HU_DELETE_FROM_DEL, but am workng in Ecc 5.0 and the FM doesnt exist.
    Pls help
    Thanks

    Hemanth,
    I recall that we used to update the HU status as well when we dissociated HU from delivery,  though can't remember the reason now.
    Pls check the VEKP-STATUS for HU after you have done with these 3 FM calls, I believe you have to update the status to 'BLANK' with the help of some FM, try it first if it works for you by direct updating it in table in Dev.
    BR,
    Diwakar

  • Change of Sales order info without deletion of Outbound Delivery Order

    Hi Experts
    Background :  Although Invoice has been created and issued , Customer request SD user to divide the invoice into two invoices.
    or change the amount or quantity with same order No.
    AS IS  : 1 . Cancel invoice -> Reverse PGI -> Delete Outbound Delivery -> Change Sales Order -> Create New Outbound Delivery -> PGI ->
    Invoice
    Please let us know how to change sales order info ( cases : seperate 1 item with two items , change ship-to-Customer ,,,,,,,
    Further Explanation on this : After the invoice has been issued, If the customer wants to change the quantity 10, into two line items and One line item with 5 quantity another line item into another 5 quantity , wnats to have two seperate Invoices for this
    Is it possible to have?
    And some times the user wants to change the Ship to party after the Invoice has been issued, Is it possible to change ?
    Pls help me on this
    Thanks In advance

    Further Explanation on this : After the invoice has been issued, If the customer wants to change the quantity 10, into two line items and One line item with 5 quantity another line item into another 5 quantity , wnats to have two seperate Invoices for this
    Then, you have to first change the same in SO. to do so, you have to reverse all the process to reach SO & amend as required.
    Parila quantity billing is another way to have 2 seperate invoices.
    Is it possible to have?
    And some times the user wants to change the Ship to party after the Invoice has been issued, Is it possible to change ?
    This is doesnt seems logical or Business need. Once goods are alredy sent to respective partner. I dont think business asks you to change the Party name that too Invoice is already made. Is it your assumption or business requirement?
    if its really a business requirement, instead of thinking about the solution, suggest you to educate the Business. Is there any such practical scenario happens in the Market. I dont think so.

  • In VL02N, getting runtime error "dynpro_msg_in_help" when deleting outbound delivery in production

    Hello SD members,
    I have an issue in which while executing VL02N and trying to delete the outbound delivery getting runtime error "dynpro_msg_in_help" in production system.
    Kindly suggest how to solve this...
    Regards
    Venkat

    Hi Venkata Pradeep,
    Can you please proivde more details about an error to understand the issue.
    Regards,
    Pravin

  • Delete or change outbound delivery distributed to EWM.

    Hi gurus,
    I create an outbound delivery in ERP and it is sent to EWM, EWM activates it automaticaly. Then I decide to cancel (delete) the outbound delivery. Altough the status of oubound delivery order is "not started", when i try to change it using VL02N system does not allow to change it. Posts an error message " The delivery was distributed, meaning that processing occurs in another system. The report back has not yet been received.".
    What do you advice me to do.
    Regards.

    Hi,
    Please perform following steps
    Use process Code – “With Quantity Adjustment”. à O001 à  Enter – Quantity. (- Quantity)
    It will adjust the quantity back to Zero.
    Click on  " Outbound Delivery" icon at item level.
    It will create an outbound delivery in EWM and will close/update the Quantity and status in ECC.
    We can create a new delivery against original Sales order again in ECC and will be distributed to EWM.
    You need to click on that button  ( Outbound Delivery) to send a message to ERP. This is a PPF action, start condition is outbound delivery creation. This only happens when you click this button while delivery item has zero qty or post goods issue.
    Saby

  • 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

  • Trigger TPSDLS01 IDoc to external TPS when outbound delivery is deleted

    Hi,
    We are currently trying to find a solution how to trigger a TPSDLS01 IDoc to external TPS when the outbound delivery is deleted.
    In the following SAP article: Logical Communication Processes Between the SAP System and the T - Supply Chain Planning Interfaces (LO-SCI) - SAP Libra… it is said that "...If a delivery is deleted in the SAP system, this deletion command is transferred automatically to all transportation planning systems...". and we're trying to understand how it actually should be configured?
    Any advice would be much appreciated.
    Thanks!

    Hi,
    I know this is quite old now....but, did you ever find an answer to this problem?
    SR

  • Generating outbound idoc  - During Oubound delivery deletion using VL02(N).

    Hi All,
    There is a requirement for me to send an outbound idoc from SAP System, when a outbound delivery is deleted in SAP system using transaction VL02N. The functionality is to achieve the same using message control/output control.
    When an item of the delivery is deleted then the idoc is getting generated correctly.
    But when the outbound delivery itself is being deleted no idoc is getting generated in fact the output determination itself is not taking place.
    Could anyone please give me some inputs on this.

    Hi,
    Could anyone please reply to my query. Points will be definitely awarded. Thanks in advance.
    Goutham.

  • Deleted outbound delivery doc displayed in document flow

    Hello,
    Deleted outbound delivery document is still displayed in document flow and its status is 'Archived'
    I don't know why deleted document  is seen and moreover I haven't ever seen such a status in document flow. For your reference, the delivery document is displayed in only VF02 or VF03 with its billing document, which is also cancelled. One more thing, its sales order is also deleted.
    Thanks for your kind response in advance.

    Hi,
    This is happening because invoice can only be cancelled and not deleted. While sales order and delivery can be deleted. So if you check the document flow of the cancelled invoice it will show the delivery number but with status as archived. If you try to display such documents you will get an error message 'Delivery xxx does not exist'.
    If you delete a sales order and delivery which does not have an invoice this will not happen.
    Regards,
    Sajith.

  • Delete outbound delivery in 4.6c

    Hi,
    I need a function module or BAPI to delete an outbound delivery(VL02N).
    I came to know about BAPI BAPI_OUTB_DELIVERY_CHANGE from forums,but this is not available in 4.6c.
    I saw another BAPI in 4.6c BAPI_OUTB_DELIVERY_CONFIRM_DEC which has deletion flag but when I tried this it says "delivery cannot be deleted".
    Any idea if there are any another function modules in 4.6c which can do the same.
    Thanks in advance,
    Ramesh

    No longer needed. Identified the root cause of this issue and it is addressed now.

  • Deleting Outbound Delivery

    Dear Guru's
    I have created sales order contains only 1 item and then create its delivery with ref to sales order.
    but mistakenly my user has deleted that line item, now delivery is exist without any item. Manual entery
    is not allowed at delivery. When i try to click on delete button on top, system is giving message that Outbound
    delivery no........ has been changed. so the document flow still contain delivery as a status open.
    I want to delete that delivery to create new one against the same order.
    Can any 1 tell me is there any programe through which i can flag it or delete it or remove its assigment from sales order???
    Regards,
    Rashid Masood

    thanks for ur reply,
    i think u did not understand my delivery is alreay empty there is no line item exist. Problem is not with the stock.
    Problem is i m not able to delete that delivery nor i am able to add line item because manual addition is not allowed.
    When i check sales order document flow that empty delivery is attached with sales order now i want to remove or delete delivery so that i can create new one.
    Regards,
    Rashid Masood

  • Document Flow for deleted |outbound delivery

    Hi All,
    I am facing with a very urgent issue. I hope somebody will be able to help.
    Scenario:
    I have a sales order. I have created outbound delivery with no picking and PGI done. By mistake one of the end user have deleted the outbound delivery. Now i want to find the sales order number of the deleted delivery. I have the deleted outbound delivery number.
    Is there any way, I can look at the document flow or data in any table regarding this deleted delivery number?
    This is an urgent issue. Please help

    Hi
    Once the delivery is deleted the references you are looking for a cleared
    (LIPS-VGBEL, VGPOS) go with the deletion and the document flow link in VBFA
    is also deleted. As mentioned the record of the deletion and what happened to the delivery
    should still be available in VL22 as mentioned.
    When a sales document is relevant for delivery it is written to table VEPVG.
    So when you deleted the delivery the entry for the affected sales order would have been
    restored to the delivery due index. You will find it in there but no where else now at this
    stage.
    I hope this helps
    Kind regards
    Brian

Maybe you are looking for

  • How to achieve smaller file size in iMovie after cutting or cropping

    iMovie saves unused material, so that even if I remove (crop or cut) unwanted footage, I am left with the same large file size for the project. The same seems to be true if I split a clip, and delete the unwanted portion and empty the trash. I have s

  • Golive crashes on opening website

    I have been using golive 6 on my machine for two years now and just recently it started acting up. I have windows vista basic, and plenty of ram. Now what happened yesterday is that it was crashing when i would try to open particular pages but it got

  • How to create DB Link??

    How to create a database link? Is it possible to create database link between oracle 7.0 and oracle 9i versions? Please can anybody help.

  • There is error 'No such file or directory' during loading custom authentica

    Hi, I am working on OBIEE authentication using Hyperion shared services. I did the necessary changes in config file, like modifying config.xml to enable HSSauthenticator and enabling external authentication to instanceconfig.xml. However BI Server is

  • Do not update IPOD Touch Software!!!!!!!!

    I have used the software updat and has mucked my IPOD up, the first time I did it, it failed saying 'The ipod "DavesIpod" could not be updated. An unknown error occurred (1602) So I had to do a restore & update, this did not help It fails everytime I