Purchase Order deleted by mistake

Hi all,
We have a purchase order that was deleted by accident.  We we wanted to remove one of the line items and it set the whole purchse order for deletion.  Is there a way to undelete a purchase order?  Thanks all for your help and let me know if I need to clarify anything.
Regards,
Victor Lam

I am not sure how it initially happened.  I was able to recreate it in our test client.  I created a purchase order and deleted the line item.  I then ran program RM06EV47 to set the deletion flag for the PO.  We are trying to reverse it.  SAP Support recommended writing a program to reverse this, but we were looking for way to do it with out making a new program.

Similar Messages

  • Unmarking of Purchase Order deletion indicator

    Hi
    Purchase order deletion indicator was flaged for the line itme due to which not able to do the goods receipt
    Reset the deletion flag , still i am not able to do the GR
    It is giving the error message - PO has the deletion indication
    Could you please help on this
    Thanks
    Tanvi

    Hi
    In EKPO table deletion indicator is not there
    In EKKO table deletion indicator field has the value C
    How to unflag the deletion indicator at header level
    Error message is
    Purchase order 4511582854 has deletion indicator
    Message no. M7031
    Could you please suggest how to move further
    Thanks
    Tanvi

  • Purchase order delete item

    Hi expert,
    In a purchase order, do you know an user-exit to use for avoid to delete an item ?
    tks a lot,
    bye.

    I have to do it:
    When the user press delete button, in the purchase order - item - ,
    I have to check variable A.
    If A = X   --> avoid delete item
    else.
    delete item.
    endif.
    Via MM06E005 is possible ? How ?

  • Automatic purchase order deletion after SD order is deleted

    Hi forum,
    I managed to get the automatic purchase order creation to work. Now I have a few issues about it.
    - why is the workflow not deleted after the sd order is deleted?
    - why is the purchase requisition not deleted after the sd order is deleted?
    Thank you for help!
    Regards,
    Florian

    Hi
    If you delete the sd order, then automatically purchase requisition will get deleted.
    First you delete the sales order, and do the MRP Run - MD02 and view the requirement at MD04. Automatically requiement will get deleted.
    Reward if it helps
    Regards
    Prasanna R

  • Purchase order delete/accounting impact

    Hi,
    The Purchase order creted for the quantity of 10 and GR done for 10 qty and IR done for 10 Qty. The user was deleted the Purchase order.
    We advice the client that in standard sap if the PO qty,GR qty and IR qty matches you can able to delete the  PO.
    Now the cleint asking what are all the accounting impacts if the PO deleted and is there any SAP notes for this and how to stop this
    Please advice

    Hi,
    If GR is created and user is trying to delete PO and PR ,then sap can delete the same ,this is the standard functionality of SAP
    you need to make enhancement for the same.
    Use below Badi's and make the enhancement with the help of abapor ,set the error message.
    Purchase Order-ME_PROCESS_PO_CUST
    Purchase Requisition- ME_PROCESS_REQ_CUST
    Regards,
    Sandesh Sawant

  • Purchase Order Deletion

    Hi SAP Gurus,
    Plz tell me that How to delete the Purchase Order from MD04 Screen?
    Plz Reply,
    Mukesh.

    go to stock requirement list or otherwise MD04 screen CLCIK on magnifying button in front of purchas order and then u will get a prompt screen in this screen select the relevant option then u will be able to change the po or cancle it
    but why do u want to delete it because if still requirement will be there and if in case  requirement is not there then system is auto matically cancels the po after running the mrp

  • Bapi : Is there any BAPI to CANCEL / BLOCK a Purchase Order

    hello everybody,
    can anyone tell me if there is any BAPI to cancel or block a Purchase order.
    Note : blocking of purchase order is done on item level of the PO.
    Regards
    Swanand

    Hello,
    in BAPI_PO_CHANGE:
    Field DELETE_IND in structures POITEM and POITEMX.
    It's reference is to data-element ELOEK: Documentation to this:
    <i>Text
    Deletion indicator in purchasing document
    Definition
    Determines whether the item in the purchasing document is deleted or blocked.
    Use
    You can set the deletion indicator by choosing Edit -> Delete if:
    You want to cancel an item
    An item is closed and can be archived
    You can set the blocking indicator by selecting the item and then choosing Edit -> Block if you do not want to allow subsequent functions for the item. Note that you must manually remove the indicator as soon as subsequent functions are allowed again.
    Examples
    You have entered a purchase order item by mistake. You cancel it by setting the deletion indicator.
    A purchase order item has been delivered, invoiced, and paid for, and can now be archived. You can set the deletion indicator.</i>
    Regards Wolfgang

  • How to delete a purchase order from the database

    I thought that I was in development machine but I was wrong., I have created a purchase order that I would like to delete from the database.
    Thanks in advance.

    >
    Amarnath Reddy Gurappa wrote:
    > Hi ,
    >
    > I would suggest you to put the deletion mark and save the PO .
    >
    > IF you really want to delete the po in the database  then go to the table ekko and
    > ekpo and delete them ,but for this you should have access to se16n and
    > &sap_edit
    PLEASE, do not recommend such, because it is a wrong approach.
    a purchase order has certainly more entries than jsut in table EKKO, and EKPO.  you can check in DB15 how many tables belong to the object MM_EKKO. If you delete jsut entries from EKKO and EKPO, then you create inconsistencies.
    SE16N and &sap_edit, is not anymore possible having current patches installed. SAP revoked this option, because people like you spread this thru the internet and this is causing security issues.
    A phyiscal deletion should only be done via archiving, this is the standard process.
    If you entered something in error, then set the deletion indicator, everybody can do mistakes, but deleting it with irregular options from the database is certainly a much bigger error.

  • Delete item from Purchase Order

    Dear All,
    I want to cancel line item from Purchase Order.
    But  i am unable to do it as i have already made advance payment against PO/Item.
    Actually advance payment was against another Item of PO but by mistake selected wrong item while f-47.
    Now i want to delete item for which made avance payment and transfer advance payment with another PO item.
    How to do it.
    Regards
    Swati

    Hi,
    Your Issue
    Lets say, you have created two items in a PO, and made adv payment against item 10 instead of 20.
    Now you want to delete the item 10---
    Solution
    I hope you have not done any GRN to both items (10 & 20) of your PO.
    Then make your item 10 as same as your item 20. (Do change the material code, order qty, price etc)
    Then delete the item 20.
    So with this, you have made your errorised PO item as actual item, and deleting yout actual PO item as errorised item.
    This is as good as swaping the items from one item to another item in the same PO.
    This will resolve your issue.
    Thanks,
    Srinu

  • Budget exceeded error while deleting CAPEX Purchase order

    Hello All,
    We've created purchase order with WBS element for some materials & account assgn P. This however needs to now be deleted as there has been mistake in th PO.
    But while trying to delete the PO the system gives an error message " WBS element XXXX.XXX.. budget exceeded"
    I've tried deleting the PR first and then the PO which works fine, BUT we are not able to create another PO as the error of Budget exceeded is seen here as well.
    Please advice on how to delete the PO.
    Regards,
    ManojR

    Hi,
    Please read note 178837 which gives information on how to check the real assigned value.
    I would like you to run report ZKAOIDE0 from Note 100409 to remove
    the data which is not linked to a valid purchase order or requisition.
    After running the report then run transaction CJEN to reconstruct the
    project.  Then run report RKANBU01 after completing the reconstruction.
    The problem is probably that  a purchase order has the deletion indicator set but it still appears in table COOI.
    I hope this helps!.
    Best Regards,
    Arminda Jack

  • PURCHASE ORDER STATUS :When Deleting ALL ITEMS.

    Hi experts,
    I need  to make purchase order status stay  " Release Compleated " when deleting all items.
    Anyone Know How to do it?
    Or anyone Know how to use BAPI_PO_CHANGE in BAdI : ME_PROCESS_PO_CUST 
    In my project , I use Release Strategy of purchase orders, and there is a case of deleting all items.
    In this situation, purchase order status returns to "Active " and release strategy tab disappears.
    This is our problem.
    I need to make purchase order status stay  " Release Compleated " and prevent  release strategy tab disappearing.
    I tried to update the fields EREKZ(final invoice) and ELIKZ(delivery completed) in
    BAdI : ME_PROCESS_PO_CUST  Method : PROCESS_ITEM using BAPI_PO_CHANGE according to SAP Note 456691.
    But BAPI_PO_CHANGE couldn't update EREKZ because of our customize , and I couldn't find how to use
    BAPI_PO_CHANGE in the BAdI.
    Anyone know solutions to solve this problem?
    Thanks a lot.
    Regards,
    TKD

    Hi,
    please review the following information in SAP Note No. 456691 as
    copied below:
    18. Question:
    When are the header conditions updated if a purchase order item is
    deleted?
    Answer:
    If a purchase order item is deleted, the item is marked as 'statistical'
    (field EKPO-STAPO = X) and the change is reflected in the header
    conditions.
    However, if for the item the final invoice indicator(EKPO-EREKZ) or the
    inward delivery completed indicator (EKPO-ELIKZ) is set, the item is not
    marked as 'statistical' (EKPO-STAPO is not set) and thus the header
    conditions are not updated.
    I hope this helps you
    BR
    Nadia Orlandi

  • Report for Open purchase orders that contain deleted preqs

    Hi All,
    Is there a way to list purchase orders that may contain purchase reqs that have been deleted after PO creation?
    Cheers,
    Harry

    Hi,
    The PRs are being deleted by other persons, mainly the originator, and by closing off work orders that the PR would be associated with.
    The POs are still active, although quite old.   I am hastening all PO that are active against the vendors to ensure supply of the goods.
    I am seeing quite a large number of POs with deleted/closed PRs.  Thus indicating there is no longer a demand for the items on the po.
    If i could run a weekly report to show POs with deleted PRs. I could liaise with the originators to confirm their requirement before hastening against the vendor.
    Cheers,
    Harry

  • Delete button in process purchase order

    Hi All,
    I need some informaiton on the "Delete" button in process purchase order screen.
    Has it been enabled only for held POs? It is disabled in case of ordered POs. Can we enable it for ordered POs?
    Also, I put an ordered PO on hold and after that I could see the delete button enabled in PO. When I delete it, it is giving me the message "Your order was deleted". But still I could able to see the Po in the system.
    Is there a note or SAP help describing this? Plz help.
    Thanks,
    ss
    Edited by: SRM Stranger on Aug 25, 2009 11:27 AM

    Once the PO is published, you cannot delete it. If you have created a change version for the published PO, you can delete the change version but not already published PO.

  • Is there a way to view the information of a deleted Purchase Order?

    Hi SAP Experts,
    Is there a transaction or program that could help me retrieve the information of a deleted purchase order? (Header and LI) Please take into consideration that the document can no longer be retrieved in SAP thru the regular t/codes.
    Thank you,

    Try with t.code AUT10 -Audit trail using which you can see the change histories.
    Regards,

  • Output condition delete history in a Purchase order

    Hi,
    I would like to know how best we can find the history or change record of output delted in Purchase order.
    Here is the detailed scenario.
    I have created a PO and it populated he message conditon in the PO. I went into the PO using ME22n and deleted the output. This change is not captured in header and item changes. Is there a best way I can look at it.
    Thanks
    Srinivas

    hi,
    o/p types addition and deletion in the PO will not be reflected in the PO change log eithr at header at item level since these are not PO changes.
    You are adding the o/p type , but you can see the user and other details in the processing log / furthur data etc
    Once it is delated no log ,,,, but the table nast gives the user entried .etc.
    once it is processed , table entries gets developed.
    Regards,
    Sai.

Maybe you are looking for

  • Question to RME4.0.4 LMS 2.5

    Hi, i have a problem with the RME Archive Management. In the Archive Management is the Search Archive and her is my question. In the Search Archive it have Version ==> Latest and when i search the devices then the other version of the device ar also

  • Right Click Pop up Menu in internet Explorer

    i want to add my own options in the default context menu of the internet explorer which appear when we right clik the mouse. i want to show the customized right click pop up menu in my web application not just on my own machine by editing the registr

  • How to change VO query dynamically

    Hi, Iam trying to change the VO query dynamically. My req. is I have 6 columns in a header page 3 columns(default single column) for sorting purpose and another 3 columns(default single column) for data querying purpose. al these are in one view so I

  • How do I disable preparation for read out laid when I open files on the Mac Acrobat Pro DC

    I seem to remember this was a real problem in Windows? for earlier versions as I would sit and wait for Acrobat to do this meaningless chore as I never have files read to me.  But there was a software switch somewhere in the prefs.  I really can no l

  • How to get panel to display thumbnails sized to layer bounds instead of relative toentire document??

    There is an option for this, but it only partially works...and was wondering if there is something else I'm supposed to know about to make the feature work as described...? I can turn on the option to display thumbnails .. bit in only works for bitma