Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix CL072 - Class type &: & & cannot be deleted as it is in use in other objects


CL072 - Overview

  • Message type: E = Error

  • Message class: CL - Classification

  • Message number: 072

  • Message text: Class type &: & & cannot be deleted as it is in use in other objects

  • Show details Hide details
  • What causes this issue?

    &V2& &V3& of class type &V1& is used in configurable objects (BOMs or
    task lists) of a <DS:GLOS.configurable_material>cofigurable material</>.

    System Response

    The system checks whether the class is in use anywhere, and does not
    let you delete the class if it is.

    How to fix this error?

    First delete all usages of &V2& in BOMs and task lists.
    Then delete &V2& &V3&.
    Where-used list for BOMs

    <DS:TRAN.CSC5>Proceed</>
    ENDIF

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


CL072 - Details

  • The SAP error message CL072 indicates that a class type (usually a class or interface) cannot be deleted because it is currently being used in other objects within the SAP system. This is a common issue when trying to delete or modify objects that have dependencies.
    
    Cause: Dependencies: The class or interface you are trying to delete is referenced in other objects, such as: Other classes or interfaces Programs Function modules Methods Web services Other development objects Active References: The class might be actively used in the system, meaning that there are instances or calls to this class that prevent its deletion.
    Solution: To resolve this error, you can follow these steps: Identify Dependencies: Use transaction code SE80 (Object Navigator) or SE11 (Data Dictionary) to check for references to the class. You can also use transaction SE37 (Function Builder) or SE24 (Class Builder) to find where the class is being used. Use the Where-Used List feature (Shift + F4) to find all objects that reference

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


CL072 - Related SAP Errors

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant