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.

Similar Messages

  • 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

  • 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

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

  • 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

  • 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

  • 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

  • Delete outbound delivery set status archived in document flow

    hello!
    when trying to cancel outbound delivery, the status of the document set to archived in the document flow.
    when trying to access the document i recieved message that the document was canceled.
    the status in the document flow should b canceld, instead of archived.
    I know that  its a bug in ECC6 , but i dont know how to fix it.
    Please help?
    Regards
    Yifat

    Hi,
    On initial screen system will not show status.and it is standard
    Rather select sales order and click on STATUS OVERVIEW at item level you can able to see status of P.O
    Purch. requisition -  Purch.req. available
    Purch.confirm.status - All schedLine confrm    confirmed
    Invoice recipt status - Complete invoice rpt     Posted
    Kapil

  • Delete Outbound Delivery

    Dear,
    I need to do a check on the transaction VL02N when I select the option to DELETE, but I'm not find a user exit for this consistency.
    Someone know a user-exit in this point to include my development?
    Thank you in advanced for your help.
    Mary Nuvoloni
    SD Consultant

    Hello,
    Try BADI LE_SHP_DELIVERY_PROC and method change_fcode_attributes..
    Mark as helpful.
    Regards
    Waza

  • Delete outbound delivery time

    Dear sir,
    i wanted to know how to know to delted obd time and when it was delted and by whom
    regards,
    debesh

    Hi,
    You can check it in T-code VL22.
    You can also use tables CHDHR and CDPOS.
    Hope it helps,
    Regards,
    MT
    Edited by: M T on Mar 28, 2010 4:20 PM

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

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

  • User Status Profile for Outbound Delivery in EWM

    Hi Gurus,
    I have the following scenario. We're working with invoice before goods issue. Invoice is created upon user request on transaction /scwm/fd on option "Request Invoice + Save".
    After the invoice Request is sent to ERP we need to block the possibility of deletion of the outbound delivery.
    Send the request to ERP changes system status DIN on outbound delivery header. We've created a custom status profile with just one status (code BS02).
    This status is set when standard "Request Invoice" is set. This works fine. On this custom status, we've marked the option for business transaction "Delete Document" as forbidden. This doesn't work. Even with our custom status active, its still possible to delete outbound delivery.
    The custom status is has the "Outbound Delivery" object type allowed and its assigned to standard "/SCDL/OUT_FD_STANDARD" profile.
    Anyone have any idea what could be the problem?
    Thanks in advace.
    Felipe Tripodi

    Hi Christian,
    Thanks for your reply.
    We've decided to implement badi "Validation for Actions" within delivery due to the lack of time to resolve the issue. This decision was based on note "1833378 - Prevent deletion of outbound delivery with invoice". This note gives you sample code for badi to check ERP billing status before deleting the document. We've adapted the code for our needs and it works great!
    After your reply, i spent a little more time on user status, and found an OSS note that guides you trough some configuration steps on tcode /BOPF/CONF_UI. After applying this setting for business object /SCDL/FDO, the user status also worked fine!
    Best Regards,
    Felipe Tripodi 

  • Problems with deleted outbound deilverys

    Hi all,
    I have the following problem with a deleted outbound delivery. The issue is that a sales order was created and a outbound delivery was assigned to this sale order, but somebody deleted the outbound delivery, unassigned the corresponding material and the shipping person assigned this outbound to another sale order believing that there were still plenty of material to cover both sales orders.
    The help needed here is how do I know which user deleted the outbound delivery is there a record for that??
    I'll appreciate your help a lot.
    Best Regards,
    Erik Espinosa

    Malice is seldom behind stuff like this, from my experiences.
    Prime candidate is human error (possibly with an attempt to fix it, which also includes hiding it...).
    => Send the sales folks a mail with the order number and description in it and ask them whether any of them know about it or are aware that an error might have been made. This gives them the opportunity to realize the implications of their mistake, or "own up" to it.
    Depending on how your system is integrated and how many "cowboy" developers you had / have around, faulty config and even naive user-exits cannot be completely excluded.
    => Hard to find (better to prevent), but doing a where-used-list on the related VK* tables to see whether any Z-programs turn up is a start.
    Either way, with the sales order number, you should be able to find the user context which performed these actions via the business change documents.
    => Take a look at the SCD* transactions, and the CD* tables.
    If it was a batch user at midnight... then see "Hard to find..." above.
    Cheers,
    Julius

  • 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

Maybe you are looking for

  • Problems of running java program by crontab in Linux

    I have a java application program which runs great when started in command line, or in shell script, or Perl. However, when it is started by crontab in Linux, it stops in the middle when images are to be generated. I guess there might be some setting

  • New 8 Core sort of weirdness

    So we just got a new 8 core Mac Pro for one of our animators and i am setting it up with software. The weird thing i just noticed is that the second drive we ordered is named, and this is straight out of the box, "NotQuiteMaxDisk". Anyone have any th

  • Fatal error: fail to load library dxva2.dll

    My PC has Windows XP Professional SP3 and I installed the latest version of Skype. Installation was OK but when I tried to open Skype, the error I've described in the topic's subject appears (the same as the image). How can I fix this problem? Attach

  • Getting ORA-01031 while connect target

    Hi, I'm trying to perform a rman duplictate. I've created the orapwd file and setted the remote_login_passwordfile parameter as "EXCLUSIVE". I also have configured the connection to the target database on the tnsnames.ora file I'm getting this error:

  • Multiple Purchase Requisition generate in the same date WHY ?

    Hi All, In MD04 Tcode for one Material No , I can see multiple PR getting generated for the same Date !! I would like to know based on what settings same date is appearing ?? and also please tell how to combine all this PR into one PR !!! Please guid