Search ABAP repository
abap_searchSearch ABAP objects by name, find where-used references, trace call graphs, or scan source text across packages to locate code and dependencies.
Instructions
Find objects by name pattern (mode=objects, wildcards *), list consumers (mode=where_used; 20+ seconds on wide fan-in — narrow by type/query first), walk multiple levels of callers or callees (mode=call_graph, direction=callers|callees, depth<=4), or scan source text (mode=source; hits grouped per object, needs the fluid API and a package/objects scope).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Default 50 rows (mode=objects/where_used), 100 hits (mode=source), or 50 children per node (mode=call_graph); narrowing `query` (not lowering `max`) is what makes a broad call cheaper. | |
| mode | No | Default "objects". "source": raw source-text scan (literal/regex; needs the fluid API; also matches strings, comments and dead code — prefer "where_used" for real static references). "call_graph": multiple levels of callers or callees. | |
| type | No | ADT type filter (mode=objects/where_used/call_graph only). One of: BDEF CLAS DCLS DDLA DDLS DDLX DEVC DOMA DRUL DTEL ENHO ENHS ENQU FUGR INTF MSAG PROG SHLP SRVB SRVD TABL TRAN TTYP TYPE VIEW XSLT; or a full code, e.g. "CLAS/OC". | |
| user | No | inactive=true: list another user's inactive worklist instead of your own. | |
| depth | No | mode=call_graph: levels to expand. Default 2, max 4. | |
| query | No | Name pattern (mode=objects), target object (mode=where_used/call_graph), or literal/regex text (mode=source). Optional with inactive=true (then a name pattern filter, wildcards `*`). | |
| regex | No | mode=source: treat `query` as a PCRE pattern instead of literal text. | |
| types | No | mode=source: object types to scan. One of: PROG CLAS INTF FUGR DDLS. Default: all five. | |
| objects | No | mode=source: object-name pattern (wildcards `*`), e.g. "ZCL_MY_*". Alternative/addition to `packages`. | |
| inactive | No | mode=objects: list the INACTIVE objects (your own inactive worklist, per user in ADT) that belong to `packages` (required, max 5). Optional `query` (name pattern), `type` filter, `include_subpackages`, `user`. | |
| packages | No | mode=source: package scope (TADIR-DEVCLASS). Required unless `objects` is given. | |
| direction | No | mode=call_graph: "callers" (who calls this, default) or "callees" (what this calls). | |
| case_sensitive | No | mode=source: default false. | |
| include_comments | No | mode=source: also match inside comments (heuristic, line-local). Default false. | |
| include_subpackages | No | mode=source: also scan every package transitively under `packages` (TDEVC-PARENTCL). |