Skip to Content
Author's profile photo Senthil Kumar

Deletion of duplicate products from the SAP CRM / web UI :-

Problem :

There might be a scenario when an end user searches for product and found 2 similar records under result list

SAP CRM.png

SAP CRM Web client UI view :

SAP CRM1.png


We need to use 2 programs in order to delete the duplicate products from SAP CRM database.


Solution :

COMC_PR_TOOL_REG :

In this program we will maintain user name and program name details.some times due to client copy same products will be available twice need to take call and delete appropriate one.

SAP CRM2.png

COM_PRODUCT_DELETE_SINGLE :

In this program we specify the product,product type,logical system  needs to deleted

SAP CRM3.png


SAP CRM WEB UI :


Cross check if only a single product is visible under result list

SAP CRM5.png

Please let me know if you have any other points to be added on top of this piece of work,Thank you!

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Athreya Ramakrishna Hegde
      Athreya Ramakrishna Hegde

      Hi SKumar,

      Just a point to be added here. The ABAP programs COM_PRODUCT_DELETE_SINGLE and COM_PRODUCT_DELETE_ALL can only be executed in non-production environment. There is authority check in these programs to check if the current system is a production system or not.

      So, if its production environment, better option is to go for archive and delete using archive object PRODUCT_MD.

      Regards,

      ~Athreya

      Author's profile photo Senthil Kumar
      Senthil Kumar
      Blog Post Author

      Hi Athreya,

      Have noted this point and implement the same when it comes to production client.

      Thank you so much!!!

      Regards,

      Senthil.

      Author's profile photo Bernadette Fredericks
      Bernadette Fredericks

      Hi Senthil

      Please refer to the following note which will help to archive your products.

      768918 - How to archive products in product master.

      Regards

      Bernadette

      Author's profile photo Senthil Kumar
      Senthil Kumar
      Blog Post Author

      Hi Bernadette,

      Thank you,sure will save this for future reference.

      Regards,

      Senthil.