Categories: SAP CRM

How to Delete SAP CRM Product – Step by Step Guide

How to Delete SAP CRM Product ? – a step by step SAP Tutorials guide how to delete a SAP Customer Relationship Management Product .

Find the different steps to delete Product in CRM. In addition, if you want to go further, an easy guide to enhance/ customize the SAP standard tools to delete a SAP CRM Product based on additional criteria.?

Delete SAP CRM Product Step by step

Enable SAP CRM Product Deletion

As there is no authorization check for the SAP CRM Product Deletion Transaction code, you must enable this tcode directly using SE16.

Follow these steps to allow COM_PRODUCT_DELETE_SINGLE :

  1. Execute Transaction SE11 to display SAP DDIC
  2. Choose Database Table = COMC_PR_TOOL_REG. ?This table is for?Registration for Auxiliary/Correction/Reset Programs
  3. Click on Display Button to displace table content .
  4. Click on Utilities -> Table Contents -> Create Entries.
  5. Add a new entries with the following data:
    • Program Name = COM_PRODUCT_DELETE_SINGLE
    • User Name = “your SAP User”
    • Exec Date = Current Date.
  6. Click on Save Button
    • The Program COM_PRODUCT_DELETE_SINGLE is now registred for SAP CRM Producgt Deletion

Execute SAP CRM Product Deletion Report

One the above entry is added to the COMC_PR_TOOL_REG SAP Table, you can delete the SAP Customer Relationship Product.

Follow these simple Step to delete SAP CRM Product:

  1. Go to transaction SE38 for SAP ABAP Report Tcode.
  2. Enter the standard report COM_PRODUCT_DELETE_SINGLE.
  3. Click on Execute Button (F8) to run the previous report .
  4. Enter the following details of the products that you want to delete and then click on Execute Button.
    • Product ID =?“Put your Product Id”
    • Product Type = 01 ( for example 01 for Material type )?
    • Logical System = “Choose your Logical System … you can use the help search”
    • Product Family ( not mandatory )
    • Simulation – No Deletion = ‘Unchecked’ ( checked for testing)?

-> The Product is deleted !

Delete all SAP CRM Product

If your requirement is to delete all the products in SAP CRM ( Customer Relationship Management ), you should replace
COM_PRODUCT_DELETE_SINGLE by COM_PRODUCT_DELETE_ALL.

CAUTION: This will delete all CRM PRODUCT, So Make sure what are doing before running this report.

Related Post

Check also

How to run COM_PRODUCT_DELETE_ALL in Background

Delete SAP CRM Products may take a longtime to run. So you may consider to run the COMM_PRODUCT_DELETE_ALL in Background.

In order to perform that, you have to create a custom ABAP Report based on the standard one and remove the dialog ‘Confirmation PopUp’ Perform.

To read more on how Pop Ups are handled in ABAP, go to?ABAP PopUp: Types and Samples codes?,?Display Popup Window in WebDynpro Abap?and?Step by Step Guide how to Debug Popup Screen in SAP ABAP.

Here the step by step tutorial how to run COM_PRODUCT_DELETE_ALL in background:

  1. Copy the report COM_PRODUCT_DELETE_ALL into a Z report?e.g. ZOM_PRODUCT_DELETE_ALL.
  2. Change the Constant gc_program on Line 17 to ZOM_PRODUCT_DELETE_ALL.
  3. Comment the code ‘PERFORM confirmation_popup’ on line 85.
  4. Register the report ZOM_PRODUCT_DELETE_ALL in COMC_PR_TOOL_REG.
  5. Schedule the report ZOM_PRODUCT_DELETE_ALL to run in background.

Source: How to run report COM_PRODUCT_DELETE_ALL in the background

Enhancement for SAP CRM Product?Deletion

If you make a filter to delete only SAP CRM Products based on some specific criteria or based on some extra authorizations check.

Copy the standard delete SAP CRM Product Report COM_PRODUCT_DELETE*.

Replace in the first section, the COM_PRODUCT_DELETE* by your custom ABAP Report.

Source:?Sapuniversity

Share
Published by
John

Recent Posts

The Most Important SAP ISU Tables

SAP ISU Tables for Technical master data, for Billing Master Data, Billing and invoicing Tables?…

December 22, 2020

SAP Fiori 3 UX and Design of SAP Fiori Apps for SAP S/4HANA, SAP TechEd Lecture

SAP Fiori 3 UX and Design of SAP Fiori Apps for SAP S/4HANA, SAP TechEd…

November 18, 2020

The Main SAP Dunning Transaction Codes

Dunning is the business practice of informing a customer of past due payment. Dunning letters…

November 28, 2019

SAP Accounts Payable Tcodes & Accounts Receivable Tcodes ( SAP AP Tcodes & SAP AR Tcodes)

SAP AP Tcodes & SAP AR Tcodes: House Banks Tcodes, Advance Payments or Down Payments,…

August 1, 2019

The Most Important SAP Payment Terms Tables (ZTERM, Text…)

What are the main SAP Payment Terms Tables ? What are the related Tables in…

October 21, 2018

The most Important SAP Work Center Tables in SAP PP

Work center consists of master data related to routing of products. It contains data related…

October 21, 2018