2008 Jan 23 1:28 PM
There are many function modules to read/update/create classes with SEO_CLASS*.
It is also possible to read the super class of a class. But i haven't found a function module that gives back a list if sub classes from a given class.
I debugged se80 and it looks they do a select in table vseoextend in function module WB_TREE_SELECT_CLASS.
subclass
SELECT clsname FROM vseoextend
INTO TABLE inheri_tab
WHERE refclsname = h_clsname.
SORT inheri_tab.
DELETE ADJACENT DUPLICATES FROM inheri_tab.
2008 Jan 23 1:44 PM
There are many function modules to read/update/create classes with SEO_CLASS*.
It is also possible to read the super class of a class. But i haven't found a function module that gives back a list if sub classes from a given class.
I debugged se80 and it looks they do a select in table vseoextend in function module WB_TREE_SELECT_CLASS.
subclass
SELECT clsname FROM vseoextend
INTO TABLE inheri_tab
WHERE refclsname = h_clsname.
SORT inheri_tab.
DELETE ADJACENT DUPLICATES FROM inheri_tab.
2008 Jan 23 1:44 PM
2008 Jan 23 2:13 PM
2008 Jan 24 5:05 AM
Hello Josef
Obviously SAP provides us with standard means to read classes and their relatives.
Since you have posted your question in the ABAP Objects forum my suggestion is to use class CL_OO_CLASS.
Create an instance of the class with your requested class name and call either of its methods:
- GET_SUBCLASSES
- GET_SUPERCLASS
Needless to say that there is the corresponding class CL_OO_INTERFACE for interfaces.
Regards
Uwe
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |