Skip to Content

Delete all MM Transaction Data

Dear all,

Is there any way to delete all Transaction data i.e. PO's, PR's, invoices all...

OBR1 is used for only FI transaction data deletion...we want to delete MM Transaction data...

Please guide..

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Jan 03, 2014 at 11:34 PM

    Hi,

    There is no straightforward answer for this. However you can do the following:

    1. Try to find out why you would like to delete the Transactional data and not mark them for deletion, especially in Production system.

    2. If you still need to delete then take backup of all the documents, find the relevant archiving objects and get in touch with your Archiving team for deletion

    3. Once archiving is done check whether all the transactions are deleted

    Please note that there should be no open orders in the system. Ensure that you mark all the documents with deletion indicator and get confirmation from business users before proceeding with archiving.

    I would suggest not to delete/archive orders that are already fulfilled. Companies will have designated time for archiving of such documents. You can check the regular archiving job/or with archiving team about the current archiving period for closed documents.

    Regards,

    Niranjan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 02, 2014 at 06:37 AM

    Hi, you very well delete all the purchasing data , but before that you should know whether any open

    orders are pending (PO'S,PR'S,SA'S,Contracts Invoices,SES).

    If Open you need to close them first and then try to mark for deletion.

    Material master deletion flag : MM06 or MM17-Mass deletion

    Vendor master deletion flag :XK06 or XK99-Mass deletion

    Info-record deletion flag: ME15 or MEMASSIN mass deletion

    Purchase requisition mass deletion flag"MEMASSRQ

    Contract mass deletion : MEMASSCONTRACT

    Scheduling agremment mass deletion :MEMASSSA

    Purchase order mass deletion :MEMASSPO

    For archiving process refer below link it may help you.

    Archiving & Purchasing - ERP SCM - SCN Wiki

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 02, 2014 at 05:48 AM

    Yes you can also delete the all purchasing document and as well as material document.

    Its needs a criteria to be fulfilled.

    Then you can archive this from t-code SARA.

    Please read the criteria from below this document

    Archiving Checks for Purchasing Documents - ERP SCM - SCN Wiki

    A best steps is already explained in this document.

    Please go through the document.

    SAP archiving process-Simple steps

    Message was edited by: Dëv Päträ

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 02, 2014 at 08:47 AM

    Such process exist only in test environments.

    you should read the documentation which is in front of this IMG step.

    In Logistics is something similar to delete all material masters, but there is nothing to delete the transaction data. These transactions are used to support data migration, to allow you to migrate the data more than once. It is not meant to be used to get a clean new test environment.

    For this you should talk with your Basis team, they have usually knowledge about client copies and TDMS tools to copy master data only.

    we had a similar discussion earlier

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Please note Purchase order is legal document and should not be deleted by any way (using program or So). For the same reason SAP does not provide delete option (like sales order and delivery )but you can only mark for deletion. Only way out is that you could do archive documents.

      Best Regards

      Sunil Wawdhane