SAPNavigate
Navigate SAP ABAP code to find definitions, references, and class hierarchy, and get code completion for development tasks.
Instructions
Navigate code: find definitions, references (where-used), code completion, and class hierarchy. Use for "go to definition", "where is this used?", "what does this class inherit?", and auto-complete. For references: uses the full scope-based Where-Used API returning detailed results with line numbers, snippets, and package info. Optional objectType filter narrows results to a specific ADT type in slash format (e.g., CLAS/OC, PROG/P). For hierarchy: returns superclass, implemented interfaces, and direct subclasses via SEOMETAREL. You can use type+name instead of uri (e.g., type="CLAS", name="ZCL_ORDER") for a where-used list without needing the full ADT URI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Navigation action | |
| uri | No | Source URI of the object. Optional for references if type+name are provided. | |
| type | No | Object type (PROG, CLAS, INTF, FUNC, etc.) — alternative to uri for references. | |
| name | No | Object name — alternative to uri for references. | |
| objectType | No | For references action: filter where-used results by ADT object type in slash format (e.g., PROG/P, CLAS/OC, FUNC/FM, INTF/OI). On systems supporting the scope endpoint, only returns references from objects of the specified type. On older systems, the filter is ignored and all references are returned with a note. | |
| line | No | Line number (1-based) | |
| column | No | Column number (1-based) | |
| source | No | Current source code (for definition/completion) |