SAPNavigate
Find ABAP definitions, references, completions, class hierarchies, and where-used dependency relations by object type, package, or URI.
Instructions
Navigate code: definitions, references, completion, hierarchy. references: where-used objects by default; detail=positions/snippets adds bounded native usages; objectType filters results (e.g. CLAS/OC, PROG/P); type+name replaces uri. hierarchy queries SEOMETAREL for superclass/interfaces/direct subclasses: requires data/SQL opt-in + matching scope; otherwise inspect class MAIN with SAPRead. CDS (DDLS) impact: SAPContext(action="impact") classifies where-used into RAP buckets. Experimental relations: dependency maps or package neighborhoods, then selected reads. Consumer locations: references; objectType="CLAS/OC" for class-only; otherwise omit. Active metadata, not source-call/runtime proof. Coverage unknown. type+name required, no uri/source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | Definition/completion: source URI with line, column, source. References: uri or type+name. | |
| line | No | Line (1-based integer) | |
| name | No | Object name — alternative to uri for references. | |
| type | No | Root object type, paired with name instead of uri (e.g. type="INTF"). Not the result-type filter. relations: CLAS, INTF, DDLS, DCLS, BDEF, SRVD, TABL, TTYP, DTEL, DOMA, PROG, INCL, FUGR, FUNC, VIEW, ENHO, MSAG, TRAN, SHLP, SKTD, ENHS, ENQU, TYPE, EVTB, DSFD. ENHO/XHB, ENHS/XSB only; TTYP=table type; MSAG=message class. | |
| depth | No | relations: native steps (default 1), not source-call hops. | |
| action | Yes | Navigation action | |
| column | No | Column (0-based integer) | |
| detail | No | references: objects (default), or expand at most 10 native nodes for positions/snippets. Method positions can be component-relative; inspect usageDetails limits. | |
| source | No | Current source for definition/completion | |
| packages | No | references: exact package names (e.g. ["$TMP"]); no wildcards or implicit subpackages. Native scope when available, otherwise local filtering. | |
| direction | No | relations: incoming=users; outgoing=dependencies (default). | |
| maxResults | No | references: max entries (default 100, max 1000). "total" counts every match of the filter. relations: node cap incl. root, 1–100 (default 50); may stop earlier. | |
| objectType | No | references RESULT filter, not the root type: CLAS/OC, PROG/P, FUGR/FF. Omit for all consumer types. A bare prefix ("CLAS") matches every subtype. | |
| expandPackages | No | relations: expand exact packages beyond root; others visible. Not authorization. |