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.

Similar Messages

  • How to delete a line item from the sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi
    U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
    This is called short close ( as the qty is not delivered fully).
    Thx.

  • Deletion of Purchase Order from Version

    Hi,
    I want to delete a resource at a factory. I have deleted all planning data related to this resource from live version 000 and Copied version.
    When I try to delele resource from the model it gives a message " Res. F313_HAND_RESO, plng ver. ALT_TEST21 has assignments in liveCache - action not possible", which indicates that the resource is still being used in a Purchase Order (PchOrd) which exists in a copied version.
    If I use /sapapo/rlcdel to delete these PchOrd from version, message is displayed "No orders exist in LiveCache". I even tried to delete these PchOrd using transaction "/SAPAPO/SDORDER_DEL" (ATP: (SD) - Delete Orders from the Database), but even this program is unable to delete this PchOrd.
    Can one of you throw light as to how i can go about deleting this PchOrd from version?
    Thanks for your help in advance
    Regards
    Amod

    Try report /SAPAPO/DELETE_PP_ORDER giving the appropriate version and select checkbox Products Planned Externally.
    Please note if PO is in active version then this report can not delete it.
    In that case you need to deactivate the appripriate Integration Model, run delta Report which should propose delete of the PO in APO.
    Hope this helps,
    somnath

  • How to create multiple Purchase Order  using the same document number?

    HI Friends,
    I m in a product which extracts data from SAP and stored in Access database.
    For that,while i extracting Purchase Order from the Demo Database (SBODemo_US)for OEC Computers,the same DocNum is used for several Purchase Order using Index Line numbers.
    eg:
    DocNum for Purchase Order1 -->3000   0 (Index)
      DocNum for Purchase Order2 -->3000   1 (Index)
        But i can't create multiple Purchase Order using same DocNum manually in SAP B1,Could anybody please help me <b>to create a Purchase Order using same DocumentNumber?</b>
    Thanks in Advance
    SooriyaKala.P

    Hi,
    The problem statement is not quite clear to me.
    As far as I understand your statement, I think you want to club multiple orders into one purchase order using the index incrementally.
    For this I think once you have created the first purchase order, open the purchase order in edit mode the second time and append the new line items.
    If I am getting you wrong please explain the problem statement in more detail.
    Regards,
    Rara.

  • PI 7.1 How to delete a published service from the service registry?

    Hello,
    I have the same problem in the pi 7.1, like Rahul in CE (Composition Environment) with the deleting of published services.
    How to delete a published service from the service registry?
    In the WS navigator I found only this operation:
    deleteClassificationSystemValues and deleteClassificationSystem
    I miss the operation deleteService.
    Have you an idea?
    Bye
    Stefan

    Hi all,
    I have opened an oss message and now I have an answer:
    Use this Service: ServicesRegistrySiService and the operation deleteServices with the logical key of the service as parameter.
    The logical key can be seen from the SR UI in the details of the endpoints.
    Bye
    Stefan

  • How to create a purchase requisition from the EP

    1. How to create a purchase requisition from the EP & What are the pre-requiste?

    Hi,
    You need to create a SAP transaction iview for purchase requisition transaction and link it to the role and to the user to view purchase requisition transaction.
    First you need to create a system in portal to link to the R/3 system. For creating system check this link.
    http://help.sap.com/bp_epv260/EP_EN/documentation/EP/N03_BB_InstallGuide_EN_US.doc
    For linking portal with R/3 and view the Purchase requisition check this link
    Configuring EP for connecting to SAP R/3
    Regards
    Arun

  • Partner details are not getting captured to the purchase order from the ven

    Hi,
    Issue : ( ECC PO)
    Partner details are not getting captured to the purchase order from the vendor master.
    We found that the partners are not getting captured in ECC PO's automatically from the vendor master. We checked for all the config and everything seems to be o.k, but could not figure it out.
    Any suggestions are highly appreciated.
    Regards
    Sudhakar

    Hey Sudhakar,
    I believe what is happening here is that the ECC PO document type has not been assigned to the partner determination procedure.
    If this is working properly for standard POs, then,
    Go to Partner detrmination under Purchasing>  Partner Settings in Purchasing Documents> Assign Partner Schemas to Document Types.
    and enter teh appropriate document type and refer it to the procedure you have for NB Pos

  • How can delete my iphone5 data from the date its restored?

    how can delete my iphone5 data from the date its restored?

    it's unclear what you mean
    if you wish to remove your iphone5 data you connect it to iTunes on the computer and click the restore button and choose restore to factory defect

  • How can I print an order from the PCUI

    Hallo,
    have anybody an idea how I can print an order from the PC UI. The Print Button does'nt work.
    best regards
    Stephan Holzschuh

    I think SAP have changed the hardcoded PRINT event to BTX_PRINT event. Try to change this event in your blueprint table. (See 850647 oss note)

  • How to delete an old network from the list on the iPad?

    Anyone know how to delete an old network from the listing and then add a new one? I did it when I first got my iPad and cannot remember how I did it! Hey, I'm an Apple rookie but I am trying. Take care and thanks in advance for any help.

    Setting > General > Reset > Network Reset

  • How to delete 100+ released requests from the import queue?

    Hello
    How to delete 100+ released requests from the import queue?
    One by one or there is more convinient way?
    Thanks

    To delete multiple non-imported transport requests, you do the following while in the import queue on STMS:
    1) Highlight the status field of the import queue.
    2) Sort the import queue by the status.
    3) Put your cursor on the first non-imported transport, right-click, and click on Select Block.
    4) Scroll down and put your cursor on the last non-imported transport, right-click and click on Select Block. This will highlight all requests from the first one selection to the last one selected.
    5) Go to menu option Request > Delete.
    If all of the requests in the import queue haven't been imported (no imported, including failed import, requests), you can jump to Steps 3-5.

  • HT1689 How do you download purchased music from the newest version of Itunes to my iPhone?

    How do you download purchased music from the newest version of Itunes to my iPhone?

    Update the version of iTunes on your computer. If the computer's currently running 10.5.8 or 10.6.8, this may require upgrading its OS.
    (118077)

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • How to install Pro*C apart from the database?

    I would like to know how one could Pro*C apart from the database. Thanks.

    Just unzip all Instant Client zip files in the same directory, they all have "instantclient_11_2" as first path element,
    so everything will end up in the right place in this directory.
    If your Instant Client directory has a different name, unzip the package somewhere and move all files and
    directories in it to your instant client directory.
    Yours,
    Laurenz Albe

  • How to check my job name from the database...

    I have written one job scheduler which is as follows :
    SQL> ED
    Wrote file afiedt.buf
    1 DECLARE
    2 X NUMBER;
    3 JobNumber NUMBER;
    4 BEGIN
    5 SYS.DBMS_JOB.SUBMIT
    6 (
    7 job => X
    8 ,what => 'scott.SPLITSMS;'
    9 ,next_date => SYSDATE+1/1440
    10 ,interval => 'SYSDATE+1/1440 '
    11 ,no_parse => FALSE
    12 );
    13 JobNumber := to_char(X);
    14* END;
    15 /
    PL/SQL procedure successfully completed.
    Now I want to check whether the job has been really created or not?
    so for that I have used the following command line:
    SQL> SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS';
    SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    how to check my job name from the database...
    what is the command used to check the job_name ????
    and how can i ensure that my job scheduler is running properly...???
    please help ........my dear friends.....!

    957029 wrote:
    Now I want to check whether the job has been really created or not?
    so for that I have used the following command line:
    SQL> SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS';
    SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS'
    ERROR at line 1:
    ORA-00942: table or view does not existYou can use DBA_* views only if the User has been Granted a DBA Privilege.
    how to check my job name from the database...
    what is the command used to check the job_name ????You can use USER_JOBS view to check. But, is it not that you have just created the Job, so you must be knowing it?
    and how can i ensure that my job scheduler is running properly...???If USER_JOBS.FAILURES is Non Zero, that means the Job has encountered a problem that needs to be Investigated. Similarly, the LAST_DATE, LAST_SEC, NEXT_DAY, NEXT_SEC can be used to determine if the Job has been running successfully.
    if you are on 11g, you should consider using DBMS_SCHEDULER.

Maybe you are looking for