SAPNavigate
Navigate SAP ABAP code to locate definitions, references, completions, and hierarchies, then trace dependencies or package neighborhoods for impact analysis.
Instructions
Navigate code: definitions, references, completion, hierarchy. references: scope-based where-used with lines/snippets/package; 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 needs source URI, line, column and source; references also accepts 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) | |
| source | No | Current source for definition/completion | |
| 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. |