The category of a class can only be changed if there are no sub classes

Message type: E = Error

Message class: OO_SOURCE_BASED - WB - Class Builder - Messages for the source-b. Class Editor

Message number: 013

Message text: The category of a class can only be changed if there are no sub classes



What causes this issue?

You tried to change the class category (standard class, exception class)
by changing the super class. The category of a class can only be changed
if there are no sub classes.


System Response

The system does not save changes made in the class to avoid
inconsistencies in the sub classes.


How to fix this error?

Set a super class that has the same category than your own class.


Procedure for System Administrators

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.