cancel
Showing results for 
Search instead for 
Did you mean: 

Delete all MM Transaction Data

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member213836
Active Participant
0 Kudos

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

Answers (3)

Answers (3)

JL23
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

We don't want to mark PO as deletion indicator... want to delete from system permanently...

former_member183424
Active Contributor
0 Kudos

Follow the process as discussed in this document

SAP archiving process-Simple steps

This a archiving process, its mean it will delete permanent from you SAP system.

Former Member
0 Kudos

Ok, then better follow the steps as mentioned in below wiki doc it will clear from system.

Archiving & Purchasing - ERP SCM - SCN Wiki

former_member183424
Active Contributor
0 Kudos

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.

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