SAPNavigate
Navigate ABAP code with actions for definitions, references (where-used), code completion, and class hierarchy. Supports scope-based queries and ADT object filter.
Instructions
Navigate code: definitions, references (where-used), completion, class hierarchy. references uses the scope-based Where-Used API (line numbers, snippets, package); optional objectType filters by ADT slash type (e.g. CLAS/OC, PROG/P); pass type+name instead of uri. hierarchy returns superclass + interfaces + direct subclasses. For CDS (DDLS), prefer SAPContext(action="impact") — the same where-used pre-classified into RAP buckets, answering "what breaks if I change this view".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | Source URI of the object. Optional for references if type+name are provided. | |
| line | No | Line number (1-based) | |
| name | No | Object name — alternative to uri for references. | |
| type | No | Object type (PROG, CLAS, INTF, FUNC, etc.) — alternative to uri for references. | |
| action | Yes | Navigation action | |
| column | No | Column number (1-based) | |
| source | No | Current source code (for definition/completion) | |
| maxResults | No | references: max entries (default 100, max 1000). "total" counts every match of the filter. | |
| objectType | No | references: keep only results of this ADT type, slash format (CLAS/OC, PROG/P, FUGR/FF). A bare prefix ("CLAS") matches every subtype. |