typeHierarchy
Resolve subclasses or superclasses of an ABAP class or interface. Specify className or interfaceName and optional superTypes to walk upwards; defaults to descendants.
Instructions
Subclasses or superclasses of a class or interface. Pass className or interfaceName and the declaration is located in the source here - the backend resolves a hierarchy from a cursor position rather than from a name, which is why url/body/line/offset are only the escape hatch. Defaults to descendants; set superTypes to walk upwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Escape hatch: object URL, used with body, line and offset instead of the lookup. | |
| body | No | Escape hatch: the source to resolve the position in. | |
| line | No | Escape hatch: 1-based line of the type name. | |
| name | No | Which type to point at, when the source holds more than one. Defaults to className/interfaceName. | |
| offset | No | Escape hatch: 0-based column of the type name. | |
| className | No | Class name, e.g. ZCL_APP_PCK_PLAN. | |
| superTypes | No | Walk upwards (superclasses, implemented interfaces) instead of downwards (default false). | |
| interfaceName | No | Interface name, e.g. ZIF_APP_C. | |
| objectSourceUrl | No | Source URL instead of a name, e.g. /sap/bc/adt/oo/classes/zcl_app/source/main. Pass name as well. |