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


SAP Error Message - Details

  • 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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CL072 - Class type &: & & cannot be deleted as it is in use in other objects ?
    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.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker