SAP Knowledge Base Article - Public

3491232 - How to delete versions of back office products

Symptom

  • If necessary to delete only some versions of the product synced from backend, how to delete only some versions of the product synced from backend?
  • This can also manifest as a configuration error where CPQ pulls an outdated product version with a mismatched Knowledge Base ID, while the effective version is not being recognized (e.g., error: "No knowledgebase profile for product [X] in knowledgebase with kbId [Y]").

Environment

SAP CPQ

Cause

  • It is not possible to directly delete a product version synced from the back office/backend via the CPQ UI.
  • However, invalid product versions — where the associated Knowledge Base (KB) no longer exists in S/4HANA or ERP — can be removed through the Delete Invalid Knowledge Bases tab on the Knowledge Base Diagnostics page.
  • If the KB still exists on the backend (even if it is mismatched or incorrect for a given product, e.g., due to a system refresh), it will not appear on the Delete Invalid Knowledge Bases tab, and self-service deletion is not possible in that case.

Resolution

Standard Self-Service Path

If the Knowledge Base associated with the product version no longer exists in S/4HANA or ERP, customers can delete it directly without contacting Support:

  1. Log in to SAP CPQ.

  2. Navigate to Setup → Developer Tools → Knowledge Base Diagnostics.

  3. Click on the "Delete Invalid Knowledge Bases" tab.

  4. Filter by KB ID or product name to locate the invalid entry.

  5. Select the entry and click Delete.

Note: It may take some time for CPS to detect that the KB has been deleted on the backend before it appears on this tab.

Before deleting the KB from CPQ, check "Usage Information" to see if the invalid product version is still referenced in open quotes or configurations. If so, those quotes must be deleted first (see bulk deletion steps below).

If the Product Version Cannot Be Found on the "Delete Invalid Knowledge Bases" Tab

If the KB still exists on the S/4HANA or ERP side (even if it is mismatched or incorrect for the product in CPQ), it will not appear on the Delete Invalid Knowledge Bases tab.

Please contact the SAP CPQ Support team by raising an incident. The Support/Engineering team will assess whether the KB IDs of the invalid product versions need to be changed to a non-existent value so they surface on the diagnostics page and can then be deleted.

Prerequisite: Deleting Quotes That Reference Invalid Product Versions

If the invalid product version is referenced in existing quotes, those quotes must be deleted before the product version can be removed. The recommended approach is Bulk Quote Deletion via the CPQ API or the bulk deletion UI:

  • UI: Setup → Quotes → Bulk Quote Deletion
  • API: Use the POST /api/quote/v1/bulkQuoteDelete/markQuotesForDeletion endpoint. After marking quotes for deletion, the daily deletion job will process them. Related configurations will be cleaned up by a subsequent daily job (allow 1–2 days).

Once all referencing quotes and configurations are deleted, return to the Delete Invalid Knowledge Bases tab to complete the KB deletion.

See Also

Keywords

CPQ, BOM, Product Version, delete, backoffice, synced, backend, Knowledge Base Diagnostics, Delete Invalid Knowledge Bases, KB ID, KB mismatch, knowledgebase profile, configuration error, system refresh, invalid product version, bulk quote deletion , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed

Product

SAP CPQ 2026