CRM and CX Blogs by SAP
Stay up-to-date on the latest developments and product news about intelligent customer experience and CRM technologies through blog posts from SAP experts.
cancel
Showing results for 
Search instead for 
Did you mean: 
itacurran
Explorer
4,400

In SAP CRM a report is available to delete products from the system called COM_PRODUCT_DELETE_SINGLE (also COM_PRODUCT_DELETE_ALL).

This report however cannot be run on a production system and it contains code to check and prohibit this. The reason for this is because SAP do not recommend deleting master data from a production system.

However it can happen that for whatever reason, it is necessary to remove a product or products from a production system. The best and recommended
way to do this is to archive the product in question.


This document provides a detailed step by step description of the steps required in order to achieve this. It is something I have been asked to provide in the past and thought it was a good idea to share in general.

The following are the steps required


1. Mark the product you wish to archive. The easiest way to do this is to use transaction COMMPR01.

If you wish to mark more than one product as 'to be archived' then create the report ZCHANGE_PRODUCT_STAT.

Please see SAP note 768918 for more information on this. Once created, run the report in your system by providing the desired product ID’s.

You can also do so in the WebUI as follows:


In New Status dropdown, choose 'To archive'

2. Next run transaction SARA with Archiving object = PRODUCT_MD. Hit Enter and you will see the following steps:

3. Preproc -> Click on this button create your own variant and include the product ID(s) to be archived. Note that these product ids are the ones marked ‘to be archived’ as mentioned in step 1.

Next click on the 'Start date' and select 'Immediate' and Save. Now click on 'Spool Params' and select an output device (this is something you must decide or your basis team can help. This parameter will output the archived product in a flat file)

After this hit the Execute button to execute the preproc step.

4. You will again be taken to the main SARA screen. Now click Write button. Maintain 'Start Date' and 'Spool Params' as above, then execute the Write step by hitting the Execute button again

5. Again in the main screen, click the 'Delete' button. In the archive selection button, a pop up will be thrown up. Select the recent file which has been created (it will be mostly with the current date). This file is the one which was created earlier.

6. From the main screen, Execute the 'Delete' step in the same way as described above using the Execute button.

7. Again in the main screen, click 'PostProc' button. Execute the 'PostProc' step by hitting the execute button. Once this step has completed, the product will be archived

At any time during the process, you can check what has happened at each step by clicking on the Job icon. Here you will see the details as follows:

Please also refer to SAP Note 768918

10 Comments