SAP Knowledge Base Article - Public

3838390 - Deletion of costing variant blocked with error FPC_CCV008 when attempting to reassign a new valuation variant — SAP S/4HANA Cloud Public Edition

Symptom

  • When attempting to delete an existing costing variant in the system, the system triggers the error message: "Costing Variant  is still in use and cannot be deleted (Message no. FPC_CCV008)".
  • The requirement is to assign a newly created valuation variant to an existing costing variant. According to standard behavior, the existing costing variant must be deleted and recreated with the new valuation variant.
  • The error occurs even after deleting all related cost estimates .

Environment

SAP S/4HANA Cloud Public Edition 

Reproducing the Issue

  1. In the system, open the configuration for costing variants.
  2. Attempt to delete the existing costing variant.
  3. Observe the message: "Costing Variant is still in use and cannot be deleted (Message no. FPC_CCV008)."

Cause

  • The deletion check detects that the costing variant is still referenced by at least one underlying object or configuration dependency.
  • The system validates usage across the complete landscape (including downstream test/production tenants), so references outside the onetenant can block deletion.

Resolution

Depending on your business requirements, choose one of the following options:

1.Option 1: Reorganize / Delete Data in Downstream Systems

  • Identify and delete all existing cost estimates associated with the costing variant across all relevant downstream systems (such as Quality/Test and Production).
  • Once all dependencies and references have been cleared across the landscape, delete the costing variant in the Customizing system.
  • Recreate the costing variant and assign the new valuation variant.

2.Option 2: Create a New Costing Variant (Recommended if historical data must be retained)

  • If existing cost estimates need to be retained for historical or reporting purposes, do not delete the old costing variant.
  • Create a new costing variant and assign the new valuation variant directly to it.
  • Transport the new costing variant through the landscape and use it for future costing processes.

See Also

Costing Variants

Keywords

FPC_CCV008, costing variant, valuation variant, still in use, cannot be deleted, delete costing variant, blocked deletion, product cost planning, reorganization app, manage costing runs, downstream systems, dependency check, consistency check, message no FPC_CCV008, SAP S/4HANA Cloud Public Edition , KBA , CO-PC-PCP-2CL , Product Cost Planning (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions