Message type: E = Error
Message class: CL - Classification
Message number: 140
Message text: Class & cannot be used in object dependencies
Class name &V1& contains at least one hyphen. If you use this class in
<DS:GLOS.object_dependencies>object dependencies</>, a syntax error will
occur.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
If you want to use the class in object dependencies, you need to change
the class name. For example, you could replace any hyphens ('-') with
underscore characters ('_'). If you want to refer to a class name
containing a hyphen in object dependencies, you have to use the special
key SKEY, and enter the class name in quote marks.
For example:
SKEY 'HEX-BOLTS'
Error message extract from SAP system. Copyright SAP SE.
CL140
- Class & cannot be used in object dependencies ?The SAP error message CL140 indicates that a class cannot be used in object dependencies. This typically occurs in the context of variant configuration, where classes are used to define characteristics and dependencies for configurable materials.
Cause: The error can arise due to several reasons: Class Not Defined Properly: The class you are trying to use may not be defined correctly in the system. Class Type: The class type may not be suitable for use in object dependencies. For example, only certain class types (like class type 300 for variant configuration) are allowed. Class Status: The class might be inactive or not released for use in the configuration. Dependencies Not Set Up: The dependencies or characteristics associated with the class may not be set up correctly. Authorization Issues: There may be authorization issues preventing access to the class.
Solution: To resolve the CL140 error, you can take the following steps: Check Class Definition: Go to transaction code CL02 (Change Class) and
Get instant SAP help. Sign up for our Free Essentials Plan.
CL139
Validity: change number & &, date &
What causes this issue? You have chosen the following validity for class maintenance or classification: Change number: &V1& &V2& Date...
CL138
Characteristic & is in use and cannot be deleted
What causes this issue? Characteristic &V1& is used in a material specification in quality management.System Response The system issues an e...
CL141
Change number ignored for class type &
What causes this issue? In the class type table, <DS:GLOS.engineering_change_management> engineering change management</> is not defined ...
CL142
Maximum number of keywords (98) exceeded
What causes this issue? You can only assign up to 98 catchwords to a class.System Response The system issues an error message and will not allow you...
Click on this link to search all SAP messages.